CmdID / PowerShell / Cmdlets / New
New-MgPolicyRoleManagementPolicy
Create new navigation property to roleManagementPolicies for policies Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterunifiedRoleManagementPolicy To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DescriptionDescription for the policy.-DisplayNameDisplay name for the policy.-EffectiveRulesThe list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules.-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.-IsOrganizationDefaultThis can only be set to true for a single tenant-wide policy which will apply to all scopes and roles.-LastModifiedByidentity To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeThe time when the role setting was last modified.-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.-RulesThe collection of rules like approval rules and expiration rules.-ScopeIdThe identifier of the scope where the policy is created.-ScopeTypeThe type of the scope where the policy is created.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.