Share via

"grant admin consent" needed

Danny Kama 0 Reputation points
2026-03-09T21:07:11.3+00:00

How can I open a ticket to get grant admin consent for an API that I created?

App name: Teams_Exit_Data_API

Client ID: e4841215-f86d-4e0a-9b45-9aca9e3ce00d

Permission: Microsof Graph

Type: Application (not delegated)

Need: Automation to download XLSX attachments from Sharepoint list

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-09T21:07:22.67+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To get admin consent granted for the Teams_Exit_Data_API app so it can use Microsoft Graph application permissions, a tenant administrator must perform the consent in Microsoft Entra ID. A regular user cannot do this; opening a ticket is typically done in the organization’s internal helpdesk so an admin can follow these steps.

    Provide the admin with this information and ask them to complete one of the following flows.

    1. Grant tenant‑wide admin consent from Enterprise applications
    2. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator or Global Administrator.
    3. Go to Entra ID > Enterprise apps > All applications.
    4. Search for Teams_Exit_Data_API (or the client ID e4841215-f86d-4e0a-9b45-9aca9e3ce00d) and select the application.
    5. Under Security, select Permissions.
    6. Review the Microsoft Graph application permissions that were configured (for example, Files or Sites permissions needed to read SharePoint content).
    7. Select Grant admin consent and confirm.

    This grants tenant‑wide admin consent for the configured Microsoft Graph application permissions so the daemon/automation can call Graph without user interaction.

    1. Grant admin consent from App registrations

    If the app is one that the organization registered directly:

    1. In the Microsoft Entra admin center, go to Entra ID > App registrations > All applications.
    2. Select Teams_Exit_Data_API.
    3. Go to API permissions.
    4. Ensure the required Microsoft Graph Application permissions are added (for downloading SharePoint list attachments this typically involves appropriate Files or Sites application permissions).
    5. Select Grant admin consent for <tenant name> and confirm.

    After consent is granted, the automation can authenticate as the app (client credentials flow) and use Microsoft Graph to access SharePoint data, including XLSX attachments, according to the granted application permissions.

    If users are blocked from requesting consent directly, the admin can also enable the admin consent workflow so that future consent requests can be routed to admins for approval.


    References:

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.