Skip to content

"az monitor app-insights component create" fails with HTTP Error #3011

Open

Description

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az monitor app-insights component create Extension Name: application-insights. Version: 0.1.13.

Errors:

'HTTPError' object has no attribute '_message'
Traceback (most recent call last):
cliextensions/application-insights/azext_applicationinsights/custom.py, ln 74, in create_or_update_component
    return client.create_or_update(resource_group_name, application, component)
mgmt_applicationinsights/v2020_02_02_preview/operations/_components_operations.py, ln 359, in create_or_update
...
cliextensions/application-insights/azext_applicationinsights/custom.py, ln 76, in create_or_update_component
    ex.error._message = ex.error._message + HELP_MESSAGE
AttributeError: 'HTTPError' object has no attribute '_message'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az monitor app-insights component create --app {} --location {} --kind {} -g {} --workspace {}

Expected Behavior

An Application Insights resource is created and connected to a workspace

Environment Summary

Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.19.1

Extensions:
application-insights 0.1.13

Additional Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

MonitorService AttentionThis issue is responsible by Azure service team.feature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions