Azure / Azure/azure-cli

[Reference feedback]: Information for connecting container instance to log analytics workspace is incorrect

Open
#31,696 3 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Auto-Assign Container Instances customer-reported needs-triage Possible-Solution Service Attention Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Type of issue

Code doesn't work

### Reference command name

az container create

### Feedback

this doc here is misleading: https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest#az-container-create

![Image](https://github.com/user-attachments/assets/4bf4df96-1787-4020-9a34-39ec1f4e888d)


references to "myworkspace" and "workspace name" are incorrect. only log analytics workspace id (not name or azure resource ID) works here.

the more detailed documentation for the field itself also has this error:


![Image](https://github.com/user-attachments/assets/429a2334-f715-4fdc-804c-1652222fcf50)

### Page URL

https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest#az-container-create

### Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/container.yml

### Author

@mikefrobbins

### Document Id

84cb9ad2-ff8a-2428-07f9-d6895d3fa26f

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.