已经详尽地寻找解决方案,我希望获得一些指导。
我希望更新在本地广告中填充的用户管理器属性,但据我所知,azure / 365不会复制此属性。
因此,我将不得不使用以下代码手动更改它们;
Set-AzureADUserManager -ObjectId "usersid" -RefObjectId "managersid"
一旦我运行它,它将失败,并出现以下错误;
Code: Request_BadRequest
Message: Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration.
RequestId:
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-AzureADUserManager],ApiException
+ FullyQualifiedErrorId : microsoft.Open.AzureAD16.Client.ApiException,microsoft.Open.AzureAD16.PowerShell.SetUserManager
我不确定这是什么问题,因为用户管理器已与Windows广告作为源同步地进行了天蓝色同步。
谢谢。