CmdID / PowerShell / Cmdlets / New
New-MgIdentityConditionalAccessPolicy
Create a new conditionalAccessPolicy. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 23 parameters Its page in the reference
Parameters
Show its 23 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterconditionalAccessPolicy To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ConditionsconditionalAccessConditionSet To construct, see NOTES section for CONDITIONS properties and create a hash table.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedDateTimeThe Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-DeletedDateTime-Description-DisplayNameSpecifies a display name for the conditionalAccessPolicy object.-GrantControlsconditionalAccessGrantControls To construct, see NOTES section for GRANTCONTROLS properties and create a hash table.-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-IdSpecifies the identifier of a conditionalAccessPolicy object.-ModifiedDateTimeThe Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-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-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SessionControlsconditionalAccessSessionControls To construct, see NOTES section for SESSIONCONTROLS properties and create a hash table.-StateconditionalAccessPolicyState-TemplateIdSpecifies the unique identifier of a Conditional Access template.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.