Unlocking the Full Potential of Defender Cloud Apps with Custom Tag Limits

Microsoft Defender for Cloud Apps allows you to create custom app tags to better categorize and manage your cloud apps. However, there is a known limitation in the number of custom tags you can create using the UI.

As stated in the question, NoraZhang has already added 10 custom tags without any issues, bringing the total to 13 with the existing Sanctioned, Unsanctioned, and Monitored tags. When attempting to add the next custom tag, the Add app Tag option is grayed out, indicating that there is a maximum number of custom tags that can be created using the UI.

Unfortunately, Microsoft does not provide an official documentation or KB article that clearly states the maximum number of custom tags that can be created using the Defender for Cloud Apps UI. However, based on user reports and experiments, it appears that the maximum number of custom tags is limited to 15.

To create more than 15 custom tags, you may need to use PowerShell commands to manage app tags. Microsoft provides a set of PowerShell cmdlets for Defender for Cloud Apps that can be used to create, update, and delete app tags. Here are some examples of how to create custom app tags using PowerShell:

1. Create a new custom tag:

“`

$tagName = “MyCustomTag”

$tagDescription = “This is my custom tag.”

New-DefenderCloudAppTagName -Name $tagName -Description $tagDescription

“`

2. Add an existing app to the custom tag:

“`

$appId = “AppId1234567890”

$tagName = “MyCustomTag”

Add-DefenderCloudAppToTagName -AppId $appId -TagName $tagName

“`

3. Remove an app from a custom tag:

“`

$appId = “AppId1234567890”

$tagName = “MyCustomTag”

Remove-DefenderCloudAppFromTagName -AppId $appId -TagName $tagName

“`

You can find more information about the PowerShell cmdlets for Defender for Cloud Apps in the Microsoft Documentation.

In summary, while there is no official documentation or KB article that states the maximum number of custom tags that can be created using the Defender for Cloud Apps UI, it appears that the limitation is 15 custom tags. If you need to create more than 15 custom tags, you may need to use PowerShell commands to manage app tags.