Remove-EntraPermissionGrantPolicy
Removes a permission grant policy.
Syntax
Default (Default)
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.
-Idparameter specifies the unique identifier of the permission grant policy.
Parameters
-Id
The unique identifier of the permission grant policy.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.