CmdID / PowerShell / Cmdlets / New
New-MgPolicyRoleManagementPolicyAssignment
Create new navigation property to roleManagementPolicyAssignments for policies Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 18 parameters Its page in the reference
Parameters
Show its 18 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterunifiedRoleManagementPolicyAssignment 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.-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.-PolicyunifiedRoleManagementPolicy To construct, see NOTES section for POLICY properties and create a hash table.-PolicyIdThe id of the policy.-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.-RoleDefinitionIdFor Microsoft Entra roles policy, it's the identifier of the role definition object where the policy applies.-ScopeIdThe identifier of the scope where the policy is assigned.-ScopeTypeThe type of the scope where the policy is assigned.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.