Error when you run the Azure AD Connect wizard: Unable to configure password writeback

This article describes an issue in which an error message appears when you run the Azure AD Connect wizard to set up password writeback.

Original product version:   Azure Active Directory
Original KB number:   3185990


When you run the Azure AD Connect wizard, you receive the following error message during configuration of password writeback:

Unable to configure password writeback. Ensure you have the required license.


This issue occurs if one or both of the following conditions are true:

  • The administrator account that's used to set up Azure AD Connect does not have the appropriate license.
  • The time on the server on which Azure AD Connect is installed is out of sync.


Make sure that you use the correct administrator account

Make sure that the administrator account that you use to enable password writeback is a cloud administrator account (created in Azure AD) and not a federated account (created in the on-premises Active Directory and synchronized to Azure AD). Also, make sure that the account has the appropriate Azure AD subscription license.

Make sure that the time isn't skewed

On the authoritative time server, perform the steps in the Configuring the Windows Time service to use an external time source section of How to configure an authoritative time server in Windows Server

Make sure that the time on the server on which Azure AD Connect is installed matches the time on the authoritative time server.

More information

If the issue you're experiencing is a scenario in which there's a large time difference between your local environment and Microsoft cloud services,

you may see the following entries in the Azure AD Connect sync logs. The logs are located in the %appdata%\Local\AADConnect folder.

Error <Date> <Time> ADSync 6306 Server "The server encountered an unexpected error while performing an operation for the client.

Error <Date> <Time> ADSync 6800 MA Extension "The password management extension encountered an error.
 The stack trace is:
 ""Couldn't connect to any service bus endpoint(s)

Error <Date> <Time> PasswordResetService 32001 None TrackingId: 3f369fe9-c121-4450-8661-82b095bdbf0a,
Couldn't connect to any service bus endpoint(s), Details:

Error <Date> <Time> PasswordResetService 31044 None TrackingId: 3f369fe9-c121-4450-8661-82b095bdbf0a,
Password writeback service is not in a healthy state. No serviceHost for service bus endpoints are in
running state. Please refer, Details: Version:

Still need help? Go to Microsoft Community.