Revoke-ServicePermission

Removes all permissions an identity has to manage a service.

Syntax

Revoke-ServicePermission [-Name] <String> [-Identity] <String> [<CommonParameters>]

Description

No permissions are left behind. This is an all or nothing operation, baby!

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String

The service.

true false
Identity String

The identity whose permissions are being revoked.

true false

EXAMPLE 1

Revoke-ServicePermission -Name 'Hyperdrive` -Identity 'CLOUDCITY\LCalrissian'

Removes all of Lando's permissions to control the Hyperdrive service.