← All XDRInternals commands

POWERSHELL COMMAND

Get-XdrConfigurationUnifiedRBACWorkload

Retrieves Unified RBAC workload configuration from Microsoft Defender XDR.

View source ↗

Gets the Unified RBAC workload configuration for all workloads from the Microsoft Defender XDR portal, including workload eligibility, provisioning status, URBAC enablement, and cloud scoping activation status. This function includes caching support with a 30-minute TTL to reduce API calls.

Syntax

Get-XdrConfigurationUnifiedRBACWorkload [-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-XdrConfigurationUnifiedRBACWorkload
Retrieves the Unified RBAC workload configuration using cached data if available.
Get-XdrConfigurationUnifiedRBACWorkload -Force
Forces a fresh retrieval of the Unified RBAC workload configuration, bypassing the cache.

Output

Type: Array

Returns an array of objects containing workload configuration details with cloud scoping activation status.

View source