When an onpremis user in your environment cannot change his password and you see in the SSPR audit logs OnPremisesAdminActionRequired or ADAdminActionRequired as failure
Open the EventViewer in the AAD Connect server, you will see an error of the event with ID 33008; “hr=80230626, message=The password could not be updated because the management agent credentials were denied access” on source PasswordResetService. In this post I will explain three possible solutions for this error. I face this error many times, and is always regarding 1 of this solution.
Possible solution 1:
Obtain the AD DS connector account and check the permissions of this account in AD, by following this steps:
- Open the object that face the SSPR issue in AD
- Go to the security tab and click Advanced
- Check if inheritance permissions is turned on
- Go to the Effective Access tab and choose Select a user
- Select the AD DS Connector account and click on View effective access
- Scroll down and look for Reset password, If the entry has a check mark, the AD DS account has permission to reset the password of the selected Active Directory user account.
If the AD DS connector don’t have the permission the reset the password, then follow this steps:
- Open AD Connect
- Select option 4 – Configure AD DS Connector Account Permissions
- Select option 12 – Set default AD Connector account permissions
- You can also select option 8 – Set password writeback permissions
When the AD DS connector account has the reset permissions on the object, do a full sync and try again.
Possible solution 2:
- Check if an infected account has a value on the adminCount attribute in Active Directory.
- Check if an infected account has ‘password never expires’ or ‘user cannot change password’ configured.
Possible solution 3:
Check if there is a GPO or local GPO on the domain controller with the setting: Network access: Restrict clients allowed to make remote calls to SAM
You could first check if the domain controller has the regkey RestrictRemoteSam configured in HLM\System\CurrentControlSet\Control\Lsa\RestrictRemoteSam if yes, follow the following steps:
- Navigate to the policy Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options >> “Network access: Restrict clients allowed to make remote calls to SAM”.
- Select “Edit Security” to configure the “Security descriptor:”
- Add the AD DS connector account
- Select “Allow” for “Remote Access” in “Permissions for “Administrators”
- Apply, reboot is not required
- Do this on all domain controllers
Wait 5 minutes and SSPR will functioning again.
Cloud only users
If you get the same error on a cloud only user, that is because Password Writeback is enabled and the source will go to AD instead of AAD.