enable password writeback in Ad connect

OKUNOWO OLUWASEGUN 21 Reputation points
2020-10-06T20:26:39.927+00:00

what permission is required to enable password writeback in Ad connect

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,431 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,367 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vicky Wang 2,731 Reputation points
    2020-10-08T07:13:54.71+00:00

    Azure AD Connect lets you synchronize users, groups, and credential between an on-premises AD DS environment and Azure AD. You typically install Azure AD Connect on a Windows Server 2012 or later computer that's joined to the on-premises AD DS domain.

    To correctly work with SSPR writeback, the account specified in Azure AD Connect must have the appropriate permissions and options set. If you're not sure which account is currently in use, open Azure AD Connect and select the View current configuration option. The account that you need to add permissions to is listed under Synchronized Directories. The following permissions and options must be set on the account:

    Reset password
    Write permissions on lockoutTime
    Write permissions on pwdLastSet
    Extended rights for "Unexpire Password" on the root object of each domain in that forest, if not already set.
    If you don't assign these permissions, writeback may appear to be configured correctly, but users encounter errors when they manage their on-premises passwords from the cloud. Permissions must be applied to This object and all descendant objects for "Unexpire Password" to appear.

    Tip

    If passwords for some user accounts aren't written back to the on-premises directory, make sure that inheritance isn't disabled for the account in the on-prem AD DS environment. Write permissions for passwords must be applied to descendant objects for the feature to work correctly.

    To set up the appropriate permissions for password writeback to occur, complete the following steps:

    In your on-premises AD DS environment, open Active Directory Users and Computers with an account that has the appropriate domain administrator permissions.

    From the View menu, make sure that Advanced features are turned on.

    In the left panel, right-select the object that represents the root of the domain and select Properties > Security > Advanced.

    From the Permissions tab, select Add.

    For Principal, select the account that permissions should be applied to (the account used by Azure AD Connect).

    In the Applies to drop-down list, select Descendant User objects.

    Under Permissions, select the box for the following option:

    Reset password
    Under Properties, select the boxes for the following options. Scroll through the list to find these options, which may already be set by default:

    Write lockoutTime
    Write pwdLastSet
    When ready, select Apply / OK to apply the changes and exit any open dialog boxes.

    When you update permissions, it might take up to an hour or more for these permissions to replicate to all the objects in your directory.

    Password policies in the on-premises AD DS environment may prevent password resets from being correctly processed. For password writeback to work most efficiently, the group policy for Minimum password age must be set to 0. This setting can be found under Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies within gpedit.msc.

    If you update the group policy, wait for the updated policy to replicate, or use the gpupdate /force command.

    2 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andy David - MVP 147.6K Reputation points MVP
    2020-10-06T20:29:35+00:00
    3 people found this answer helpful.
    0 comments No comments

  2. Vicky Wang 2,731 Reputation points
    2020-10-12T08:28:24.903+00:00

    Hi,
     
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
     
    Best Regards,
    Vicky

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.