P365: Teams Sync Errors "Resource '' does not exist or one of its queried reference-property objects are not present"
说明
Error occurred while executing Add-TeamUser Code: Request_ResourceNotFound
"Error occurred while executing Add-TeamUser Code: Request_ResourceNotFound Message: Resource '<value>' does not exist or one of its queried reference-property objects are not present. InnerError:
HttpStatusCode: Request_ResourceNotFound " "System.Management.Automation.CmdletInvocationException: Error occurred while executing Add-TeamUser Code: Request_ResourceNotFound Message: Resource '<value>' does not exist or one of its queried reference-property objects are not present. InnerError:
HttpStatusCode: Request_ResourceNotFound
at Microsoft.TeamsCmdlets.PowerShell.Custom.AddTeamUser.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection
原因
Issue related to workflows, and too different actions being performed at one time
解决办法
Add additional agents to other Domain Controllers (DC) or run one workflow action at a time (Match, Prepare, Sync, etc)
Contact Product Support if you continue to experiencing issues