Set Up the Admin Consent Workflow and Clear Pending Requests
Once you restrict user consent, people will hit apps they can't consent to. The admin consent workflow lets them send a request instead of giving up or opening a ticket: designated reviewers get an email, act on it, and the user is told the outcome (Configure the admin consent workflow (opens in a new tab)). This guide covers setting the workflow up and running the review queue. For locking down user consent and auditing risky OAuth permissions already granted, see App consent and risky OAuth permissions.
Use it when: you've restricted user consent (Microsoft recommends allowing it only for verified publishers and permissions you select) (Consent management (opens in a new tab)), requests are piling up unanswered, or you're handing the queue to a help desk or MSP team.
Before you start
- Turning the workflow on: the Learn article requires Global Administrator (Prerequisites (opens in a new tab)). Use it for this one-time change only.
- Reviewing: reviewers sign in as at least Cloud Application Administrator and must be designated reviewers (Review admin consent requests (opens in a new tab)). Being a reviewer doesn't grant any rights: to approve, the reviewer needs a role that can grant the requested permissions (Configure (opens in a new tab)):
- Cloud Application Administrator, Application Administrator or AI Administrator: any permission for any API except Microsoft Graph app roles (application permissions).
- Privileged Role Administrator: any permission, any API (Grant admin consent prerequisites (opens in a new tab)).
- The workflow settings page says only Global Administrators can approve requests for Microsoft Graph application permissions (Enable the workflow (opens in a new tab)). Plan a PIM-eligible escalation path for those.
- Graph scopes for reporting:
ConsentRequest.Read.All(requests) andPolicy.Read.All(workflow settings) (List appConsentRequests (opens in a new tab), Get adminConsentRequestPolicy (opens in a new tab)).
Step by step
Turn on the workflow
- In the Microsoft Entra admin center go to Entra ID > Enterprise apps > Consent and permissions > Admin consent settings (Enable the workflow (opens in a new tab)).
- Set Users can request admin consent to apps they are unable to consent to to Yes.
- Who can review admin consent requests: pick users, groups or roles. Reviewers can view, block or deny requests and see them on the My Pending tab.
- Leave Selected users will receive email notifications for requests on. Turning it off also stops the emails to requesters.
- Turn on request expiration reminders and set Consent request expires after (days). The first reminder usually goes out around the middle of that period.
- Save. It can take up to an hour for the workflow to switch on.
Work the queue
- Sign in as a designated reviewer (at least Cloud Application Administrator), go to Entra ID > Enterprise apps > Activity > Admin consent requests, and open My Pending. The All (Preview) tab is history only (Review and take action (opens in a new tab)).
- Open the app and check three things: Review permissions and consent (what's requested), App details, and Requested by (who asked and why).
- Evaluate it using Microsoft's checklist (Evaluate a request (opens in a new tab)):
- Application permissions reach the whole organization's data without a signed-in user, and their descriptions usually end "without a signed-in user". Delegated permissions act for a signed-in user.
- Do the permissions match what the app is for? A SharePoint site tool doesn't need full access to every mailbox.
- Do you trust the publisher? Watch for apps imitating well-known ones.
- If you don't understand a permission or the publisher, don't grant consent.
- Decide (Review and take action (opens in a new tab)):
- Approve (grant admin consent): every requester is notified. All users in the tenant can then use the app unless you require user assignment, so for business apps consider requiring user assignment (opens in a new tab) afterward.
- Deny: needs a justification that goes to all requesters. Users can request again later.
- Block: needs a justification. It creates a disabled service principal for the app in your tenant, and users can't request it again.
Report-first PowerShell
Read-only. Scopes: ConsentRequest.Read.All, Policy.Read.All.
Connect-MgGraph -Scopes "ConsentRequest.Read.All","Policy.Read.All"
# 1. Is the workflow on, and who reviews?
Get-MgPolicyAdminConsentRequestPolicy |
Select-Object IsEnabled, NotifyReviewers, RemindersEnabled, RequestDurationInDays
# 2. Apps with requests still in progress (filter from the List appConsentRequests example)
$pending = Get-MgIdentityGovernanceAppConsentRequest -All `
-Filter "userConsentRequests/any (u:u/status eq 'InProgress')"
# 3. Who asked and why, per app
foreach ($app in $pending) {
Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $app.Id -All |
Where-Object Status -eq 'InProgress' |
ForEach-Object {
[pscustomobject]@{
App = $app.AppDisplayName
AppId = $app.AppId
Scopes = ($app.PendingScopes.DisplayName -join ', ')
Requester = $_.CreatedBy.User.DisplayName
Reason = $_.Reason
Created = $_.CreatedDateTime
}
}
} | Sort-Object Created | Export-Csv .\pending-admin-consent.csv -NoTypeInformation
The filter and cmdlets come from List appConsentRequests (opens in a new tab) and List userConsentRequests (opens in a new tab). User request status is Initializing, InProgress, Expired or Completed (userConsentRequest (opens in a new tab)). You can't approve or deny through Graph, so decisions stay in the portal (Review using Microsoft Graph (opens in a new tab)).
Gotchas
- Reviewers only act on requests made after they became reviewers. They can see older ones but not act on them. Reviewers you remove keep the requests (and reminder emails) from their time as a reviewer, and new reviewers aren't assigned to existing requests (Configure note (opens in a new tab), Review (opens in a new tab)). After changing reviewers, check for orphaned requests in the report.
- Approve means tenant-wide. Granting admin consent applies on behalf of the whole organization and can include highly privileged operations such as reading all mailboxes or impersonating users (Evaluate a request (opens in a new tab)).
- Popular isn't the same as safe. Evaluate an app carefully even if many users already consented for themselves (Other considerations (opens in a new tab)).
- Requests expire after the number of days you set (Enable the workflow (opens in a new tab)). Size the window to match how often your reviewers actually check the queue.
- Learn wording on Deny is inconsistent: the summary says Deny gives the user no feedback, but the steps say a required justification goes to all requesters. Tell users to expect a notification either way.
Check it worked
- As a test user, open an app that needs admin approval: the consent screen should offer to request approval, and reviewers should get the email.
Get-MgPolicyAdminConsentRequestPolicyshowsIsEnabled = Truewith your reviewers.pending-admin-consent.csvstays short and nothing sits close to its expiry date.
Roll back
Set Users can request admin consent to apps they are unable to consent to back to No under Admin consent settings. To undo an approval, revoke the tenant-wide consent on the enterprise app (Revoke tenant wide admin consent (opens in a new tab)), and see App consent for the cleanup.
Related on EntraReady: App consent and risky OAuth permissions, Set up PIM for admin roles, Too many Global Admins, How AI platforms connect to Microsoft 365.
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.