Need admin approval while authorizing onedrive using oauth2.0

Mageshwari SS 0 Reputation points
2024-12-24T12:27:05.3266667+00:00

Hi Support Team,

The error "Needs admin approval" appeared when we attempted to authorize our OneDrive account using Oauth 2.0.

The below urls are used for authorization

AuthURL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize

Access Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scope: offline_access files.readwrite.all

Clientid and clientsecret are created in microsoft azure portal of free trail account

For your reference i have attached the screenshot of issue Onedrive Authorization issue.png

Thanks and Regards,

Mageshwari

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,510 questions
0 comments No comments
{count} votes

Your answer

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