Domain rewrite stuck on specific user with error: "Unable to prepare <user>, a cloud source and/or on-premises target environment could not be found in Directory Sync" (4373788)
Domain rewrite stuck on specific user with error: "Unable to prepare , a cloud source and/or on-premises target environment could not be found in Directory Sync"
说明
Domain rewrite stuck enabling on specific user with error: "Unable to prepare <user>, a cloud source and/or on-premises target environment could not be found in Directory Sync and is required to enable rewrite on a matched on-premises mailbox [UserMigrationId #<id>]"
解决办法
User is hybrid, there's on-prem dirsync agent installed and local AD is linked to the cloud tenant. To resolve the issue: * Disable Directory Sync * Change user to cloud only * Run Domain Rewrite discovery * Enable Domain Rewrite * Change user back to hybrid * Enable Dir Sync