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

Exchange Online
 

Applies to: Exchange Online

Topic Last Modified: 2016-04-29

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

  • 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.

  1. From the Office 365 admin center dashboard, go to Admin > Exchange.

  2. Go to organization > sharing.

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

  4. In sharing policy, click Edit Edit icon.

  5. In sharing rule, change the settings such as the domain you want to share information with and the sharing level for calendars. Click save to update the rule.

  6. In sharing policy, click save to update the sharing policy.

  1. From the Office 365 admin center dashboard, go to Admin > Exchange.

  2. Go to organization > sharing.

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

  4. In sharing policy, select the Make this policy my default sharing policy check box.

  5. Click save to update the sharing policy.

  1. From the Office 365 admin center dashboard, go to Admin > Exchange.

  2. Go to organization > sharing.

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

  4. In the On column, clear the check box for the sharing policy you want to disable.

ImportantImportant:
Before you remove a sharing policy, the sharing policy must be removed from all user mailboxes.
  1. From the Office 365 admin center dashboard, go to Admin > 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 yes to delete the 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.

 
Show: