question

GlennMaxwell-2309 avatar image
0 Votes"
GlennMaxwell-2309 asked AnuragSingh-MSFT answered

Allow SKU in azure

Hi All

we have a policy in Azure to allow few SKUs only for example in D series few SKUS are allowed and similar with E series. i want to add another SKU to this policy. i am not sure how to check the policies and add the another SKU to it. experts please guide me.

azure-policy
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @GlennMaxwell-2309

Thank you for bringing our attention to this great question.

I am thinking of ARM policies as it is stated on the next article below:

https://docs.microsoft.com/en-us/azure/governance/policy/overview

Looking forward to your reply back,

Cheers : )

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

0 Votes 0 ·

1 Answer

AnuragSingh-MSFT avatar image
0 Votes"
AnuragSingh-MSFT answered

Hi @GlennMaxwell-2309,

Thanks for posting the question.

Based on my understanding, you already have a policy assigned to ensure that only certain SKUs are allowed for creating VM and you would like to include additional SKU to this allowed list. Please correct me if I misunderstood the question. To achieve it, please follow the steps below:

1. I am assuming that you are using the Allowed virtual machine size SKUs policy which is available in Azure Portal by default. You can verify it by going to the following in Azure Portal -
Azure Policy --> Assignments. Review the assigned policies here and select the corresponding assignment where the changes are to be made.

2. If you are using the Allowed virtual machine size SKUs policy assignment, click on it and select "Edit assignments" as shown below.

206589-image.png


3. Select "Parameters" tab --> and select the required SKUs from the drop-down menu titled "Allowed Size SKUs" as shown below. Select all the allowed SKUs here, that you want to be enabled.

206605-image.png

4. Click in "Review + save" --> "Save".

After a few minutes, the new set of SKUs as selected in the step 3 above would become active. Please let me know if you have any questions.

In case you are using some other policy, please share additional details with policy definition, if possible, so that we may understand the context better.


Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.



image.png (41.6 KiB)
image.png (35.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.