Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment

Set Up the Admin Consent Workflow and Clear Pending Requests

EntraReady Guides · Practical Microsoft 365 & Entra ID
Last reviewed:
Last verified against Microsoft Learn:

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

Step by step

Turn on the workflow

  1. 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)).
  2. Set Users can request admin consent to apps they are unable to consent to to Yes.
  3. 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.
  4. Leave Selected users will receive email notifications for requests on. Turning it off also stops the emails to requesters.
  5. Turn on request expiration reminders and set Consent request expires after (days). The first reminder usually goes out around the middle of that period.
  6. Save. It can take up to an hour for the workflow to switch on.

Work the queue

  1. 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)).
  2. Open the app and check three things: Review permissions and consent (what's requested), App details, and Requested by (who asked and why).
  3. 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.
  4. 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

Check it worked

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 Guides

Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.

Reports go to the EntraReady inbox. Please don’t include passwords or tenant secrets.