Need admin approval for Notes.Create

Lovesh Verma 0 Reputation points
2023-03-30T20:56:39.4766667+00:00

I have created an application under App Registrations and added Notes.Create API Permission under microsoft Graph API.

But when I login with my Microsoft Work Account. It is giving error "Need Admin Approval".

User's image

How to fix this?

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. HarmeetSingh7172 4,826 Reputation points
    2023-03-30T21:13:29.0433333+00:00

    Hello Lovesh Verma,

    Thanks for posting!

    It seems like the application requires one or more permissions which only Global Admin can consent for. There are some permissions for which standard users can provide consent but if the application needs high level permission for example Directory.ReadWrite.All with which any changes can be made to the directory, above message is displayed and only Global Administrator can consent those permissions. So, you would need to contact Global Administrator to provide consent.

    Please refer this detailed article here: https://learn.microsoft.com/en-us/azure/active-directory/develop/application-consent-experience

    Also, refer https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/configure-user-consent?pivots=portal

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


  2. CarlZhao-MSFT 46,371 Reputation points
    2023-03-31T06:27:45.03+00:00

    Hi @Lovesh Verma

    The Notes.Create permissions do not require administrator consent, but be careful not to put permissions that require administrator consent into scope.

    You can call the following authorization endpoints in the browser to get an authorization code:

    https://login.microsoftonline.com/{tenant id}/oauth2/v2.0/authorize?
    client_id={client id}
    &response_type=code
    &redirect_uri={redirect url}
    &response_mode=query
    &scope=Notes.Create
    &state=12345
    

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


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.