Skip to main content

Update-XdrConnectionSettings

SYNOPSIS​

Updates XDR connection session cookies and authentication tokens.

SYNTAX​

Update-XdrConnectionSettings [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

Refreshes the web session cookies and XSRF tokens for Microsoft Defender XDR by making a request to the portal. This function is called automatically by other XDR cmdlets to ensure the session remains valid.

EXAMPLES​

EXAMPLE 1​

Update-XdrConnectionSettings
Updates the XDR session cookies and headers.

PARAMETERS​

-ProgressAction​

The ProgressAction parameter is a common parameter, not a cmdlet parameter. For more information, see about_CommonParameters.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

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

INPUTS​

OUTPUTS​

NOTES​

This function requires an existing connection established by Connect-XdrByEstsCookie or Set-XdrConnectionSettings.