Skip to content

Azure cli 2.45 unable to ssh bastion #25404

@shadowoftheknight

Description

@shadowoftheknight

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command
az network bastion ssh --name --resource-group rg-xmlint-hub-dev-uks --target-resource-id '/subscriptions//resourceGroups//providers/Microsoft.Compute/virtualMachines/' --auth-type AAD

Describe the bug
After upgrade from 2.33 on windows to 2.41 and above the following error missing required positional argument 'target_ip_addresss'

To Reproduce
Download azure cli on windows 2.41 and above and run the cmd from powershell

Expected behavior
Should be able to login

Environment summary
Windows 10

Additional context
This runs fine on ubuntu WLS2 for 2.41 and above.

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botNetworkaz network vnet/lb/nic/dns/etc...Network - BastionService AttentionThis issue is responsible by Azure service team.act-quality-productivity-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions