Open bn-jswick opened 1 year ago
Hi @bn-jswick Find similar issue https://github.com/Azure/azure-cli/issues/24957. | ||
---|---|---|
Issue title | running Scenario0_Hello_World ./create_resources.sh comes across "KeyError: 'resource_group'" | |
Create time | 2022-12-21 | |
Comment number | 6 |
Please confirm if this resolves your issue. Kindly react a 👍 or 👎 to this comment so that we can improve this robot.
Thank you for opening this issue, we will look into it.
This is autogenerated. Please review and update as needed.
Describe the bug
Receiving a Python error for unused
resource_group
key when trying to create a diagnostic setting to export subscription level events to an event hub in another subscription.Command Name
az monitor diagnostic-settings create
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Expected Behavior
Should be able to use the diagnostic-settings create command from the CLI tool to create a diagnostic export rule. When I don't have permissions to the event hub rule, I should instead get an error that I don't have permissions to list the keys of the event hub rule.
Environment Summary
Additional Context