az ssh vm --subscription flag doesn't work for subscriptions in different tenants. #30119
Labels
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
Auto-Assign
Auto assign by bot
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
SSH
VM SSH
Describe the bug
When using the
--subscription
flag withaz ssh vm
, I can't access a VM that lives inside a subscription of a different tenant than the tenant of the active subscription.Related command
az ssh vm
Errors
Issue script & Debug output
In the debug log we can see that some request is made to the tenant of the active subscription.
Expected behavior
If this works:
then
should also work.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: