CmdID

CmdID / PowerShell / Cmdlets / Update

Update-MgRiskyServicePrincipal

Update the navigation property riskyServicePrincipals in identityProtection Microsoft Graph PowerShell reference

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

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

Parameters

25 in the Microsoft Graph PowerShell reference
Show its 25 parameters
-AdditionalPropertiesAdditional Parameters
-AppIdThe globally unique identifier for the associated application (its appId property), if any.
-BodyParameterriskyServicePrincipal 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.
-DisplayNameThe display name for the service principal.
-HeadersOptional headers that will be added to the request.
-HistoryRepresents the risk history of Microsoft Entra service principals.
-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.
-IsEnabledtrue if the service principal account is enabled; otherwise, false.
-IsProcessingIndicates whether Microsoft Entra ID is currently processing the service principal'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 risk state was last updated.
-RiskLevelriskLevel
-RiskStateriskState
-RiskyServicePrincipalIdThe unique identifier of riskyServicePrincipal
-ServicePrincipalTypeIdentifies whether the service principal represents an Application, a ManagedIdentity, or a legacy application (socialIdp).
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.