Revoke-PnPSiteDesignRights

Revokes the specified principals rights to use the site design.

Syntax

Revoke-PnPSiteDesignRights
      -Identity <TenantSiteDesignPipeBind>
                                -Principals <String[]>
                                [-Connection <SPOnlineConnection>]

Examples

------------------EXAMPLE 1------------------

Revoke-PnPSiteDesignRights -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd -Principals "myuser@mydomain.com","myotheruser@mydomain.com"

Revokes rights to the specified principals on the site design specified

------------------EXAMPLE 2------------------

Get-PnPSiteDesign -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd | Revoke-PnPSiteDesignRights -Principals "myuser@mydomain.com","myotheruser@mydomain.com"

Revokes rights to the specified principals on the site design specified

Required Parameters

-Identity

The site design to use.

Type:TenantSiteDesignPipeBind
Position:0
Accept pipeline input:True
Accept wildcard characters:False
-Principals

One or more principals to revoke.

Type:String[]
Position:Named
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False