Hi WAAD Experts,
we have on boarded to WAAD as a 1st party and we have developed amulti-tenant application for user and license management.
we have many customers who have synced their On Premise AD with WAAD, Currently we are facing issue when we try to assign license/ update any properties of user object.
Below is the Exception details we get from WAAD -
Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration.
Request_BadRequest => Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration.
System.Data.Services.Client.DataServiceRequestException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: {"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration."},"values":null}}
--- End of inner exception stack trace ---
at System.Data.Services.Client.SaveResult.HandleResponse()
at System.Data.Services.Client.BaseSaveResult.EndRequest()
at System.Data.Services.Client.DataServiceContext.EndSaveChanges(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ActiveDirectory.GraphClient.Extensions.DataServiceContextWrapper.<SaveChangesAsync>d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Learning.LexSeat.WebApi.AD.Models.LexSeatRepository.<UpdateUser>d__a7.MoveNext()
Inner Exception =>System.Data.Services.Client.DataServiceClientException: {"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration."},"values":null}}
How to handle these kind of issues?
Please advise.
Thanks,
Ritesh