CmdID

CmdID / PowerShell / Cmdlets / New

New-MgPolicyPermissionGrantPolicyInclude

Add conditions under which a permission grant event is *included* in a permission grant policy. Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 23 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

23 in the Microsoft Graph PowerShell reference
Show its 23 parameters
-AdditionalPropertiesAdditional Parameters
-BodyParameterpermissionGrantConditionSet To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
-BreakWait for .NET debugger to attach
-ClientApplicationIdsA list of appId values for the client applications to match with, or a list with the single value all to match any client application.
-ClientApplicationPublisherIdsA list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher.
-ClientApplicationsFromVerifiedPublisherOnlySet to true to only match on client applications with a verified publisher.
-ClientApplicationTenantIdsA list of Microsoft Entra tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-HeadersOptional headers that will be added to the request.
-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline
-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline
-IdThe unique identifier for an entity.
-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
-PermissionClassificationThe permission classification for the permission being granted, or all to match with any permission classification (including permissions that aren't classified).
-PermissionGrantPolicyIdThe unique identifier of permissionGrantPolicy
-PermissionsThe list of id values for the specific permissions to match with, or a list with the single value all to match with any permission.
-PermissionTypepermissionType
-ProxyThe URI for the proxy server to use
-ProxyCredentialCredentials for a proxy server to use for the remote call
-ProxyUseDefaultCredentialsUse the default credentials for the proxy
-ResourceApplicationThe appId of the resource application (for example the API) for which a permission is being granted, or any to match with any resource application or API.
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.