CmdID / PowerShell / Cmdlets / Update
Update-MgRiskyUser
Update the navigation property riskyUsers in identityProtection Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 24 parameters Its page in the reference
Parameters
Show its 24 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterriskyUser 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.-HistoryThe activity related to user risk level change To construct, see NOTES section for HISTORY properties and create a hash table.-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.-IsDeletedIndicates whether the user is deleted.-IsProcessingIndicates whether the backend is processing a user's risky state.-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.-RiskDetailriskDetail-RiskLastUpdatedDateTimeThe date and time that the risky user was last updated.-RiskLevelriskLevel-RiskStateriskState-RiskyUserIdThe unique identifier of riskyUser-UserDisplayNameRisky user display name.-UserPrincipalNameRisky user principal name.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.