POWERSHELL COMMAND
Get-XdrStreamingApiConfiguration
Retrieves Streaming API configuration from Microsoft Defender XDR.
Gets the Streaming API data export settings from the Microsoft Defender XDR portal, including workspace properties and log streaming configuration. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Get-XdrStreamingApiConfiguration [-Force] [<CommonParameters>]
Parameters
-Force
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | False |
Bypasses the cache and forces a fresh retrieval from the API.
Examples
Get-XdrStreamingApiConfiguration
Retrieves the Streaming API configuration using cached data if available.
Get-XdrStreamingApiConfiguration -Force
Forces a fresh retrieval of the Streaming API configuration, bypassing the cache.
Output
Type: Array
Returns the value property containing streaming API export settings.