修改 Exchange Online 中的组织关系Modify an organization relationship in Exchange Online

组织关系可让 Office 365 组织中的用户与其他 Office 365 或本地 Exchange 组织共享日历忙/闲信息。您可能希望更改某个组织关系的设置,例如更改名称、临时禁用日历共享、更改访问级别或更改将共享日历的安全组。An organization relationship lets users in your Office 365 organization share calendar free/busy information with other Office 365 or on-premises Exchange organizations. You may want to change the settings of an organization relationship, such as changing the name, temporarily disabling calendar sharing, changing the access level, or changing which security groups will share calendars.

若要了解有关组织关系的详细信息,请参阅Exchange Online 中的组织关系To learn more about organization relationships, see Organization relationships in Exchange Online.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:15 分钟。Estimated time to complete: 15 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Permissions in 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.

  • 本主题中的步骤将对名为 Contoso 的组织关系作出更改。示例演示如何:The procedures in this topic make changes to an organization relationship named Contoso. The examples show how to:

    • 将名为 service.contoso.com 的域添加到组织关系。Add a domain named service.contoso.com to the organization relationship.

    • 禁用组织关系的忙/闲共享。Disable free/busy sharing for the organization relationship.

    • 从_包含时间、 主题和位置的日历忙/闲信息_的忙/闲访问级别更改为_仅包含时间的日历忙/闲信息_。Change the free/busy access level from Calendar free/busy information with time, subject, and location to Calendar free/busy information with time only.

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

使用 Exchange 管理中心将域添加到组织关系Use the Exchange admin center to add a domain to an organization relationship

  1. 从 Office 365 管理中心转到管理 > ExchangeFrom the Office 365 admin center go to Admin > Exchange.

  2. 转到组织 > 共享Go to organization > sharing.

  3. 在列表视图中的组织共享下,选择组织关系 Contoso,,然后单击编辑编辑图标In list view, under Organization Sharing, select the organization relationship Contoso, and then click EditEdit icon.

  4. 组织关系中,常规不更改组织关系的名称In organization relationship, general don't change the Name for the organization relationship.

  5. 要与共享域框中,输入域 service.contoso.com,然后单击添加添加图标In the Domains to share with box, enter the domain service.contoso.com, then click AddAdd Icon.

  6. 单击保存更新组织关系。Click save to update the organization relationship.

使用 Exchange 管理中心禁用组织关系的忙/闲共享Use the Exchange admin center to disable free/busy sharing for the organization relationship

  1. 从 Office 365 管理中心转到管理 > ExchangeFrom the Office 365 admin center go to Admin > Exchange.

  2. 转到组织 > 共享Go to organization > sharing.

  3. 在列表视图中,在组织共享下选择组织关系 Contoso,,然后单击编辑编辑图标In the list view, under Organization Sharing, select the organization relationship Contoso, and then click EditEdit icon.

  4. 组织关系中单击共享In organization relationship click sharing.

  5. 清除启用日历忙/闲信息共享复选框以禁用忙/闲共享。忙/闲访问级别和安全组按钮也将被禁用。Clear the Enable calendar free/busy information sharing check box to disable free/busy sharing. The free/busy access level and security group buttons will also be disabled.

  6. 单击保存更新组织关系。Click save to update the organization relationship.

使用 Exchange 管理中心更改组织关系的忙/闲访问级别Use the Exchange admin center to change the free/busy access level for the organization relationship

  1. 从 Office 365 管理中心转到管理 > ExchangeFrom the Office 365 admin center go to Admin > Exchange.

  2. 转到组织 > 共享Go to organization > sharing.

  3. 在列表视图中的组织共享下,选择组织关系 Contoso,,然后单击编辑编辑图标In list view, under Organization Sharing, select the organization relationship Contoso, and then click EditEdit icon.

  4. 中 * * 组织关系 * ,单击共享In ** organization relationship **, click **sharing*

  5. 选择仅包含时间的日历忙/闲信息Select Calendar free/busy information with time only.

  6. 单击保存更新组织关系。Click save to update the organization relationship.

使用 Exchange 命令行管理程序修改组织关系Use the Exchange Management Shell to modify the organization relationship

  • 此示例将域名 service.contoso.com 添加到组织关系 Contoso。This example adds the domain name service.contoso.com to the organization relationship Contoso.

    $domains = (Get-OrganizationRelationship Contoso).DomainNames
    $domains += 'service.contoso.com'
    Set-OrganizationRelationship -Identity Contoso -DomainNames $domains
    
  • 此示例将禁用组织关系 Contoso。This example disables the organization relationship Contoso.

    Set-OrganizationRelationship -Identity Contoso -Enabled $false
    
  • 此示例将启用组织关系 WoodgroveBank 的日历可用性信息访问,并设置的访问级别为AvailabilityOnly(日历忙/闲信息仅与时间)。This example enables calendar availability information access for the organization relationship WoodgroveBank and sets the access level to AvailabilityOnly (calendar free/busy information with time only).

    Set-OrganizationRelationship -Identity Contoso -FreeBusyAccessEnabled $true -FreeBusyAccessLevel AvailabilityOnly
    

有关语法和参数的详细信息,请参阅 Get-OrganizationRelationshipSet-OrganizationRelationshipFor detailed syntax and parameter information, see Get-OrganizationRelationship and Set-OrganizationRelationship.

您如何知道这有效?How do you know this worked?

若要验证您已成功更新了组织关系,请运行以下 Exchange 命令行管理程序命令,并验证组织关系的信息。To verify that you have successfully updated the organization relationship, run the following Exchange Management Shell command and verify the organization relationship information.

Get-OrganizationRelationship | format-list

提示

有问题?寻求帮助 Exchange 论坛。访问在Exchange ServerExchange OnlineExchange Online Protection论坛。Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.