Share via


New-MgBetaRiskyUser

Create new navigation property to riskyUsers for identityProtection

Note

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

Syntax

CreateExpanded (Default)

New-MgBetaRiskyUser
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-History <IMicrosoftGraphRiskyUserHistoryItem[]>]
    [-Id <String>]
    [-IsDeleted]
    [-IsProcessing]
    [-RiskDetail <String>]
    [-RiskLastUpdatedDateTime <DateTime>]
    [-RiskLevel <String>]
    [-RiskState <String>]
    [-UserDisplayName <String>]
    [-UserPrincipalName <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaRiskyUser
    -BodyParameter <IMicrosoftGraphRiskyUser>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create new navigation property to riskyUsers for identityProtection

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

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

Parameter properties

Type:IMicrosoftGraphRiskyUser
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:IDictionary
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-History

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

Parameter properties

Type:

IMicrosoftGraphRiskyUserHistoryItem[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsDeleted

Indicates whether the user is deleted. Possible values are: true, false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsProcessing

Indicates whether a user's risky state is being processed by the backend.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RiskDetail

riskDetail

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RiskLastUpdatedDateTime

The date and time that the risky user was last updated. 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:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RiskLevel

riskLevel

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RiskState

riskState

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserDisplayName

Risky user display name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserPrincipalName

Risky user principal name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

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.IMicrosoftGraphRiskyUser

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRiskyUser

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 <IMicrosoftGraphRiskyUser>: riskyUser

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [History <IMicrosoftGraphRiskyUserHistoryItem- []>]:
    • [History <IMicrosoftGraphRiskyUserHistoryItem- []>]:
    • [IsDeleted <Boolean?>]: Indicates whether the user is deleted. Possible values are: true, false.
    • [IsProcessing <Boolean?>]: Indicates whether a user's risky state is being processed by the backend.
    • [RiskDetail <String>]: riskDetail
    • [RiskLastUpdatedDateTime <DateTime?>]: The date and time that the risky user was last updated. 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.
    • [RiskLevel <String>]: riskLevel
    • [RiskState <String>]: riskState
    • [UserDisplayName <String>]: Risky user display name.
    • [UserPrincipalName <String>]: Risky user principal name.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Activity <IMicrosoftGraphRiskUserActivity>]: riskUserActivity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Detail <String>]: riskDetail
      • [EventTypes <String- []>]: List of risk event types. Deprecated. Use riskEventType instead.
      • [RiskEventTypes <String- []>]: The type of risk event detected. The possible values are: anonymizedIPAddress, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel. For more information about each value, see Risk types and detection.
    • [InitiatedBy <String>]: The ID of actor that does the operation.
    • [UserId <String>]: The ID of the user.
  • [IsDeleted <Boolean?>]: Indicates whether the user is deleted. Possible values are: true, false.
  • [IsProcessing <Boolean?>]: Indicates whether a user's risky state is being processed by the backend.
  • [RiskDetail <String>]: riskDetail
  • [RiskLastUpdatedDateTime <DateTime?>]: The date and time that the risky user was last updated. 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.
  • [RiskLevel <String>]: riskLevel
  • [RiskState <String>]: riskState
  • [UserDisplayName <String>]: Risky user display name.
  • [UserPrincipalName <String>]: Risky user principal name.

HISTORY <IMicrosoftGraphRiskyUserHistoryItem- []>: .

  • [History <IMicrosoftGraphRiskyUserHistoryItem- []>]:
  • [IsDeleted <Boolean?>]: Indicates whether the user is deleted. Possible values are: true, false.
  • [IsProcessing <Boolean?>]: Indicates whether a user's risky state is being processed by the backend.
  • [RiskDetail <String>]: riskDetail
  • [RiskLastUpdatedDateTime <DateTime?>]: The date and time that the risky user was last updated. 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.
  • [RiskLevel <String>]: riskLevel
  • [RiskState <String>]: riskState
  • [UserDisplayName <String>]: Risky user display name.
  • [UserPrincipalName <String>]: Risky user principal name.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Activity <IMicrosoftGraphRiskUserActivity>]: riskUserActivity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Detail <String>]: riskDetail
    • [EventTypes <String- []>]: List of risk event types. Deprecated. Use riskEventType instead.
    • [RiskEventTypes <String- []>]: The type of risk event detected. The possible values are: anonymizedIPAddress, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel. For more information about each value, see Risk types and detection.
  • [InitiatedBy <String>]: The ID of actor that does the operation.
  • [UserId <String>]: The ID of the user.