Revoke-PnPAzureADAppSitePermission
SYNOPSIS
Required Permissions
- Microsoft Graph API: Sites.FullControl.All
Revokes a permissions for a given app.
SYNTAX
Revoke-PnPAzureADAppSitePermission -PermissionId <String> [-Site <SitePipeBind>]
DESCRIPTION
This cmdlets updates permissions for a given app in a site.
EXAMPLES
EXAMPLE 1
Set-PnPAzureADAppSitePermission -PermissionId ABSDFefsdfef33fsdFSvsadf3e3fsdaffsa -Permissions Read
Updates the app with the specific permission id and sets the rights to 'Read' access.
PARAMETERS
-PermissionId
If specified the permission with that id specified will be retrieved
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Permissions
Specifies the permissions to set for the app.
Type: String
Parameter Sets: (All)
Required: True
Accepted values: Write, Read
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Site
Optional url to to a site to set the permissions for. Defaults to the current site.
Type: SitePipeBind
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False