What it works with
Module: Microsoft.Graph.Authentication
Context: PowerShell 7 · Microsoft Graph · Microsoft Entra applications
Compatibility: PowerShell 7 is the supported target for this Microsoft Graph Entra template.
Exports application permissions and delegated OAuth consent grants for Microsoft Entra service principals, resolving resource APIs and permission names where directory metadata is available.
Pro generation after license validation · Review before running · No tenant access
Exports application permissions and delegated OAuth consent grants for Microsoft Entra service principals, resolving resource APIs and permission names where directory metadata is available.
Configure Export enterprise application API permissions and consent grants in the Builder, review the generated PowerShell and run it in your own environment.
Use this report to audit application permissions and delegated OAuth consent across enterprise applications. Application permissions and delegated scopes are labeled separately with client and resource identifiers, and the script never grants, revokes or changes consent.
The template uses Microsoft.Graph.Authentication and requires Directory.Read.All. Output: CSV report. Level: Advanced. Action: Read-only. Risk: Low.
Directory.Read.All is a broad delegated read scope. Review that permission before consent, expect larger tenants to take longer because app-role assignments are read per service principal, and protect the resulting permission inventory.
For Pro templates, only the configuration values needed by this template are sent to Opselith after license validation. The script source remains server-side until generation.
Generate Export enterprise application API permissions and consent grants →Exports application permissions and delegated OAuth consent grants for Microsoft Entra service principals, resolving resource APIs and permission names where the directory metadata is available. Review these details before generating or running the script.
Module: Microsoft.Graph.Authentication
Context: PowerShell 7 · Microsoft Graph · Microsoft Entra applications
Compatibility: PowerShell 7 is the supported target for this Microsoft Graph Entra template.
Permissions: Directory.Read.All
Risk: Low
Execution impact: Read-only. The script inventories Microsoft Entra service-principal application permissions and delegated OAuth consent grants through Microsoft Graph without granting, revoking or changing consent.
Output: CSV with client/resource service-principal metadata, PermissionKind, permission ID/value/display name, ConsentType, PrincipalId, CreatedDateTime, Status and Error.
This template is part of the Pro library. The full Pro script is generated by Opselith after server-side license validation; only the configuration values needed by this template are sent for generation. No tenant connection is required. When you generate a Pro script, only the configuration values needed for that template are sent to Opselith after license validation.
Exports application permissions and delegated OAuth consent grants for Microsoft Entra service principals, resolving resource APIs and permission names where the directory metadata is available.
Enter the required values in the Builder, review the generated script and confirm the output before running it.
Runtime and community evidence change only after an external tester result is reviewed and accepted for release evidence.
Tester: report a result →