Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

97
Views
Microsoft Graph 403 when not admin

I am getting 403 for a logged in user with no admin credentials when going for:

https://graph.microsoft.com/v1.0/me/memberOf

It works when I am logged in as an admin.

https://graph.microsoft.com/v1.0/me is working fine!

I have delegated permissions in Azure and accepted them as an admin via prompt=consent querystring.

Read all users' full profiles
Read all groups
Read directory data
Access directory as the signed in user

I am getting the token via this.service.acquireToken(https://graph.microsoft.com)

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You have the correct workflow but the wrong parameters.

prompt=consent is used to force the user to re-consent to the required scopes. Typically you would do this if your scopes have changed and you need user's to re-authorize your application.

This shouldn't be confused with prompt=admin_consent which is used when you have scopes that require an Admin's pre-approval prior to standard user's authorizing your application.

You can find more details about prompt and other query parameters in this article.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!