An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
Hi @Vivekraj Md ,
please check if you have Network Security Groups (NSGs) deployed and related/associated with the VM or the subnet the VM is connected with.
In the NSG(s) you need to allow Port 3389 for RDP or/and Port 22 for SSH connections.
Same counts for firewalls. If there are firewalls to control communication/connections your might need rules to allow the connections between Azure Bastion and the VM.
Source: About Azure Bastion IP-based connection
Which Azure Bastion SKU Type are you using (Dev, or Basic)?
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten