Edit

Share via


Set-AzureADMSPermissionGrantPolicy

Updates a permission grant policy.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

Specifies the display name of the permission grant policy.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Specifies the unique identifier of the permission grant policy.

Parameter properties

Type: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.

Notes

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