- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
10-24-2023 11:54 AM
Anyone familiar with MS Graph User integration and using it to expire a password for a user, much like Active Directory Query V2 "!ad-expire-password"?
It appears the method with PowerShell is using Connect-AzureAD and updating the passwordProfile attribute. But haven't had a successful test with !msgraph-user-update when trying to update that attribute.
"passwordProfile": { "password": null, "forceChangePasswordNextSignIn": true, "forceChangePasswordNextSignInWithMfa": false }
10-27-2023 10:38 AM
Didn't see this as an option in the Azure Active Directory Users integration. This is the solution:
!msgraph-user-change-password force_change_password_next_sign_in=
10-24-2023 01:56 PM
Something like....
!msgraph-user-update user="jane.doe@domain.com" updated_fields=`PasswordProfile=@{'forceChangePasswordNextSignIn'=$true}`
But this fails due to the extra equals sign I believe:
Reason
10-27-2023 10:38 AM
Didn't see this as an option in the Azure Active Directory Users integration. This is the solution:
!msgraph-user-change-password force_change_password_next_sign_in=
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!