Επεξεργασία

Κοινή χρήση μέσω


Set-AzureADMSPermissionGrantPolicy

Updates a permission grant policy.

Syntax

Set-AzureADMSPermissionGrantPolicy
   -Id <String>
   [-Description <String>]
   [-DisplayName <String>]
   [<CommonParameters>]

Description

The Set-AzureADMSPermissionGrantPolicy command updates an Azure Active Directory permission grant policy.

Examples

Example 1

PS C:\> Set-AzureADMSPermissionGrantPolicy -Id "my_permission_grant_policy_id" -Description "updated description" -DisplayName "update displayname"

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

Notes

See the migration guide for Set-AzureADMSPermissionGrantPolicy to the Microsoft Graph PowerShell.