Additional Microsoft Entra services and features related to identity, access, and network security
Dear @John Chapman
I’ve seen this before, and even though the error says InvalidCredentials, it doesn’t necessarily mean that the username or password is incorrect.
With Cloud Sync, this error can also occur when the agent cannot authenticate properly against the source Active Directory.
I’d start by checking which account is being used for the AD connection and whether that account has the required permissions. Also make sure the account isn’t being affected by authentication policies such as MFA or Conditional Access, as these can interfere with the authentication flow.
If the credentials and permissions look correct, I’d also check the Microsoft Entra Cloud Sync agent logs on the server, as they usually provide more detail about where the authentication is failing.
If you can share the exact error from the agent logs (with any sensitive information removed), it would be easier to narrow down what is actually causing the InvalidCredentials error.
If this answers your query, please click Accept Answer and Upvote if you found it helpful. If you have any further questions, feel free to let us know.