Permission issues when using /assignLicense on Microsoft Graph API

Byron Hayes 41 Reputation points
2020-03-26T14:50:16.51+00:00

Getting permission issues when I use the /assignLicense endpoint.
For instance I get the error 'Insufficient privileges to complete the operation.' with code Authorization_RequestDenied.

Any thoughts, thanks in advanced!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 123.6K Reputation points MVP Volunteer Moderator
    2020-03-26T18:51:16.12+00:00

    Well, do you have the required permissions, as detailed in the documentation? https://xtls-v4.hkg1.meaqua.org/en-us/graph/api/user-assignlicense?view=graph-rest-1.0&tabs=http
    If you have granted them already do the app you're using, double-check that the token has the relevant scopes and request a new one as needed.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.