POWERSHELL COMMAND
Get-XdrCloudAppsConfiguration
Retrieves grouped Microsoft Defender for Cloud Apps configuration data.
Retrieves settings, about information, discovery streams, and other live-validated configuration data through a single grouped command.
Syntax
Get-XdrCloudAppsConfiguration [[-Type] <string>] [[-Limit] <int>] [[-Skip] <int>] [[-SortField] <string>] [[-SortDirection] <string>] [[-Filters] <hashtable>] [-Metadata] [-Raw] [-Force] [<CommonParameters>]
Parameters
-Type
| Property | Value |
|---|---|
| Type | String |
| Required | No |
| Position | 1 |
| Pipeline input | No |
| Default | Settings |
Configuration data type to retrieve.
-Metadata
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | False |
Retrieves metadata for configuration surfaces that expose metadata.
-Limit
| Property | Value |
|---|---|
| Type | Int32 |
| Required | No |
| Position | 2 |
| Pipeline input | No |
| Default | 100 |
Maximum number of grid records to request.
-Skip
| Property | Value |
|---|---|
| Type | Int32 |
| Required | No |
| Position | 3 |
| Pipeline input | No |
| Default | 0 |
Number of grid records to skip.
-SortField
| Property | Value |
|---|---|
| Type | String |
| Required | No |
| Position | 4 |
| Pipeline input | No |
| Default | name |
Field used to sort grid results.
-SortDirection
| Property | Value |
|---|---|
| Type | String |
| Required | No |
| Position | 5 |
| Pipeline input | No |
| Default | asc |
Sort direction for grid results.
-Filters
| Property | Value |
|---|---|
| Type | Hashtable |
| Required | No |
| Position | 6 |
| Pipeline input | No |
| Default | @{} |
Cloud Apps filters to include in the query body.
-Raw
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | False |
Returns the raw API response shape.
-Force
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | False |
Bypasses cache-backed requests.
Examples
Get-XdrCloudAppsConfiguration -Type DiscoveryStream
Retrieves Cloud Discovery streams.
Get-XdrCloudAppsConfiguration -Type Settings
Retrieves tenant-wide Cloud Apps settings.