Skip to main content

Set-XdrCloudAppsDiscoveredApp

SYNOPSIS​

Updates a discovered app note in Microsoft Defender for Cloud Apps.

SYNTAX​

Set-XdrCloudAppsDiscoveredApp [-AppId] <String> [-Note] <String> [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]

DESCRIPTION​

Updates the admin note for a discovered Cloud Apps application. This is the only live-validated discovered-app write surface currently exposed.

EXAMPLES​

EXAMPLE 1​

Set-XdrCloudAppsDiscoveredApp -AppId "12345" -Note "Approved for marketing team use"

Sets a note on the discovered app.

PARAMETERS​

-AppId​

The unique identifier of the discovered app to update.

Type: String
Parameter Sets: (All)
Aliases: pk, Id, _id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Note​

The note text to set for the discovered app.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf​

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm​

Prompts for confirmation before updating the discovered app note.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

The ProgressAction parameter is a common parameter, not a cmdlet parameter. For more information, see about_CommonParameters.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

System.Management.Automation.PSObject​

NOTES​