Hi Sahana A E,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out, and we hope you are doing well.
We understand that you are unable to access your VM. Based on the information you provided, please refer to the steps given in this link: Windows Temporary User Profile.
And try to connect to the VM using Bastion once your VM is accessible.
If your issue persists kindly let us know if you are able to complete the following:
- Make sure the VM is on Running state.
- Is this a windows VM or a Linux VM?
- Can you assign a public IP to the VM, allow NSG and try to access the VM.
- Can you access the VM from another VM in the same subnet using its private IP?
- Can you use this Bastion and access a different VM in the same subnet?
- Make sure you are allowing IP ranges from Bastion subnet in the destination VM's NSG.
If this answers your query, do click Accept Answer
and Upvote, so that it is useful to others in the community.