New-AzureADMSPermissionGrantPolicy

Creates a permission grant policy.

Syntax

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

Description

The New-AzureADMSPermissionGrantPolicy cmdlet creates an Azure Active Directory permission grant policy.

Examples

Example 1: Create a permission grant policy

PS C:\> New-AzureADMSPermissionGrantPolicy -Id "my_new_permission_grant_policy_id"  -DisplayName "MyNewPermissionGrantPolicy" -Description "My new permission grant policy"

Parameters

-Description

Specifies the description for 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 for 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:False
Accept pipeline input:False
Accept wildcard characters:False

Notes

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