Open freedge opened 1 year ago
Thank you for your feedback. This has been routed to the support team for assistance.
route to CXP team
@freedge I am able to reproduce this issue and checking internally on the same.
We use a dedicated SA for storing boot diagnostics for all VMs deployed across an organization. When is this bug expected to be fixed?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @CraigWiand.
dup of closed ticket https://github.com/Azure/azure-cli-extensions/issues/5535
Related command
az serial-console connect
Extension name (the extension in question)
serial-console
Description of issue (in as much detail as possible)
when creating a VM in one resource group, while having the boot-diagnostics in a storage account in a different resource group, az serial-console connect fails with
this is due to get_storage_account_info function using the VM resource group provided, to get properties for a storage account which it assumes would be in the same resource group. I attach a following patch (that extract all the storage accounts and look for the right one) which works for me, although it getx more data from Azure and needs the user to have rights to list service accounts. Maybe removing the entire "check_serial_console_enabled" logic would be more efficient. Thanks