-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az network bastion rdp - Command ignores current tenant #26451
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...Network - Bastionact-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...Network - Bastionact-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Related command
az network bastion rdp --name bastion-name --resource-group rg-name --target-resource-id /subscriptions/subid/resourceGroups/vm-aad-bakic/providers/Microsoft.Compute/virtualMachines/vm-aad-test --enable-mfa true
Describe the bug

When login is attempted following error is displayed.
To Reproduce
Create resources as instructed in:
Expected behavior
Being able to login to VM using AAD authentication.
Environment summary
Windows 11 21H2
"azure-cli": "2.48.1",
"azure-cli-core": "2.48.1",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"account": "0.2.5",
"bastion": "0.2.4"