CmdID / PowerShell / Cmdlets / New
New-MgRiskyServicePrincipalHistory
Create new navigation property to history for identityProtection Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-ActivityriskServicePrincipalActivity To construct, see NOTES section for ACTIVITY properties and create a hash table.-AdditionalPropertiesAdditional Parameters-AppIdThe globally unique identifier for the associated application (its appId property), if any.-BodyParameterriskyServicePrincipalHistoryItem 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.-InitiatedByThe identifier of the actor of the operation.-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.