Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

Do you know that you can logically organize your Azure resources by category? Once you login to Microsoft Azure portal, you can categorize them by using Tags. Tags enable you to retrieve related resources from different Resource Groups.

 

To know how to organize Azure resources using tags, let's discuss this in today's post as part of my Azure Tips and Tricks series.

 

How to organize resources and resource groups using 'Tags' in Azure Portal?

 

Tags are defined by using name/value pairs, which you can attach to any resource or resource group. Each resource or resource group can have a maximum of 15 tags associated with it and each tag can have a character limit on their name and value. There are some other limitations too, which we will be discussing at the end of the post.

 

How to tag an Azure Resource or Resource Group?

To define a tag, login to your Microsoft Azure Portal Dashboard and follow the below mentioned steps:

  • Select the resource or the resource group that you want to tag.
  • Within the left-side navigation panel of the resource or the resource group, click Tags.
  • As shown in the below screenshot, you can enter the name/value pair to create the tag for that resource or resource group:
    Create Azure tags by adding name/value pair
  • Click on Save button to save the tags and assign it to the associated resource or resource group.
  • Once saved, the assigned tags will get listed in the same screen, as shown below:
    Organizing Azure tags to logically identify them
  • You can have multiple tags assigned to a single resource or a single resource group with a upper limit of 15 tags. Please read the next point to know about the other limitations and key points while using Azure Tags.

 

Key points to remember while using Azure Tags

While you are working with Azure Tags, you must aware of the following key points and limitations of using tags:

  • You can apply tags to resources that support Azure Resource Manager operations.
  • Each resource or resource group can have a maximum of 15 tags associated with it.
  • The name of the tag is limited to 512 characters only.
  • The value of the tag is limited to 256 characters only.
  • For storage accounts, the name of the tag is limited to 128 characters only.
  • For storage accounts, the value of the tag is limited to 256 characters only.
  • Azure tag inheritance is not supported. That means, you can't inherit tags defined in the resource groups to its child resources.
  • You can't use the following special characters to define tag names: <, >, %, &, \, / and ?.

 

End Note

So, what did we learn today? We learned about Azure Tags, we learned how to tag an Azure Resource or a Resource Group. We also learned about the limitations and key points using Azure Tags. That's all for today! Don't forget to checkout my other Azure Tips and Tricks available on my blog.

 

 

Have a question? Or, a comment? Let's Discuss it below...

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.