Allow SKU in azure

Glenn Maxwell 10,106 Reputation points
2022-05-26T18:43:23.63+00:00

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
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
788 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 19,686 Reputation points
    2022-05-30T07:47:16.73+00:00

    Hi @Glenn Maxwell ,

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful