Not able to delete VMSS. Seems like an issue with standby pool

Utsav Kejriwal 20 Reputation points
2025-10-13T15:35:31.47+00:00

az vmss delete --resource-group <rgname> --name <vmssname> --force-deletion 1 (InternalOperationError) Failed to delete Standby Pool Code: InternalOperationError Message: Failed to delete Standby Pool

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
{count} votes

Answer accepted by question author
  1. Jilakara Hemalatha 3,365 Reputation points Microsoft External Staff Moderator
    2025-10-13T17:27:47.6733333+00:00

    Hi Utsav Kejriwal,

    The (InternalOperationError)fFailed to delete Standby Pool message during a Virtual Machine Scale Set (VMSS) deletion indicates that the Standby Pool resource tied to the VMSS is preventing the operation from completing.

    The most effective solution is to delete the associated Standby Pool resource directly before attempting to delete the VMSS again.

    Identify the Standby Pool Name and delete it from portal:

    Navigate to Virtual Machine Scale set the standby pool is associated with. Under Availability + scale select Standby pool and delete the pool.

    Delete from CLI:

    az standby-vm-pool delete --resource-group <Your resource Group Name> --name <Your Standby Pool Name>
    

    And then try to delete the VMSS through below Azure CLI command

    az vmss delete --resource-group <Your resource Group Name> --name <Your VMSS Name> --force-deletion true
    

    Please refer below documentation: https://free.blessedness.top/en-us/azure/virtual-machine-scale-sets/standby-pools-update-delete?tabs=portal-2%2Cportal-3#delete-a-standby-pool

    Hope this helps! please let me know if you have any queries.

    If it is helpful! please accept the answer and upvote it. If you have any queries, please let me know in the comments


0 additional answers

Sort by: Most helpful

Your answer

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