Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-MgBetaRiskDetection

Create new navigation property to riskDetections for identityProtection

Note

To view the v1.0 release of this cmdlet, view New-MgRiskDetection

Syntax

CreateExpanded (Default)

New-MgBetaRiskDetection
 [-ResponseHeadersVariable <string>]
 [-Activity <string>]
 [-ActivityDateTime <datetime>]
 [-AdditionalInfo <string>]
 [-AdditionalProperties <hashtable>]
 [-CorrelationId <string>]
 [-DetectedDateTime <datetime>]
 [-DetectionTimingType <string>]
 [-IPAddress <string>]
 [-Id <string>]
 [-LastUpdatedDateTime <datetime>]
 [-Location <IMicrosoftGraphSignInLocation>]
 [-MitreTechniqueId <string>]
 [-RequestId <string>]
 [-RiskDetail <string>]
 [-RiskEventType <string>]
 [-RiskLevel <string>]
 [-RiskState <string>]
 [-RiskType <string>]
 [-Source <string>]
 [-TokenIssuerType <string>]
 [-UserDisplayName <string>]
 [-UserId <string>]
 [-UserPrincipalName <string>]
 [-Break]
 [-Headers <IDictionary>]
 [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>]
 [-Proxy <uri>]
 [-ProxyCredential <pscredential>]
 [-ProxyUseDefaultCredentials]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Create

New-MgBetaRiskDetection
 -BodyParameter <IMicrosoftGraphRiskDetection>
 [-ResponseHeadersVariable <string>]
 [-Break]
 [-Headers <IDictionary>]
 [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>]
 [-Proxy <uri>]
 [-ProxyCredential <pscredential>]
 [-ProxyUseDefaultCredentials]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Parameters

-Activity

activityType

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-ActivityDateTime

Date and time that the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

-AdditionalInfo

Additional information associated with the risk detection in JSON format.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-AdditionalProperties

Additional Parameters

Parameter properties

Type:System.Collections.Hashtable
Supports wildcards:False
DontShow:False

Parameter sets

-BodyParameter

riskDetection To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRiskDetection
Supports wildcards:False
DontShow:False

Parameter sets

-Break

Wait for .NET debugger to attach

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-CorrelationId

Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-DetectedDateTime

Date and time that the risk was detected. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

-DetectionTimingType

riskDetectionTimingType

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:System.Collections.IDictionary
Supports wildcards:False
DontShow:False

Parameter sets

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-IPAddress

Provides the IP address of the client from where the risk occurred.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-LastUpdatedDateTime

Date and time that the risk detection was last updated.

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

-Location

signInLocation To construct, see NOTES section for LOCATION properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSignInLocation
Supports wildcards:False
DontShow:False

Parameter sets

-MitreTechniqueId

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-Proxy

The URI for the proxy server to use

Parameter properties

Type:System.Uri
Supports wildcards:False
DontShow:False

Parameter sets

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:System.Management.Automation.PSCredential
Supports wildcards:False
DontShow:False

Parameter sets

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

-RequestId

Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

-RiskDetail

riskDetail

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-RiskEventType

The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anomalousToken, anonymizedIPAddress,attackerinTheMiddle,attemptedPRTAccess, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel,mcasFinSuspiciousFileAccess, mcasSuspiciousInboxManipulationRules,nationStateIP, newCountry, passwordSpray, riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser, suspiciousInboxForwarding, suspiciousIPAddress,suspiciousSendingPatterns, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-RiskLevel

riskLevel

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-RiskState

riskState

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-RiskType

riskEventType

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-Source

Source of the risk detection. For example, activeDirectory.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-TokenIssuerType

tokenIssuerType

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-UserDisplayName

Name of the user.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-UserId

Unique ID of the user. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-UserPrincipalName

The user principal name (UPN) of the user.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRiskDetection

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRiskDetection

{{ Fill in the Description }}

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphRiskDetection>: riskDetection [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Activity <String>]: activityType [ActivityDateTime <DateTime?>]: Date and time that the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z [AdditionalInfo <String>]: Additional information associated with the risk detection in JSON format. [CorrelationId <String>]: Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. [DetectedDateTime <DateTime?>]: Date and time that the risk was detected. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z [DetectionTimingType <String>]: riskDetectionTimingType [IPAddress <String>]: Provides the IP address of the client from where the risk occurred. [LastUpdatedDateTime <DateTime?>]: Date and time that the risk detection was last updated. [Location <IMicrosoftGraphSignInLocation>]: signInLocation [(Any) <Object>]: This indicates any property can be added to this object. [City <String>]: Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. [CountryOrRegion <String>]: Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. [GeoCoordinates <IMicrosoftGraphGeoCoordinates>]: geoCoordinates [(Any) <Object>]: This indicates any property can be added to this object. [Altitude <Double?>]: Optional. The altitude (height), in feet, above sea level for the item. Read-only. [Latitude <Double?>]: Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. [Longitude <Double?>]: Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. [State <String>]: Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. [MitreTechniqueId <String>]: [RequestId <String>]: Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. [RiskDetail <String>]: riskDetail [RiskEventType <String>]: The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anomalousToken, anonymizedIPAddress,attackerinTheMiddle,attemptedPRTAccess, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel,mcasFinSuspiciousFileAccess, mcasSuspiciousInboxManipulationRules,nationStateIP, newCountry, passwordSpray, riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser, suspiciousInboxForwarding, suspiciousIPAddress,suspiciousSendingPatterns, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. [RiskLevel <String>]: riskLevel [RiskState <String>]: riskState [RiskType <String>]: riskEventType [Source <String>]: Source of the risk detection. For example, activeDirectory. [TokenIssuerType <String>]: tokenIssuerType [UserDisplayName <String>]: Name of the user. [UserId <String>]: Unique ID of the user. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z [UserPrincipalName <String>]: The user principal name (UPN) of the user.

LOCATION <IMicrosoftGraphSignInLocation>: signInLocation [(Any) <Object>]: This indicates any property can be added to this object. [City <String>]: Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. [CountryOrRegion <String>]: Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. [GeoCoordinates <IMicrosoftGraphGeoCoordinates>]: geoCoordinates [(Any) <Object>]: This indicates any property can be added to this object. [Altitude <Double?>]: Optional. The altitude (height), in feet, above sea level for the item. Read-only. [Latitude <Double?>]: Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. [Longitude <Double?>]: Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. [State <String>]: Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.

Related Links