

Start the command prompt with elevated privileges and enter the following (customized with your information, of course). When you click on "Locations" you will immediately see that you cannot select an account from Azure AD. Remove the "Allow connections." option and click "Select Users". Type sysdm.cpl and navigate to the Remote tab. In the virtual machine, navigate to Start and invoke "run". In the virtual machine I start the command prompt and use dsregcmd /status. Now we connect to the virtual machine using RDP, but ATTENTION, I use the account I created when I created the virtual machine (not an Azure AD account). If you want to log in as a standard user, you can work with the second role. If you need local admin rights you need the first role. publisher \Īfter the virtual machine is created we need to work with Role based Access Control RBAC. You can do this with the Azure Cloud Shell, in a Bash terminal. If you want to work with an existing virtual machine you need to install the extension. Except for Management I set the following settings. Next I create a new virtual machine with the default settings (including a public IP address and yes this is not good, but this demo absolutely OK). This will contain the account I will use later for the login.ĪTTENTION: Use the appropriate Windows OS => Windows Server 2019 Datacenter edition and later or Windand later First of all, I create a group in Azure Active Directory. I want to connect from my local system which is not registered or joined in Azure. So I take another close look at the article and discover the following:īut that's exactly not the case with me. Why does this error message appear now? Have I done something wrong? I am going through all the steps again. So I have worked through the steps and now I want to log on to the virtual machine with an Azure Active Directory account. So far, everything is actually in perfect order.

This article is about the login to Windows virtual machine in Azure using Azure Active Directory authentication and what needs to be considered in the process.
