O365邮箱和On-Prem邮箱日历委派问题
1.将onprem exchange的默认组织共享策略,开放日历详情;
2.在onpre exchange2016上执行一下命令。(exchange2010无此命令)
Set-OrganizationConfig -ACLableSyncedObjectEnabled $true
3.修改365邮箱的AD属性msExchRecipientDisplayType。命令如下;该命令是针对所有365邮箱账户的。在本地执行命令;
Get-RemoteMailbox -ResultSize unlimited | ForEach {Get-AdUser -Identity $_.Guid | Set-ADObject -Replace @{msExchRecipientDisplayType=-1073741818}}
或ad中执行一下命令
Get-ADUser -Filter * -Properties msExchRecipientDisplayType | where {$_.msExchRecipientDisplayType -eq -2147483642} | Set-ADUser -Replace @{msExchRecipientDisplayType = -1073741818}
4.该命令执行成功后,需等待outlook通讯录更新后,才能使用。
注:在步骤3命令执行后,如有从exchange2010新迁移到365的,迁移完成后必须对此新迁移的365账户执行步骤3操作;在步骤3命令执行后,如有从exchange2016迁移到365的,不需要对此迁移账户做任何操作。
https://docs.microsoft.com/zh-cn/exchange/hybrid-deployment/set-up-delegated-mailbox-permissions
http://www.expta.com/2018/04/cross-premises-mailbox-delegation-in.html