POWERSHELL COMMAND
Get-XdrCloudAppsGovernance
Retrieves governance data from Microsoft Defender for Cloud Apps and App Governance.
Retrieves live-validated App Governance summary, app, policy, label, user profile, and tenant metric data.
Syntax
Get-XdrCloudAppsGovernance [[-Type] <string>] [[-Id] <string>] [-Raw] [-Force] [<CommonParameters>]
Parameters
-Type
| Property | Value |
|---|---|
| Type | String |
| Required | No |
| Position | 1 |
| Pipeline input | No |
| Default | Summary |
Governance data type to retrieve.
-Id
| Property | Value |
|---|---|
| Type | String |
| Required | No |
| Position | 2 |
| Pipeline input | true (ByPropertyName) |
| Default | Not documented |
Identifier for item-specific governance queries.
-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-XdrCloudAppsGovernance
Retrieves an App Governance summary.
Get-XdrCloudAppsGovernance -Type App
Retrieves App Governance app data.