Microsoft Entra ID
Troubleshooting

Microsoft Entra Cloud Sync troubleshooting

In brief

The troubleshooting article no longer documents the Repair-AADCloudSyncToolsAccount cmdlet or its usage steps.

What Entra admins need to know

Administrators should not rely on this obsolete cmdlet when troubleshooting cloud sync.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Cloud sync troubleshooting

If you run the first query again, you should see that the service principal has been restored in your tenant. After this, it may take up to 24 hours for the authorization errors to go away completely and for synchronization to resume as normal. If the errors persist beyond that point, reach out to support for further assistance.

Repair the cloud sync service account

If you need to repair the cloud sync service account, you can use the Repair-AADCloudSyncToolsAccount command.

  1. Install the AADCloudSyncTools PowerShell module.

  2. From a PowerShell session with administrative privileges, type, or copy and paste, the following:

    Connect-AADCloudSyncTools
    
  3. Enter your Microsoft Entra Global Administrator credentials.

  4. Type, or copy and paste, the following:

    Repair-AADCloudSyncToolsAccount
    
  5. After this completes, it should say that the account was repaired successfully.

Password writeback

To enable and use password writeback with cloud sync, keep the following in mind:

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…