VM azure qui ne demarre pas

Gregory Meurant 0 Points de réputation
2025-10-28T11:16:21.79+00:00

L’erreur que vous rencontrez — “la zone de disponibilité FranceCentral-1 n’a pas la capacité nécessaire pour prendre en charge l’allocation de la VM” — est liée à une indisponibilité temporaire de capacité dans la zone sélectionnée pour la taille de VM demandée (Standard_B2as_v2). Ce type de problème est connu dans Azure et peut survenir lorsque la demande dépasse les ressources disponibles dans une zone spécifique.

Machines virtuelles Azure
Machines virtuelles Azure
Service Azure utilisé pour provisionner des machines virtuelles Windows et Linux.
{count} votes

1 réponse

Trier par : Le plus utile
  1. Manish Deshpande 1,330 Points de réputation Personnel externe Microsoft Modérateur
    2025-10-28T12:18:42.2333333+00:00

    Hello Grégory Meurant

    Welcome to Microsoft Q&A.

    • If you see "Allocation failed. We do not have sufficient capacity for the requested VM size in this zone," it just means Azure doesn’t have enough available resources for that VM size in the zone and region you picked.
    • This isn’t an issue with your setup , it's just that Azure's infrastructure is full at the moment, which can happen with bigger or more unique VM sizes, or when demand is high.

    Please follow these steps:

    • Try switching to another Availability Zone or region to see if you can get capacity for your VM size.
    • If you leave the AZ field blank, Azure will pick a zone for you automatically—no need to pin it.
    • You could also check out different VM sizes with az vm list-skus --location francecentral --zone 1.
    • Using VM Scale Sets is a good way to boost availability and let Azure handle zone distribution for you.
    • Deallocate and restart VMs in your availability sets to give Azure another shot at allocating resources.
    • Keep an eye on Azure Service Health for any updates about capacity in your region. If you’re using availability zones, sometimes just picking a different zone in the same region does the trick.
    • When resizing a VM or adding one to an existing availability set, make sure you do it on the original cluster—the VM size should be supported, but capacity might be tight.
    • If you’re cool with using a different availability set, just create a new VM in another set within the same region and hook it up to the same virtual network.
    • To batch start VMs, first deallocate all VMs in the same availability set, then start them together.
    • To stop VMs: Go to Resource groups > Resources > Virtual Machines > Stop.
    • Once they’re all stopped, head to Home > Virtual machines, filter by Availability set, and group by availability set.
    • Select all the VMs you want and hit Start.

    This step makes sure that a new allocation attempt is run and that a new cluster can be selected that has sufficient capacity.

    For detailed information, please check: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/allocation-failure

    If you have any further queries, do let us know.
    Thanks,
    Manish Deshpande.

    0 commentaires Aucun commentaire

Votre réponse

Les réponses peuvent être signalées comme « Acceptée » par l’auteur de la question et « Recommandée » par les modérateurs afin de permettre aux utilisateurs de savoir quelle réponse a permis à l’auteur de résoudre son problème.