Azure / Azure/azure-rest-api-specs

[BUG] VirtualMachineScaleSetVMRunCommands_Delete returns InternalOperationError

Open
#35,784 0 comments 0 reactions 0 assignees View on GitHub
bug Compute - VMSS customer-reported Mgmt Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/ComputeRP.json#L9435

### API Spec version

2024-11-01

### Describe the bug

When calling API to delete a managed run command for a VM in a VM ScaleSet, it failed with `InternalOperationError`. It also blocks the use of sdk & azure cli method.

### Expected behavior

The API should be able to complete the operation to delete the run command.

### Actual behavior

The API returned `InternalOperationError` instead of a callable poller.

### Reproduction Steps

calling API:
```
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}?api-version=2024-11-01
```

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the ComputeRP.json operation at line 9435 and review the 2024-11-01 DELETE endpoint for VM Scale Set run commands. Reproduce the request against the documented URL, then compare the API response with the expected successful poller behavior; done means the delete operation completes without InternalOperationError.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.