Share via


Update-MgSecurityIdentity

Update the navigation property identities in security

Note

To view the beta release of this cmdlet, view Update-MgBetaSecurityIdentity

Syntax

UpdateExpanded (Default)

Update-MgSecurityIdentity
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-HealthIssues <IMicrosoftGraphSecurityHealthIssue[]>]
    [-Id <string>]
    [-Sensors <IMicrosoftGraphSecuritySensor[]>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Update

Update-MgSecurityIdentity
    -BodyParameter <IMicrosoftGraphSecurityIdentityContainer>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

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

Parameter sets

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

-BodyParameter

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

Parameter properties

Type:Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityIdentityContainer
Supports wildcards:False
DontShow:False

Parameter sets

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

-Break

Wait for .NET debugger to attach

Parameter properties

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

Parameter sets

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

-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

(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:System.Collections.IDictionary
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

-HealthIssues

Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. To construct, see NOTES section for HEALTHISSUES properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityHealthIssue[]

Supports wildcards:False
DontShow:False

Parameter sets

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

-HttpPipelineAppend

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

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

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

-HttpPipelinePrepend

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

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
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:System.String
Supports wildcards:False
DontShow:False

Parameter sets

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

-Proxy

The URI for the proxy server to use

Parameter properties

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

Parameter sets

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

-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

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

-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

(All)
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:System.String
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

-Sensors

Represents a customer's Microsoft Defender for Identity sensors. To construct, see NOTES section for SENSORS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecuritySensor[]

Supports wildcards:False
DontShow:False

Parameter sets

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

-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

(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.PowerShell.Models.IMicrosoftGraphSecurityIdentityContainer

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityIdentityContainer

{{ 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 <IMicrosoftGraphSecurityIdentityContainer>: identityContainer [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [HealthIssues <IMicrosoftGraphSecurityHealthIssue[]>]: Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. [Id <String>]: The unique identifier for an entity. Read-only. [AdditionalInformation <String[]>]: Contains additional information about the issue, such as a list of items to fix. [CreatedDateTime <DateTime?>]: The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Description <String>]: Contains more detailed information about the health issue. [DisplayName <String>]: The display name of the health issue. [DomainNames <String[]>]: A list of the fully qualified domain names of the domains or the sensors the health issue is related to. [HealthIssueType <String>]: healthIssueType [IssueTypeId <String>]: The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. [LastModifiedDateTime <DateTime?>]: The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Recommendations <String[]>]: A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. [RecommendedActionCommands <String[]>]: A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. [SensorDnsNames <String[]>]: A list of the DNS names of the sensors the health issue is related to. [Severity <String>]: healthIssueSeverity [Status <String>]: healthIssueStatus [Sensors <IMicrosoftGraphSecuritySensor[]>]: Represents a customer's Microsoft Defender for Identity sensors. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time when the sensor was generated. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentStatus <String>]: deploymentStatus [DisplayName <String>]: The display name of the sensor. [DomainName <String>]: The fully qualified domain name of the sensor. [HealthIssues <IMicrosoftGraphSecurityHealthIssue[]>]: Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. [HealthStatus <String>]: sensorHealthStatus [OpenHealthIssuesCount <Int64?>]: This field displays the count of health issues related to this sensor. [SensorType <String>]: sensorType [Settings <IMicrosoftGraphSecuritySensorSettings>]: sensorSettings [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Description of the sensor. [DomainControllerDnsNames <String[]>]: DNS names for the domain controller [IsDelayedDeploymentEnabled <Boolean?>]: Indicates whether to delay updates for the sensor. [NetworkAdapters <IMicrosoftGraphSecurityNetworkAdapter[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [IsEnabled <Boolean?>]: Indicates whether the network adapter is selected for capturing and analyzing network traffic. [Name <String>]: The name of the network adapter. [Version <String>]: The version of the sensor.

HEALTHISSUES <IMicrosoftGraphSecurityHealthIssue[]>: Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. [Id <String>]: The unique identifier for an entity. Read-only. [AdditionalInformation <String[]>]: Contains additional information about the issue, such as a list of items to fix. [CreatedDateTime <DateTime?>]: The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Description <String>]: Contains more detailed information about the health issue. [DisplayName <String>]: The display name of the health issue. [DomainNames <String[]>]: A list of the fully qualified domain names of the domains or the sensors the health issue is related to. [HealthIssueType <String>]: healthIssueType [IssueTypeId <String>]: The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. [LastModifiedDateTime <DateTime?>]: The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Recommendations <String[]>]: A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. [RecommendedActionCommands <String[]>]: A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. [SensorDnsNames <String[]>]: A list of the DNS names of the sensors the health issue is related to. [Severity <String>]: healthIssueSeverity [Status <String>]: healthIssueStatus

SENSORS <IMicrosoftGraphSecuritySensor[]>: Represents a customer's Microsoft Defender for Identity sensors. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time when the sensor was generated. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [DeploymentStatus <String>]: deploymentStatus [DisplayName <String>]: The display name of the sensor. [DomainName <String>]: The fully qualified domain name of the sensor. [HealthIssues <IMicrosoftGraphSecurityHealthIssue[]>]: Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. [Id <String>]: The unique identifier for an entity. Read-only. [AdditionalInformation <String[]>]: Contains additional information about the issue, such as a list of items to fix. [CreatedDateTime <DateTime?>]: The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Description <String>]: Contains more detailed information about the health issue. [DisplayName <String>]: The display name of the health issue. [DomainNames <String[]>]: A list of the fully qualified domain names of the domains or the sensors the health issue is related to. [HealthIssueType <String>]: healthIssueType [IssueTypeId <String>]: The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. [LastModifiedDateTime <DateTime?>]: The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. [Recommendations <String[]>]: A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. [RecommendedActionCommands <String[]>]: A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. [SensorDnsNames <String[]>]: A list of the DNS names of the sensors the health issue is related to. [Severity <String>]: healthIssueSeverity [Status <String>]: healthIssueStatus [HealthStatus <String>]: sensorHealthStatus [OpenHealthIssuesCount <Int64?>]: This field displays the count of health issues related to this sensor. [SensorType <String>]: sensorType [Settings <IMicrosoftGraphSecuritySensorSettings>]: sensorSettings [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Description of the sensor. [DomainControllerDnsNames <String[]>]: DNS names for the domain controller [IsDelayedDeploymentEnabled <Boolean?>]: Indicates whether to delay updates for the sensor. [NetworkAdapters <IMicrosoftGraphSecurityNetworkAdapter[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [IsEnabled <Boolean?>]: Indicates whether the network adapter is selected for capturing and analyzing network traffic. [Name <String>]: The name of the network adapter. [Version <String>]: The version of the sensor.