Is this issue is still not resolved?
Reset Password Graph API route always requires user to change password on first login
We have created an account for reseting password with Authentication Admin role for it.
We are able to reset user's password with success everytime whe try to reset without the "requireChangeOnNextSignIn" flag, but if we try using it with 'false' value, we get an error telling about the flag being not available.
Also, if we try to pass the same parameter with 'true' value, it gets accepted. But this is the same behavior as not sending the parameter and it is not useful to our project development.
Does anyone have any clue about this?
We are following this documentation: https://learn.microsoft.com/en-us/graph/api/authenticationmethod-resetpassword, using V1.0 route.
2 answers
Sort by: Most helpful
-
-
JamesTran-MSFT 36,631 Reputation points Microsoft Employee
2022-09-12T21:07:39.63+00:00 @Luiz Thomaz
Thank you for your post!When using the authenticationMethod: resetPassword Graph REST API, I ran into the same issue. When passing the
requireChangeOnNextSignIn
parameter in the request body and setting it tofalse
, I ran into a Forbidden error, even though not passing the parameter would essentially be the same as setting it to false.I've reached out to my team and our engineering team to see if they can look into this and share any insights.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.