That's pretty much the same as with admin-initiated password changes, and is not supported. Read here: https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-writeback#unsupported-writeback-operations
Graph API ChangePassword methods doesn't trigger Password Writeback Azure AD Connect.
I'm using the .Net Microsoft Graph SDK. When users want to reset their password I call the following method:
The change is successful and user can sign in with their new password.
Only the new password doesn't work on-premise. After some research I found that the Password Writeback service is not triggered.
When users change their password trough the Office 365 portal it works just fine.
It this by design or should the password writeback be triggered when using the Graph API ChangePassword method?
Sign in to comment
1 additional answer
Sort by: Most helpful
Hello anonymous user ,
Password Write-back to on-premise from azure is done via Azure AD connect . It also requires Azure AD premium license to be associated for the user on the tenant. While configuring the Azure AD connect the Azure AD Administrator in your organisation can enable Password writeback to the on-premise domain if they have Azure AD premium license associated with the azure AD tenant. The password writeback is an internal operation and not exposed through any API. Azure AD connect runs a thread for password writeback and it automatically updates from azure whenever a password is changed. The service is polled every 2 minutes or so to get any changes in password. You will not be able to get this done programmatically through Graph API as of now. The password writeback must be triggered on Azure Side and then the Azure AD connect will poll that change.
Hope this clarifies your queries. In case the information provided in any of the posts helps you , please do mark it as answer so that its helpful for other members of the community. If you have any residual queries , please let us know and we will be happy to help .