Share via

Active Directory password reset

Abdulsalam 0 Reputation points
2026-05-25T13:01:59.71+00:00

We are facing an issue with resetting user passwords via Microsoft Graph API in a hybrid identity environment (Entra ID + on‑premises Active Directory).

Problem Description

When a user’s password is reset using Microsoft Graph API, the password is successfully updated in Entra ID. However, the password is not written back to on‑premises Active Directory, as the user is still able to authenticate using the old password against on‑prem resources.

In contrast, when the same user performs a password reset through Self‑Service Password Reset (SSPR), the password is correctly updated in both Entra ID and on‑prem AD, which confirms that password writeback is enabled and functioning.

Then tried below api

  • Admin‑initiated Graph API: POST /users/{id}/authentication/methods/{passwordMethodId}/resetPassword

But it popup below error

Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access

Note : I created new service user and provide required role as well.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

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