I am trying to reset passwords in Azure with the MS 365 HTTP request. My Azure App has the appropriate permissions (User.Read.Write.All and Password Administrator Role). We were able to previously reset the password with the same service account, but the powershell command is no longer supported.
I keep getting a 403 error when I make this API call, saying I don’t have the appropriate permissions. "{\"error\":{\"code\":\"Authorization_RequestDenied\",\"message\":\"Insufficient privileges to complete the operation.\",\....."
Thank you Anil. But I tried this and it was still giving me a 403 error. I used a powershell script to achieve the same goal and it worked through the app.
Could it be that the permissions for the connection pictured below, are the only permissions that can be delegated through the M365 integration Service connection?