在 Exchange Online 中建立組織關聯性Create an organization relationship in Exchange Online

設定組織關係,以與外部商務夥伴共用行事曆資訊。Office 365 系統管理員可以設定與另一個 Office 365 組織或 Exchange 內部部署組織的組織關係。Set up an organization relationship to share calendar information with an external business partner. Office 365 admins can set up an organization relationship with another Office 365 organization or with an Exchange on-premises organization.

開始之前有哪些須知?What do you need to know before you begin?

  • 預估完成時間:15 分鐘。Estimated time to complete: 15 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.

  • 如果您要與內部部署 Exchange 組織共用行事曆,則內部部署 Exchange 系統管理員都必須設定與雲端的驗證關係 (也稱為「同盟」),且必須符合最低軟體需求。If you want to share calendars with an on-premises Exchange organization, the on-premises Exchange administrator has to set up an authentication relationship with the cloud (also known as "federation") and must meet minimum software requirements.

使用 Exchange 系統管理中心建立組織關係Use the Exchange admin center to create an organization relationship

  1. 從 Office 365 系統管理中心儀表板,移至 [系統管理 > ExchangeFrom the Office 365 admin center dashboard, go to Admin > Exchange.

  2. 移至 [組織 > 共用Go to organization > sharing.

  3. [組織共用] 中,按一下 [新增新增圖示Under Organization Sharing, click New Add Icon.

  4. 新組織關聯性,在 [關係名稱] 方塊中輸入組織關係的易記名稱。In new organization relationship, in the Relationship name box, type a friendly name for the organization relationship.

  5. 在 [要共用的網域] 方塊中輸入外部 Office 365 或 Exchange 內部部署組織想要讓查看您的行事曆的網域。如果您需要輸入多個網域,請使用逗號分隔的網域名稱。例如,contoso.com、 service.contoso.com。In the Domains to share with box, type the domain for the external Office 365 or Exchange on-premises organization you want to let see your calendars. If you need to enter more than one domain, separate the domain names with a comma. For example, contoso.com, service.contoso.com.

  6. 選取 [啟用行事曆空閒/忙碌資訊共用] 核取方塊,以開啟與所列出網域共用行事曆的功能。設定行事曆空閒/忙碌資訊的共用層級,以及設定可共用行事曆空閒/忙碌資訊的使用者。Select the Enable calendar free/busy information sharing check box to turn on calendar sharing with the domains you listed. Set the sharing level for calendar free/busy information and set which users can share calendar free/busy information.

    若要設定空閒/忙碌存取層級,請選擇下列其中一項:To set the free/busy access level, select one of the following:

  • 僅行事曆空閒/忙碌的時間資訊Calendar free/busy information with time only

  • 行事曆空閒/忙碌的時間、主題與地點資訊Calendar free/busy with time, subject, and location

    若要設定哪些使用者將共用行事曆空閒/忙碌資訊,請選取下列其中一項:To set which users will share calendar free/busy information, select one of the following:

  • 組織中的所有人Everyone in your organization

  • 指定的安全性群組A specified security group

    按一下 [瀏覽挑選安全性群組從清單中,然後按一下 [確定]Click browse to pick the security group from a list, then click ok.

  1. 按一下 [儲存] 以建立組織關聯性。Click save to create the organization relationship.

使用 Exchange Online PowerShell 建立組織關聯性Use Exchange Online PowerShell to create an organization relationship

本範例會使用下列條件,建立與 Contoso, Ltd 的組織關係:This example creates an organization relationship with Contoso, Ltd with the following conditions:

  • 已設定與 contoso.com、northamerica.contoso.com 和 europe.contoso.com 的組織關係。An organization relationship is set up with contoso.com, northamerica.contoso.com, and europe.contoso.com.

  • 已啟用空閒/忙碌資訊存取。Free/busy access is enabled.

  • Contoso.com 和子網域會從組織取得空閒/忙碌時間、主旨和位置資訊。Contoso.com and the subdomains get free/busy time, subject, and location information from your organization.

New-OrganizationRelationship -Name "Contoso" -DomainNames "contoso.com","northamerica.contoso.com","europe.contoso.com" -FreeBusyAccessEnabled $true -FreeBusyAccessLevel LimitedDetails

如果您不確定 Contoso 已設定的雲端式驗證的網域,您可以執行此命令以自動尋找的組態資訊。Get-federationinformation指令程式來尋找正確的資訊會傳送到New-organizationrelationship指令程式。If you're not sure which domains Contoso has set up for cloud-based authentication, you can run this command to automatically find the configuration information. The Get-FederationInformation cmdlet is used to find the right information, which is then passed to the New-OrganizationRelationship cmdlet.

Get-FederationInformation -DomainName Contoso.com | New-OrganizationRelationship -Name "Contoso" -FreeBusyAccessEnabled $true -FreeBusyAccessLevel LimitedDetails

如需詳細的語法及參數資訊,請參閱 Get-FederationInformationNew-OrganizationRelationshipFor detailed syntax and parameter information, see Get-FederationInformation and New-OrganizationRelationship.

如果您要設定與內部部署 Exchange 組織的組織關係,則可能會想要提供連線設定。本範例會建立與 Fourth Coffee 的組織關係,以及指定要使用的連線設定。適用下列條件:If you're setting up an organization relationship with an on-premises Exchange organization, you may want to provide the connection settings. This example creates an organization relationship with Fourth Coffee and specifies the connection settings to use. The following conditions apply:

New-OrganizationRelationship -Name "Fourth Coffee" -DomainNames "fourthcoffee.com" -FreeBusyAccessEnabled $true -FreeBusyAccessLevel -AvailabilityOnly -TargetAutodiscoverEpr "https://mail.fourthcoffee.com/autodiscover/autodiscover.svc/wssecurity" -TargetApplicationUri "mail.fourthcoffee.com"

如需詳細的語法及參數資訊,請參閱 New-OrganizationRelationshipFor detailed syntax and parameter information, see New-OrganizationRelationship.

如何知道這是否正常運作?How do you know this worked?

成功完成 [新增組織關係] 精靈會指出已建立組織關聯性。The successful completion of the New organization relationship wizard indicates that the organization relationship was created.

您也可以執行下列命令來確認組織關係資訊:You can also run the following command to verify the organization relationship information:

Get-OrganizationRelationship | format-list

提示

有問題嗎?尋求 Exchange 論壇中的協助。請造訪Exchange OnlineExchange Online Protection論壇。Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Online or Exchange Online Protection.