Set-EntraPermissionGrantPolicy
Updates a permission grant policy.
Syntax
Set-EntraPermissionGrantPolicy
-Id <String>
[-DisplayName <String>]
[-Description <String>]
[<CommonParameters>]
Description
The Set-EntraPermissionGrantPolicy command updates a Microsoft Entra ID permission grant policy.
Examples
Example 1: Update description of permission grant policy
PS C:\> Set-EntraPermissionGrantPolicy -Id "my_permission_grant_policy_id" -Description "updated description"
This command updates the description of the specified permission grant policy.
Example 2: Update display name of permission grant policy
PS C:\> Set-EntraPermissionGrantPolicy -Id "my_permission_grant_policy_id" -DisplayName "update displayname"
This command updates the display name of the specified permission grant policy.
Parameters
-Description
Specifies the description of the permission grant policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisplayName
Specifies the display name of the permission grant policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Specifies the unique identifier of the permission grant policy.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for