During the sync process the Microsoft platform may return and error condition. If this occurs the Sync Now button will show Sync Failure and display in red.
Review the log and the following error conditions and their possible causes.
|Management object not found for identity|
|Cannot find specified Gateway|
Office 365 is not ready,
|Review this article:|
|Cannot modify the parameter: "EnterpriseVoiceEnabled" because it is restricted for the user service plan: MCOProfessional|
This means the Sync process sees the user has a Phone System licence in one of Microsoft's systems, but this has not been propagated to the Microsoft subsystem responsible for voice yet. "MCOEV" is the Phone System plan, and if this is not listed in the error message then the Skype for Business PowerShell server does not see it yet.
Cannot find specified Online PSTN usage "Call2Teams-XXX".
|This message can occur when the tenant is setup and there are no licences users to sync with the phone system. Licence some users and re-try.|
The issue also can be caused by the Microsoft platform not being updated in time for the check, in this case wait and try again later.
|PSERROR> Failed to start remote PowerShell -or-|
Unexpected PS Runspace is null
|Most likely cause is not being logged in as Global Admin when running sync.. Look into the logs further for messages like "No cmdlets have been authorized for use by the RBAC role that the user belongs to" to confirm this.|
Also at the top of the log the admin role will be detailed. If this reads something like "Connected as 'email@example.com' with roles: User Account Administrator" then this is clear that the logged-in user is not Company Administrator, which is the required role.
|Domain takeover failed|
The admin first logged in with the wrong global admin account (from another M365 tenant) and the Sync Now feature has created the same dns in the two different tenants.
Remove the Call2Teams dns from the wrong Microsoft tenant and then the sync will work
|The term 'Set-CsUser' is not recognized as the name of a cmdlet, function, script file, or operable program.||Most likely cause is not being logged in as Global Admin when running sync..|
Look into the logs, the admin role will be detailed near the top. If this reads something like "Connected as 'firstname.lastname@example.org' with roles: User Account Administrator" then this is clear that the logged-in user is not Company Administrator, which is the required role, In the Microsoft 365 admin center, ensure the 'Global Admin' role is assigned to the user running the sync.
|Cannot modify the parameter: "EnterpriseVoiceEnabled" because it is restricted for the user service plan: MCOEV_VIRTUALUSER,MCOProfessional||A Virtual Phone System licence is applied to a real user and the service cannot be configured.. Virtual Phone System licences can only be used on Auto Attendants (AAs) and Call Queues.|
Purchase or obtain trial licenses for a valid type to apply to the user (see relevant KB article for guidance on MS Licencing)