RDP to Azure VM via native Client Bastion with MFA Enabled

Niven Peter 86 Reputation points


Our objective is to connect to Azure VM using Bastion Host native client via Azure CLI with MFA enabled. The VM we are accessing is hybrid joined. We are able to get pass bastion host with MFA sucessfully prompted but facing error thereafter. Anyone face the similar issue:-

  1. Launch cmd and type Az login and sign in. Able to sign in successfully

User's image

  1. RDP shown
  2. User's image
  3. MFA prompt appears User's image
  4. Approve sign in
  5. User's image
  6. Prompt to allowremote desktop User's image
  7. Trying to connect User's image
  8. Error appears User's image

May I know if anyone have tried RDP using native bastion via cli with MFA?


Niven Peter

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
235 questions
{count} votes