Using Tags for Resource Groups in Azure

You apply tags to your Azure resources giving metadata to logically organize them into a taxonomy. Each tag consists of a name and a value pair.

For example, you can apply the name “Environment” and the value “Production” to all the resources in production.

After you apply tags, you can retrieve all the resources in your subscription with that tag name and value. Tags enable you to retrieve related resources from different resource groups. This approach is helpful when you need to organize resources for billing or management.

The following limitations apply to tags:

Not all resource types support tags. To determine if you can apply a tag to a resource type.

Each resource or resource group can have a maximum of 15 tag name/value pairs. This limitation applies only to tags directly applied to the resource group or resource. A resource group can contain many resources that each have 15 tag name/value pairs. If you have more than 15 values that you need to associate with a resource, use a JSON string for the tag value. The JSON string can contain many values that are applied to a single tag name.

The tag name is limited to 512 characters, and the tag value is limited to 256 characters. For storage accounts, the tag name is limited to 128 characters, and the tag value is limited to 256 characters.

Virtual Machines are limited to a total of 2048 characters for all tag names and values.

Tags applied to the resource group are not inherited by the resources in that resource group.

Tags can’t be applied to classic resources such as Cloud Services.

Tag names can’t contain these characters: <, >, %, &, \, ?, /

This blog post shows how to configure Azure Resource Tags in the portal.

Abou is a Microsoft Azure MVP and IT Pro with over 9 years of experience in the industry.
He focuses on Microsoft technologies. Starting as a support engineer and Microsoft Certified Trainer at IPMC Ghana, he has worked up through the ranks of System Engineering, IT infrastructure Consultant and Cloud Solution Architect. He has deployed several complex solutions for Multi-national Corporations and Governmental Agencies. He is fluent in French and English.
Currently, Abou Conde is a Senior Infrastructure Consultant at Axxend Corporation. Prior to joining Axxend, Abou Conde worked at Global Information Technology Solutions (GITS) IT Company in Ghana, specializing in Enterprise Architecture both on-premise and in the cloud.
Abou is a leader in the IT professional community, Speaker and Blogger.
He is the Founder of Microsoft User Group Ghana Community – The Place where Microsoft Experts Level up. He is also an ambassador for the aOS (Azure, office365, SharePoint) Community.