Commands › SharePoint Online
Get-SPOTenantServicePrincipalPermissionRequests
Gets the collection of permission requests for the "SharePoint Online Client" service principal
Quick start script
# Get-SPOTenantServicePrincipalPermissionRequests — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Run and inspect
Get-SPOTenantServicePrincipalPermissionRequests | Format-List
# 3. Export for evidence / drift tracking
Get-SPOTenantServicePrincipalPermissionRequests | Export-Clixml .\SPOTenantServicePrincipalPermissionRequests-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SPOTenantServicePrincipalPermissionRequests [<CommonParameters>]
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.