CmdID / PowerShell / Cmdlets / Update
Update-MgUserAppRoleAssignment
Update the navigation property appRoleAssignments in users Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 24 parameters Its page in the reference
Parameters
Show its 24 parameters
-AdditionalPropertiesAdditional Parameters-AppRoleAssignmentIdThe unique identifier of appRoleAssignment-AppRoleIdThe identifier (id) for the app role that's assigned to the principal.-BodyParameterappRoleAssignment 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.-CreatedDateTimeThe time when the app role assignment was created.-DeletedDateTimeDate and time when this object was deleted.-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.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-PrincipalDisplayNameThe display name of the user, group, or service principal that was granted the app role assignment.-PrincipalIdThe unique identifier (id) for the user, security group, or service principal being granted the app role.-PrincipalTypeThe type of the assigned principal.-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-ResourceDisplayNameThe display name of the resource app's service principal to which the assignment is made.-ResourceIdThe unique identifier (id) for the resource service principal for which the assignment is made.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-UserIdThe unique identifier of user-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.