Microsoft Graph API - Update password - Insufficient privileges to complete the operation

前端 未结 2 1948
梦如初夏
梦如初夏 2021-01-06 17:00

I am trying to update a user via Microsoft Graph API, I am able to update the DisplayName but the PasswordProfile I get an error:

I         


        
2条回答
  •  日久生厌
    2021-01-06 17:35

    An easy solution we found out is to add the application principal to the "Helpdesk administrator" role.

    1. Go to Azure Active Directory
    2. On the left click on Roles and administrators
    3. Search for the Helpdesk administrator role and click on it

    1. Click on Add assignments and paste your application object id
    2. Wait 5 minutes or so for azure to take the changes into account

提交回复
热议问题