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

您想执行什么操作?What do you want to do?

使用 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 NewAdd 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.

  7. 单击保存以创建组织关系。Click save to create the organization relationship.

使用 Exchange 命令行管理程序 创建组织关系Use the Exchange Management Shell 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 cmdlet 查找正确的信息,然后传递给New-organizationrelationship cmdlet。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.

您还可以运行以下 Exchange 命令行管理程序 命令验证组织关系信息:You can also run the following Exchange Management Shell command to verify the organization relationship information:

Get-OrganizationRelationship | format-list

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.