This Article describes a situation when you are unable to Synchronize the Schemus synchronization tool with Exchange online. Error received - connection failed: WAM error
Email Security.cloud
This is likely due to changes introduced by Microsoft into the Exchange Online PowerShell module from version 3.7.0 which now uses Web Account Manager (WAM) during authentication. With WAM, amongst other issues, authentication fails when connecting to Exchange Online using credentials that differ from those used to login to Windows.
How to Synchronize Microsoft ENTRA ID using Schemus tool : https://knowledge.broadcom.com/external/article?articleNumber=426035