An API that connects multiple Microsoft services, enabling data access and automation across platforms
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.
- Grant tenant‑wide admin consent from Enterprise applications
- Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator or Global Administrator.
- Go to Entra ID > Enterprise apps > All applications.
- Search for
Teams_Exit_Data_API(or the client IDe4841215-f86d-4e0a-9b45-9aca9e3ce00d) and select the application. - Under Security, select Permissions.
- Review the Microsoft Graph application permissions that were configured (for example, Files or Sites permissions needed to read SharePoint content).
- 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.
- Grant admin consent from App registrations
If the app is one that the organization registered directly:
- In the Microsoft Entra admin center, go to Entra ID > App registrations > All applications.
- Select
Teams_Exit_Data_API. - Go to API permissions.
- Ensure the required Microsoft Graph Application permissions are added (for downloading SharePoint list attachments this typically involves appropriate Files or Sites application permissions).
- 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:
- Grant tenant-wide admin consent to an application (portal)
- Configure app permissions for a web API
- Developer’s guide to requesting permissions and consent in Microsoft Identity Platform
- Grant and manage consent to Teams app permissions
- Configure single sign-on with Microsoft Entra ID for agents in Microsoft Teams
- Corporate account apps registration error: AADSTS90094 - Microsoft Q&A