Commands › SharePoint Online
Get-SPORestrictedSiteCreationForApps
This cmdlet allows SharePoint Administrators to check the current configuration of the restricted site creation for apps feature.
Quick start script
# Get-SPORestrictedSiteCreationForApps — 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-SPORestrictedSiteCreationForApps | Format-List
# 3. Export for evidence / drift tracking
Get-SPORestrictedSiteCreationForApps | Export-Clixml .\SPORestrictedSiteCreationForApps-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SPORestrictedSiteCreationForApps [-SiteType <RestrictedSiteCreationSiteType>] [<CommonParameters>]
Parameters (1)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.