Looking for a Graph call to trigger the “Reset Password” function on O365 Admin. As well as check marking “Email the sign-in info to me”, so that I receive the password. I tried to look around, but can’t seem to find a solution.
Currently using this to reset password but I want to see if the above ask is possible.
PASSWORD=$(openssl rand -base64 12)
"passwordProfile": {
"forceChangePasswordNextSignIn": true,
"password": "'"$PASSWORD"'"