Hi @DZ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Could you please provide the exact error you are encountering and share a screenshot of the error if possible? This will help us better understand your issue.
- Also, you can troubleshoot your connectivity issues by navigating to the Connection Troubleshoot tab (in the Help section) of your Azure Bastion resource in the Azure portal.
- Network Watcher Connection Troubleshoot provides the capability to check a direct TCP connection from a virtual machine (VM) to a VM, fully qualified domain name (FQDN), URI, or IPv4 address.
- To start, choose a source to start the connection from, and the destination you wish to connect to and select "Check".
- If just-in-time (JIT) is enabled, you might need to add additional role assignments to connect to Bastion. Add the following permissions to the user and then try reconnecting to Bastion.
- Also, configure diagnostic logging for Azure Bastion to get more information on the issue.
- As documented here, can you please confirm if the following roles are also assigned to the user account?
- Confirm that the remote access services (RDP for Windows, SSH for Linux) are running correctly.
- Check if any recent changes were made to the VM, network, or security settings before the issue started.
Kindly let us know if the above helps or you need further assistance on this issue.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution.