Not able to resize vmss, are there possible work arrounds or what would be the way to fix the azure 500 response.

Brian Alkema 20 Reputation points

We are trying to manually update the size of our VMSS. What is suggested online is going to the VMSS page and resize on the size page. What currently happens is that when the resize button is pressed we get a 500 internal server error from azure. We are not able to find a workaround for this VMSS scaling issue.

The error code we get is "InternalOperationError" with json content as:

"properties": {
        "statusCode": "InternalServerError",
        "serviceRequestId": null,
        "statusMessage": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "responseBody": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "eventCategory": "Administrative",
        "entity": "-------------",
        "message": "Microsoft.Compute/virtualMachineScaleSets/write",
        "hierarchy": "---------------------"

Does anyone have the same problem and if so, what is their workaround?

Thanks in advance.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,086 questions
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.
345 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,131 Reputation points Microsoft Employee

    Hello Brian Alkema,

    Are you still facing the error ? In the detailed logs there will be a correlationID - can you please pass on that ID?

    Can you retry resize operation using az cli , if it fails it will give detailed information of why it is failing?

    az vmss update --name vmssname --resource-group rgname --vm-sku skuname

    Is this VMSS part of Azure Kubernetes Service ? If yes - kindly don't perform any operations from VMSS end .



0 additional answers

Sort by: Most helpful