Azure / Azure/azure-cli

AZ CLI should show error details or provide documentation on how to find error details

Open
#17,973 4 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Service Attention Synapse
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

When a Synapse workspace command fails, instead of providing the detailed error, there's an error message that says to refer to error details for more information.

Sample error:
![image](https://user-images.githubusercontent.com/15189666/117209632-3768bd00-adbc-11eb-97fa-c487d8c1714a.png)

To reproduce:
1. Run `az synapse workspace key update --key-identifier xxx --is-active true --workspace-name xxx --resource-group xxx --name xxx` with a synapse workspace that's had encryption activated, and recently been given access to the Key.
2. Attempt to activate the workspace through this command
3. Run into an error saying to check error details that aren't visible.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: fa3bcbf2-292f-d579-5f93-2204f273dc09
* Version Independent ID: 78529488-9766-9230-bb35-494ad6032022
* Content: [az synapse workspace key](https://docs.microsoft.com/en-us/cli/azure/synapse/workspace/key?view=azure-cli-latest#az_synapse_workspace_key_update)
* Content Source: [latest/docs-ref-autogen/synapse/workspace/key.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/synapse/workspace/key.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

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.