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

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,738 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
726 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 23,361 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