VM creation failure should output the correlation ID of the creation operation
- 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
Assessment
This issue has not been assessed yet.