DEV Community

tomia456
tomia456

Posted on

Create a policy assignment that requires tagging to a Microsoft Azure Resource

                             Part 1
Enter fullscreen mode Exit fullscreen mode

Creating a Policy

Step 1

Go to search bar, Search and Click on Policy

Image description

Step 2

Click and Select Assignments

Image description

Step 3

Click and Select Assign policy

Image description

Step 4

Click and Select the blue beside the policy definition

Image description

Step 5

Search and Select your desire policy in the case i´ll be choosing Resource Tagging

Image description

Step 6

Select and Click on Add to assign the policy

Image description

Step 7

Fill the your corresponding Tag name and Tag values i.e
Name: Animal
Value: Dog

Image description

Step 8

Select and CLick Review + Create

Image description

Step 9

Select and Click Create

Image description

Step 10

Image description

Congratulations

Your policy has been created and can now be assigned to any resource of your choice

NOTE:
That will be the end Make sure to always delete Azure Resource when they are not in use

Top comments (0)