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!
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!
Well, do you have the required permissions, as detailed in the documentation? https://docs.microsoft.com/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.
@michev i was supposed to close this yesterday. was able to get it to work using the same permissions rewuire o revoke sessions. Thanks, cheers!
As long as you got it working :) Some moderator might mark it later.
Hello @ByronHayes-6267 ,
Great to know that you were able to get it working . As only the OP can accept the relevant post as answer , I would request you to accept it as answer in the interest of the community so that the relevancy of the answer improves.
Thank you.
15 people are following this question.