CmdID

CmdID / PowerShell / Cmdlets / New

New-MgDeviceManagementRoleAssignment

Create new navigation property to roleAssignments for deviceManagement Microsoft Graph PowerShell reference

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

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

Parameters

18 in the Microsoft Graph PowerShell reference
Show its 18 parameters
-AdditionalPropertiesAdditional Parameters
-BodyParameterThe Role Assignment resource.
-BreakWait for .NET debugger to attach
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DescriptionIndicates the description of the role assignment.
-DisplayNameIndicates the display name of the role assignment.
-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.
-MembersIndicates the list of role member security group Entra IDs.
-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
-ResourceScopesIndicates the list of resource scope security group Entra IDs.
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-RoleDefinitionThe Role Definition resource.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.