Keep getting SKU not avilable despite az vm list-skus lists no restrictions

Antonin Jelinek (CZ) 21 Reputation points
2021-09-07T14:36:00.16+00:00

I'm using Visual Studio MSDN License subscription I got from my employer. I'm trying to start a SPOT Standard_D4s_v4 VM in northeurope location. Command az vm list-skus --location northeurope --size Standard_D4 --all --output table lists no restriction however I'm still getting validation error:

The requested size for resource '/subscriptions/<subscription-id>/resourceGroups/TestDevopsDeploy/providers/Microsoft.Compute/virtualMachines/<vm-name>' is currently not available in location 'northeurope' zones '' for subscription <subscription-id>

I've also tried in other locations with the same result.

Just wondering whether this is caused by some settings on my subscription?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,059 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,366 Reputation points Microsoft Employee Moderator
    2021-09-08T03:30:28.67+00:00

    Hello @Antonin Jelinek (CZ) ,
    Thanks for reaching out to Microsoft Q&A.
    Probably that VM is not available for your subscription under SPOT instances. Did you try by un-checking the SPOT instance flag ? Also try deploying the same SKU by removing zones.

    What is the error Key code you were getting ?
    As per the document , search for the error key codes here : https://learn.microsoft.com/en-us/azure/virtual-machines/error-codes-spot
    Check out the SPOT VM limitations: https://learn.microsoft.com/en-us/azure/virtual-machines/spot-vms

    Regards,
    Shiva.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.