POWERSHELL COMMAND
Set-XdrCloudAppsDiscoveredApp
Updates a discovered app note in Microsoft Defender for Cloud Apps.
Updates the admin note for a discovered Cloud Apps application. This is the only live-validated discovered-app write surface currently exposed.
Syntax
Set-XdrCloudAppsDiscoveredApp [-AppId] <string> [-Note] <string> [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters
-AppId
| Property | Value |
|---|---|
| Type | String |
| Required | Yes |
| Position | 1 |
| Pipeline input | true (ByPropertyName) |
| Default | Not documented |
The unique identifier of the discovered app to update.
-Note
| Property | Value |
|---|---|
| Type | String |
| Required | Yes |
| Position | 2 |
| Pipeline input | No |
| Default | Not documented |
The note text to set for the discovered app.
-WhatIf
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Prompts for confirmation before updating the discovered app note.
Examples
Set-XdrCloudAppsDiscoveredApp -AppId "12345" -Note "Approved for marketing team use"
Sets a note on the discovered app.
Output
Type: System.Management.Automation.PSObject