Commands › SharePoint Online
Clear-SPOSiteRestrictedAppAccessControlList
Clears a site's Application Restrictions allow or deny list while preserving the other list, active mode, and site enablement.
Quick start script
# Clear-SPOSiteRestrictedAppAccessControlList — 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-SPOSiteRestrictedAppAccessControlList -Identity <String> -ListType <String> | Format-List
# 3. Export for evidence / drift tracking
Clear-SPOSiteRestrictedAppAccessControlList | Export-Clixml .\SPOSiteRestrictedAppAccessControlList-$(Get-Date -Format yyyyMMdd).xml
Syntax
Clear-SPOSiteRestrictedAppAccessControlList -Identity <String> -ListType <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (4)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.