Muokkaa

Jaa


Apply tags with Azure portal

This article describes how to use the Azure portal to tag resources. For tag recommendations and limitations, see Use tags to organize your Azure resources and management hierarchy.

Add tags

If a user doesn't have the required access for adding tags, you can assign the Tag Contributor role to the user. For more information, see Tutorial: Grant a user access to Azure resources using RBAC and the Azure portal.

  1. To view the tags for a resource or a resource group, look for existing tags in the overview. If you have not previously applied tags, the list is empty.

    Screenshot of Azure portal showing tags for a resource group.

  2. To add a tag, select Click here to add tags.

  3. Provide a name and value.

    Screenshot of Azure portal with the Add Tag dialog box open.

  4. Continue adding tags as needed. When done, select Save.

    Screenshot of Azure portal with the Save button highlighted after adding tags.

  5. The tags are now displayed in the overview.

    Screenshot of Azure portal displaying newly added tags in the overview section.

Edit tags

  1. To add or delete a tag, select change.

  2. To delete a tag, select the trash icon. Then, select Save.

    Screenshot of Azure portal with the Delete Tag icon highlighted.

Add tags to multiple resources

To bulk assign tags to multiple resources:

  1. From any list of resources, select the checkbox for the resources you want to assign the tag. Then, select Assign tags.

    Screenshot of Azure portal showing multiple resources selected for bulk tag assignment.

  2. Add names and values. When done, select Save.

    Screenshot of Azure portal with the Assign Tags dialog box open for multiple resources.

View resources by tag

To view all resources with a tag:

  1. On the Azure portal menu, search for tags. Select it from the available options.

    Screenshot of Azure portal search bar with 'tags' entered and selected from the available options.

  2. Select the tag for viewing resources.

    Screenshot of Azure portal displaying a list of tags with one selected for viewing resources.

  3. All resources with that tag are displayed.

    Screenshot of Azure portal showing a list of resources filtered by the selected tag.

Next steps