Commands › SharePoint Online

Revoke-SPOSiteDesignRights

SharePoint Online Microsoft.Online.SharePoint.PowerShell Revoke-*

Revokes rights for specified principals from a site design.

Quick start script

# Revoke-SPOSiteDesignRights — 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
Revoke-SPOSiteDesignRights -Identity <SPOSiteDesignPipeBind> -Principals <String[]> | Format-List

# 3. Export for evidence / drift tracking
Revoke-SPOSiteDesignRights | Export-Clixml .\SPOSiteDesignRights-$(Get-Date -Format yyyyMMdd).xml

Syntax

Revoke-SPOSiteDesignRights [-Identity] <SPOSiteDesignPipeBind> -Principals <String[]> [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity SPOSiteDesignPipeBind yes The ID of the site design from which to revoke rights.
-Principals String[] yes One or more principals to revoke rights on the specified site design.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.