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

設定組織關係,可與外部企業合作夥伴共用行事曆資訊。Set up an organization relationship to share calendar information with an external business partner. Office 365 系統管理員可設定與其他 Office 365 組織或 Exchange 內部部署組織之間的組織關係。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. 從 Microsoft 365 系統管理中心儀表板,移至系統 > ExchangeFrom the Microsoft 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 內部部署組織想要讓其查看您的行事曆。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. 例如,contoso.com, service.contoso.com。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 已設定為雲端式驗證的網域,您可以執行此命令來自動尋找組態資訊。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. Get-federationinformation cmdlet 用來尋找正確的資訊,然後傳遞給New-organizationrelationship cmdlet。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 組織的組織關聯性,您可能想要提供連線設定。If you're setting up an organization relationship with an on-premises Exchange organization, you may want to provide the connection settings. 本範例會建立與 Fourth Coffee 的組織關係,並指定要使用的連線設定。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

提示

有問題嗎?Having problems? 在 Exchange 論壇中尋求協助。Ask for help in the Exchange forums. 此論壇的網址為: Exchange OnlineExchange Online ProtectionVisit the forums at Exchange Online or Exchange Online Protection.