@Rahul Hatzade Apologies for the delay in response and all the inconvenience caused because of the issue.
Using Azure Bastion, you can securely and seamlessly connect to your virtual machines over SSL directly in the Azure portal. When you use Azure Bastion, your VMs don't require a client, agent, or additional software.
Azure Bastion provides secure connectivity to all of the VMs in the virtual network in which it is provisioned. Using Azure Bastion protects your virtual machines from exposing RDP/SSH ports to the outside world, while still providing secure access using RDP/SSH.
You can refer to this for more information.
Below article might be helpful as well:
Hope it helps!!!
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.