Need admin approval while authorizing using oauth2.0

Marc 45 Reputation points
2025-05-23T13:37:23.4+00:00

Hello,

I built an OAuth system for my application for me to be able to create event on my users calendars.

It seems to work for most of my users, but for some others, they get a "Need admin approval" window.

How to avoid that and allow everybody to connect to my app without being stuck?WhatsApp Image 2025-05-23 at 14.46.20

Also, for some users, they are able to authorized my apps and I am able to get the token, but I get 403 Unauthorized response when using the user data endpoint... https://graph.microsoft.com/v1.0/me

Really painful to integrate Outlook into my app tbh 🥲

Thank you

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 123.5K Reputation points MVP Volunteer Moderator
    2025-05-23T17:04:07.04+00:00

    Your application is unverified, by default Microsoft marks such applications as risky (see the risk-based step-up consent feature). To avoid such issues, make sure to complete the publisher verification process: https://learn.microsoft.com/en-us/entra/identity-platform/publisher-verification-overview


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.