Getting error from 2 days while connecting to Azure Bastion Windows RDP.

"key":"Permission Denied."

Any suggestions.

Thanks,

Hello @Kulkarni, Amay (HBO-NS) ,

Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

Could you please let me know how you are trying to connect to Azure Bastion? Is it via Azure portal?

Are you using Azure AD authentication?

Could you please share a screenshot of the error which you are receiving?

Regards,

@Kulkarni, Amay (HBO-NS) , if you are getting a black screen when connecting to Azure Bastion, you can refer the below troubleshooting section:

https://learn.microsoft.com/en-us/azure/bastion/troubleshoot#blackscreen

You also mentioned that you are getting a permission denied error. Is it possible for you to share a screenshot?

Please note that it is working in Microsoft Edge browser in same network but not in Google Chrome.

{"message":"Permission Denied.","translatableMessage":{"key":"Permission Denied.","variables":null},"statusCode":null,"expected":null,"type":"PERMISSION_DENIED"}
						

@Kulkarni, Amay (HBO-NS)

Thank you for posting your query on Microsoft Q&A.

The "Permission Denied" error message typically indicates that the user doesn't have the necessary permissions to access the resource they are trying to connect to. To resolve the issue, you can try the following steps:

  • Check if the user has the correct permissions for the resource they are trying to access.
  • Make sure the user is logging in with the correct credentials.
  • Check if the resource is available and not blocked by a firewall or network configuration.
  • Try accessing the resource using a different account to see if the issue is specific to the user's account.
  • Logs can provide more information about the error and help you resolve the issue.

    For the "Permission Denied" error when connecting to Azure Bastion for Windows RDP, you can check the following logs for more information:

  • Azure Bastion logs: Azure Bastion logs information about connection attempts and errors. You can access the logs from the Azure portal by navigating to the Azure Bastion resource and clicking on "Diagnostic logs. "https://learn.microsoft.com/en-us/azure/bastion/diagnostic-logs
  • By reviewing these logs, you may be able to identify the root cause of the "Permission Denied" error and take the appropriate steps to resolve it.