Hello
Looking for a method or script that will force users to change there password in Azure AD at next logon
Hello
Looking for a method or script that will force users to change there password in Azure AD at next logon
Hi, we are investigating your issue and will update you shortly.
Best,
James
Hi @SkipHofmann-5788 , you can use the MS Graph to force password reset.
To force reset the password on next login, update the account password profile using MS Graph Update user operation. The following example updates the password profile forceChangePasswordNextSignIn attribute to true, which forces the user to reset the password on next login.
PATCH https://graph.microsoft.com/v1.0/users/<user-object-ID>
Content-type: application/json
{
"passwordProfile": {
"forceChangePasswordNextSignIn": true
}
Once the account password profile has been set, you must also configure force password reset flow, which is described here.
If this answer helped you, please mark it as "Verified" so other users may reference it. Please let me know if you have any questions.
Thank you,
James
27 people are following this question.
How to Treat an incorrect inputed date?
Azure AD : Need powershell script to fetch Azure AD User Sign-in date and time (Last logon)
Resetting the Krbtgt Account Password in a Domain - which PowerShell Script to Use?
Exporting all Users with specific licenses to CSV
Why when I upload an Api permission via Powershell to AzureAd I get only the Id?