CmdID

CmdID / PowerShell / Cmdlets / New

New-MgRoleManagementDirectoryRoleDefinition

Create a new custom unifiedRoleDefinition object. Microsoft Graph PowerShell reference

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

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

Parameters

22 in the Microsoft Graph PowerShell reference
Show its 22 parameters
-AdditionalPropertiesAdditional Parameters
-BodyParameterunifiedRoleDefinition 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.
-DescriptionThe description for the unifiedRoleDefinition.
-DisplayNameThe display name for the unifiedRoleDefinition.
-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.
-InheritsPermissionsFromRead-only collection of role definitions that the given role definition inherits from.
-IsBuiltInFlag indicating whether the role definition is part of the default set included in Microsoft Entra or a custom definition.
-IsEnabledFlag indicating whether the role is enabled for assignment.
-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
-ResourceScopesList of the scopes or permissions the role definition applies to.
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-RolePermissionsList of permissions included in the role.
-TemplateIdCustom template identifier that can be set when isBuiltIn is false but is read-only when isBuiltIn is true.
-VersionIndicates version of the role definition.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.