DEV Community

Lillie Mae
Lillie Mae

Posted on

1

HOW TO CREATE TAGS IN MICROSOFT AZURE AND HOW TO DELETE THEM.

STEP1
1a: In your azure portal, search and select "Policy"

Step 1a image: Image description

STEP 2
2a: Click on "Assignments"

Step 2a imageImage description

STEP 3
3a: Click on "Assign Policy"

STEP 4
4a: Click on policy definitions"
4b: Search for "Tag" in the search bar then choose "Require a tag and it’s value on resources" from the options.
4c: Click on Add"

Step 4a image Image description
Step 4b Image description

STEP 5
5a: Click on parameters" to input your Tag name and Tag value (Tag name can be a name of the environment while Tag value or the specifics of the environment).
5b: Click on review+create
5c: Click on create

Step 5a imagesImage description
Image description

STEP 6 -Creating a storage account to add the tag we just created.
6a: Go back to your Home page" and click on "storage account"
6b: Click on create
6c: Choose your subscription, choose a resource group or create a new one. Give your storage account a name, choose a region.
6d: Click on Tag" heading.
6e: Add the name and value you used in step 5.
6f: Click on review then click on create.

Step 6a image Image description
Step 6d and 6e image
Image description

STEP 7 Deleting the tag we just created
7a: Go back to the Home page, On the search bar, search and select 'Policy
7b: Click on "Require a tag and it’s value on resource"
7c: Click on "Delete Assignment"

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay