Using Tags in Microsoft Azure

Share this:

When using Azure Resource Manager deployment model the administrator can use Tags, which helps to organize resources and categorize them in a simple way.

Solution


The tag feature is only available on the Azure Resource Manager deployment model and using PowerShell, and besides of the categorization benefit, we can also use the same tags on the billing reports.

Using Tags..

Before starting using the Tags, these following points can help to use better the tag resource.

  • Create a consistent standard for your Tags
  • Pay attention for spaces, a tag “ServiceOwner” and “Service Owner” are two different tags because of the space between the words
  • You have to type in the Tags (including Key and Value) on new objects (Resource Groups, VMs and etc), the existent ones are not listed

The tags are exposed on the Azure Preview Portal, in the example below we are checking a specific resource group called azana-rg-exchange, and then we can click on Tags icon located on the right-upper side of the blades, and the new blade is where we can define the key and its value.

image

A best practice is to keep consistency of the tags among all resources, for this Tutorial we re going to use a couple of keys to identify the service, such as CostCenter, Department, Owner and ServiceName.

image

After defining the Tags, the administrator can click on Browse and then click on Tags. A list of all existent tags will be listed.

image

When we click on any given Tag a new blade will show up on the right side with all resources that have that tags.

image

If we click on a different Tag (in the example below Owner: Anderson Patricio) we can see that tag was used in two different Resource Groups and they are listed on the right side.

image

Another way to use Tags, is to click on and pin them to the dashboard.

image

This way by clicking on the tag the administrator has easy access to all resources associated to that tag.

image

Tags and the billing report…

Another benefit of using tag is the ability to use them on the billing report, and by doing that we can charge back a specific service based on Tags. When exporting the usage of the Microsoft Azure, make sure to download the Version 2 – Preview

image

A csv file will be downloaded, and a column Tags will be available and you can filter using Excel to get the exact cost of any given service/resource associated to a tag.

image

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Software-Defined Networking with Windows Server an... Free online event with live QA with the WAP team: http://aka.ms/WAPIaaS Two half-days – Wednesday July 16th & Thursday July 17th – 9am-1pm PST ...
Azure Cloud Shell Everywhere WOW! Microsoft did it again! If you didn’t saw the announcements at the Microsoft Build 2017 Conference, you should! They announce a lot of new thing...
How to install Azure Storage Explorer on macOS Microsoft Azure is a multi-platform solution, and for the IT Pro we can chose which platform we want to use to manage the servicem including macOS, Li...
How to enable synchronization after configuration ... When using Microsoft Azure Active Directory Connect (Azure AD Connect), the administrator has an option at the end to start the synchronization right ...