Azure / Azure/azure-cli

VM creation failure should output the correlation ID of the creation operation

Open
#14,770 1 comment 0 reactions 1 assignee Claimed by @qwordy View on GitHub
act-observability-squad Compute feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
When a command such as `az vm create` fails, it returns the correlation ID of the operation that was used to check the deployment status, rather than the correlation ID of the original long-running operation.

**To Reproduce**
Create a VM in a way that the long-running operation fails (for example, setting unsatisfiable constraints).

**Expected behavior**
I'd expect to get the correlation ID for the original creation operation.

I work in the Microsoft Azure ARM SRE team, and this would help me troubleshoot those failures rather than having to look for the original correlation ID in our internal logs.

**Environment summary**
Not relevant.

**Additional context**
Feel free to reach out to me at andreas@microsoft.com for more context or examples.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.