Please assign the user to any role that contains the microsoft.directory/users/password/update permission (EG: Password administrator) and try again. This will allow to update the mobilePhone number of non-admin users or users assigned to one of the following roles: Directory Readers, Guest Inviter, Message Center Reader, and Reports Reader. Admin users mobilePhone number can only be updated by themselves.
Unable to update user using MS Graph API
Nhat Le
1
Reputation point
I am working on a project to update mobilePhone number for all employee in the company.
I follow this documentation to update user object https://video2.skills-academy.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http
I added all required Delegated Permissions with Admin Consent. However, the API responses an error message: "Insufficient privileges to complete the operation"
Could you please help me out? Thank you.
1 answer
Sort by: Most helpful
-
Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,461 Reputation points
2020-08-04T20:54:17.277+00:00