Commands › SharePoint Online
Clear-SPOTenantRestrictedAppAccessControlPolicy
Turns off the tenant Application Restrictions enforcement switch and clears the tenant-wide deny list.
Quick start script
# Clear-SPOTenantRestrictedAppAccessControlPolicy — 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
Clear-SPOTenantRestrictedAppAccessControlPolicy | Format-List
# 3. Export for evidence / drift tracking
Clear-SPOTenantRestrictedAppAccessControlPolicy | Export-Clixml .\SPOTenantRestrictedAppAccessControlPolicy-$(Get-Date -Format yyyyMMdd).xml
Syntax
Clear-SPOTenantRestrictedAppAccessControlPolicy [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.