0% found this document useful (0 votes)
49 views7 pages

SOP Task

The document outlines the procedure to assign an "Allowed Location" policy in Azure to restrict resource creation to selected locations. It involves navigating to the subscription and assigning the built-in "Allowed Locations" policy definition, selecting only the approved locations, then waiting 10 minutes for the policy to take effect. When attempting to create a resource in a non-allowed location, a validation error message will appear. The document walks through applying this policy to restrict virtual machine creation to only the "Central India" location.

Uploaded by

Nishan Shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views7 pages

SOP Task

The document outlines the procedure to assign an "Allowed Location" policy in Azure to restrict resource creation to selected locations. It involves navigating to the subscription and assigning the built-in "Allowed Locations" policy definition, selecting only the approved locations, then waiting 10 minutes for the policy to take effect. When attempting to create a resource in a non-allowed location, a validation error message will appear. The document walks through applying this policy to restrict virtual machine creation to only the "Central India" location.

Uploaded by

Nishan Shetty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

Texiio Global Pvt Ltd… www.texiio.

com

Document # Title: Print Date:


1A Allow Location Policy

Revision # Prepared By: Date Prepared:


1.0 Nishan 17-05-2023

Effective Date: Reviewed By: Date Reviewed:


20-05-2023 Rajesh [Date]

1. Purpose: - Assigned the policy “Allowed Location” to create resources in Azure


Portal.

2. Scope: - Affected area Azure portal- Policy and Resource Group and Resources.

3. Definitions: - Applied Policy Definition to selected location through Subscription


level.

4. Procedure: -

 Navigate to your subscription, then use search to find Policy.

 Once you are on policy, select Assignments on the left-hand menu.

 In the assignments blade, select Assign Policy

page 1 of 7
Texiio Global Pvt Ltd… www.texiio.com

 Once you are on the policy assignment, ensure you are on the subscription, then
you can choose any exclusions you might want to put in place.

 This could be useful to allow a specific resource group to bypass the policy.

 Next, you need to determine the policy definition.

 Here you can choose the policy definition to apply from the built-in policies, or
you can create your own custom policy.

 For this policy, we'll use a built-in policy called "Allowed Locations".

page 2 of 7
Texiio Global Pvt Ltd… www.texiio.com

 Now enter a description that makes sense, such as "India Location Only" Leave
the enforcement enabled, and then select "Next."

 On the next page, select the allowed location option and select the locations to
Policy then hit the Next button.

 Then create the policy with the Create button.

page 3 of 7
Texiio Global Pvt Ltd… www.texiio.com

 Once the policy is created, wait about 10 minutes to ensure the policy is applied.

 Then try to create a resource such as a Virtual Machine in any region other than
the allowed regions in your policy.

 And when you try to create the resource, you get a validation error which shows
the error message you created.

 With this in mind, you've now learned the first way you can use policy to control
your subscription.

 Using an appropriate built-in policy and applying it with the parameters you
desire.

page 4 of 7
Texiio Global Pvt Ltd… www.texiio.com

 In this image we changed the location to ‘Central India’ which is related to policy
definition.

 Then complete all the procedure and click Review + Create.

page 5 of 7
Texiio Global Pvt Ltd… www.texiio.com

 After Click Review button the New Virtual Machine is created in ‘Central India’
Location.

page 6 of 7
Texiio Global Pvt Ltd… www.texiio.com

 After completion of all procedure Virtual Machine is Created Successfully

page 7 of 7

You might also like