I'm facing the issue in API permission

Sharanagouda 21 Reputation points
2022-04-07T13:34:34.2+00:00

Hi Team

I am trying to use postman with Microsoft Graph API by this link https://learn.microsoft.com/en-us/graph/use-postman in that step 3 I'm unable to Grant admin consent, I'm unable to enable (yes) ,please let me know how to resolve

Thanks,
Sharanagouda

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,118 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,171 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 39,021 Reputation points
    2022-04-08T03:28:13.413+00:00

    Hi @Sharanagouda

    This is because you are not a global admin, only an admin can grant admin consent, you need to switch to the global admin login in the Azure portal.

    Or you can use the Admin Consent URL, you just need to run that URL in your browser, then have your global admin log in and consent on behalf of your organization, after that you'll see in the API Permissions blade that your permissions have been granted admin consent.

    https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id={client-id}  
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful