修改、 停用或移除 Exchange Online 中的共用原則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.

如需如何建立共用原則的詳細資訊,請參閱在 Exchange Online 建立共用原則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?

  • 每項程序的預估完成時間:5 分鐘。Estimated time to complete each procedure: 5 minutes.

  • 您必須已獲指派權限,才能執行此程序或這些程序。若要查看您需要的權限,請參閱 Exchange Online 中的權限主題。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.

您要執行的工作What do you want to do?

使用 Exchange 系統管理中心來變更共用原則Use the Exchange admin center to change a sharing policy

  1. 從 Office 365 系統管理中心儀表板,移至 [系統管理 > ExchangeFrom 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 EditEdit icon.

  4. 在 [共用原則] 中,按一下 [編輯編輯圖示In sharing policy, click EditEdit 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.

使用 Exchange 系統管理中心將一項共用原則設為預設的共用原則Use the Exchange admin center to set a sharing policy as the default sharing policy

  1. 從 Office 365 系統管理中心儀表板,移至 [系統管理 > ExchangeFrom 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 EditEdit icon.

  4. 在 [共用原則] 中,選取 [將此原則設為預設共用原則] 核取方塊。In sharing policy, select the Make this policy my default sharing policy check box.

  5. 按一下 [儲存] 以更新共用原則。Click save to update the sharing policy.

使用 Exchange 系統管理中心來停用共用原則Use the Exchange admin center to disable a sharing policy

  1. 從 Office 365 系統管理中心儀表板,移至 [系統管理 > ExchangeFrom 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.

使用 Exchange 系統管理中心來移除共用原則Use the Exchange admin center to remove a sharing policy

重要

在移除共用原則之前,必須先移除所有使用者信箱中的共用原則。Before you remove a sharing policy, the sharing policy must be removed from all user mailboxes.

  1. 從 Office 365 系統管理中心儀表板,移至 [系統管理 > ExchangeFrom 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 DeleteDelete icon.

  4. 在警告中,按一下 [是] 以刪除共用原則]。In the warning, click yes to delete the sharing policy.

使用 Exchange 管理命令介面修改、 停用或移除共用原則Use the Exchange Management Shell to modify, disable or remove a sharing policy

  • 此範例會修改共用原則 Contoso。此原則可讓 Contoso 網域的使用者看見簡單的空閒/忙碌資訊。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'
    
  • 本範例將第二個網域新增至共用原則 Contoso。當您要將某網域新增至現有的原則時,必須包括先前所有已包含的網域。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'
    
  • 此範例會將共用原則 Contoso 設定為預設的共用原則。This example sets the sharing policy Contoso as the default sharing policy.

    Set-SharingPolicy -Identity Contoso -Default $True
    
  • 此範例會停用共用原則 Contoso。This example disables the sharing policy Contoso.

    Set-SharingPolicy -Identity "Contoso" -Enabled $False
    
  • 第一個範例會移除共用原則 Contoso。第二個範例會移除共用原則 Contoso,並抑制您想移除原則的確認。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
    

如需詳細的語法及參數資訊,請參閱 Set-SharingPolicyRemove-SharingPolicyFor detailed syntax and parameter information, see Set-SharingPolicy and Remove-SharingPolicy.