Can't allocate Azure VM with spot discount

Michael Irvin 20 Reputation points
2023-07-25T15:10:40.6933333+00:00

Using my MSDN Professional Account, I get a certain monthly credit on Azure. I am able to allocate normal VMs, but when I try to use spot discounts, I get the error below. I have tried different regions (US East, US West, etc.), different VM types (D4_v4, D4as_v5, etc.), and there doesn't seem to be any restrictions on my "usage and quotas" page. Does anyone have any suggestions? If I uncheck "spot discount", the VM validation passes.

The resource with id: '/subscriptions/xxx/resourceGroups/Azure_VMs/providers/Microsoft.Compute/virtualMachines/Win11-22H2' failed validation with message: 'The requested size for resource '/subscriptions/xxx/resourceGroups/Azure_VMs/providers/Microsoft.Compute/virtualMachines/Win11-22H2' is currently not available in location 'eastus' zones '' for subscription 'xxx'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'. (Code: SkuNotAvailable)
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,373 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 103.7K Reputation points
    2023-07-25T15:13:25.2733333+00:00

    Hi Michael,

    Unfortunately you cannot use Spot with your MSDN Azure subscription. Only certain offer types are supported:

    https://learn.microsoft.com/en-us/azure/virtual-machines/spot-vms#limitations

    Please click Accept Answer if the above was useful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

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.