Modify, disable, or remove a sharing policy in Exchange Online

Sharing policies control how your users share their calendars with people outside your organization. You may want to change some sharing policy properties, such as changing sharing rules, changing the free/busy access level, temporarily disabling a sharing policy, or removing a sharing policy entirely.

For details about how to create a sharing policy, see Create a sharing policy in Exchange Online

What do you need to know before you begin?

  • Estimated time to complete each procedure: 5 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the Permissions in Exchange Online topic.

Use the Exchange admin center to change a sharing policy

  1. From the Microsoft 365 admin center dashboard, click Exchange.

  2. Go to Organization > Individual sharing.

  3. Under Individual Sharing, select a sharing a policy, and click anywhere in the row other than the button option that appears in the blank area next to the Display name column.

  4. In the Sharing policy flyout that opens, click Manage domains.

  5. In the Manage sharing rules details pane, click Domains check box and click Edit Edit icon. to change the settings such as the domain you want to share information with and specify information level for calendars. Click Save to update the rule.

  6. In Manage sharing rules, click Save to update the sharing policy.

Use the Exchange admin center to set a sharing policy as the default sharing policy

  1. From the Microsoft 365 admin center dashboard, go to Exchange.

  2. Go to Organization > Sharing.

  3. Under Individual sharing, select a sharing a policy, and click anywhere in the row other than the button option that appears in the blank area next to the Display name column.

  4. In the Sharing policy details pane, click Manage policy name and select Default Sharing Policy.

  5. Click Save changes to update the sharing policy.

Use the Exchange admin center to disable a sharing policy

  1. From the Microsoft 365 admin center dashboard, go to Exchange.

  2. Go to Organization > Sharing.

  3. Under Individual Sharing, select a sharing a policy.

  4. In the Manage sharing rules, clear the check box for the sharing policy you want to disable.

Use the Exchange admin center to remove a sharing policy

Important

Before you remove a sharing policy, the sharing policy must be removed from all user mailboxes.

  1. From the Microsoft 365 admin center dashboard, click Exchange.

  2. Go to Organization > Sharing.

  3. Under Individual Sharing, select a sharing a policy, and then click Delete Delete icon..

  4. In the warning, click Confirm to delete the sharing policy.

Use Exchange Online PowerShell to modify, disable or remove a sharing policy

  • This example modifies the sharing policy Contoso. This policy allows users in the Contoso domain to see simple free/busy information.

    Set-SharingPolicy -Identity Contoso -Domains 'sales.contoso.com: CalendarSharingFreeBusySimple'
    
  • This example adds a second domain to the sharing policy Contoso. When you're adding a domain to an existing policy, you must include any previously included domains.

    Set-SharingPolicy -Identity Contoso -Domains 'contoso.com: CalendarSharingFreeBusySimple', 'atlanta.contoso.com: CalendarSharingFreeBusyReviewer', 'beijing.contoso.com: CalendarSharingFreeBusyReviewer'
    
  • This example sets the sharing policy Contoso as the default sharing policy.

    Set-SharingPolicy -Identity Contoso -Default $True
    
  • This example disables the sharing policy Contoso.

    Set-SharingPolicy -Identity "Contoso" -Enabled $False
    
  • The first example removes the sharing policy Contoso. The second example removes the sharing policy Contoso and suppresses the confirmation that you want to remove the policy.

    Remove-SharingPolicy -Identity Contoso
    
    Remove-SharingPolicy -Identity Contoso -Confirm
    
    

For detailed syntax and parameter information, see Set-SharingPolicy and Remove-SharingPolicy.