Remove-EntraPermissionGrantPolicy

Removes a permission grant policy.

Syntax

Remove-EntraPermissionGrantPolicy
      -Id <String>
      [<CommonParameters>]

Description

The Remove-EntraPermissionGrantPolicy cmdlet removes a Microsoft Entra ID permission grant policy.

Examples

Example 1: Remove a permission grant policy

Connect-Entra -Scopes 'Policy.ReadWrite.PermissionGrant'
Remove-EntraPermissionGrantPolicy -Id 'my_permission_grant_policy_id'

This command removes the specified permission grant policy in Microsoft Entra ID.

  • -Id parameter specifies the unique identifier of the permission grant policy.

Parameters

-Id

The unique identifier of the permission grant policy.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False