STEP1
1a: In your azure portal, search and select "Policy"
STEP 2
2a: Click on "Assignments"
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 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 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
Step 6d and 6e image
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"
Top comments (0)