I\'m trying to update user profile via Microsoft Graph API by a server side (Java) application without user consent. I have an app in MS Azure which has the following \"
Microsoft Graph has currently some limitations on operations at Users and Groups depending on the permission type. According to the site Known issues, you can find out that there is a limitation: Cannot perform any CRUD operations on User other than updating user HD photo and extended profile properties
for both Delegated
and Application
permission types.
Selecting Directory.ReadWrite.All
permission (Read and write directory data
in the new Azure portal), as indicated in Alternative
column in the table in Microsoft Graph permissions section, should solve the problem.