> For the complete documentation index, see [llms.txt](https://docs.tminus365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tminus365.com/security/exchange/calendar-and-contact-sharing-shall-be-restricted.md).

# Calendar and Contact Sharing SHALL Be Restricted

## Description

Exchange Online allows the creation of sharing polices that ease default restrictions on contact and calendar details sharing. These policies should only be enabled with caution and must comply with the following policies.

## Policy

* Contact folders SHALL NOT be shared with all domains, although they MAY be shared with specific domains.
* Calendar details SHALL NOT be shared with all domains, although they MAY be shared with specific domains

## Licensing Considerations

This setting can be configured in any Microsoft tenant.

## Set Up Instructions

[Sharing policies in Exchange Online | Microsoft Learn](https://learn.microsoft.com/en-us/exchange/sharing/sharing-policies/sharing-policies)

[Sharing in Exchange Online | Microsoft Learn](https://learn.microsoft.com/en-us/exchange/sharing/sharing)

To restrict sharing with all domains:

1. Sign in to the Exchange admin center.
2. Under Organization, select Sharing.
3. Under Individual Sharing, for all existing policies, ensure that for all sharing rules, Sharing with all domains is not selected.

## End-User Impact

{% hint style="info" %}
Level: <mark style="color:green;">Low</mark>
{% endhint %}

With this setting in place, users will not be able to share calendar or contacts to any external domains unless they are whitelisted. A formal request process should be put into place and evaluated when a user needs to share their calendar details.

{% hint style="info" %}
Tips

None Currently
{% endhint %}

## PowerShell Scripts

Free/Busy Sharing Settings: <https://github.com/msp4msps/Security/blob/master/Free_Busy%20Calendar%20Settings-Single%20Tenant.ps1>

Free/Busy Sharing Settings (Multi-Tenant): <https://github.com/msp4msps/Security/blob/master/Free_Busy%20Calendar%20Settings%20Multitenant.ps1>

## Videos

None Currently


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tminus365.com/security/exchange/calendar-and-contact-sharing-shall-be-restricted.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
