Author : MD TAREQ HASSAN | Updated : 2021/02/08
Requirements
- Azure AD Premium
- to use “Login with Azure AD Credentials”
- if you are using Azure Free Trial:
- you will get Azure AD Basic which did not work for me (“Login with Azure AD Credentials” option was not available while creating VM)
- Update (October, 2021): “Login with Azure AD” is possible with “Azure AD Free” but “Pay-As-You-Go Dev/Test” Subscription
- If you or your company uses Microsoft 365 Business Premium or any other enterprise plan (i.e E5) then you will get “Azure AD Premium” automatically
- Supported VMs (as of February 2021):
- Windows Server 2019 Datacenter (and later)
- Windows 10 1809 and later
Points to be noted
- It is possible to create public IP address, NIC, NSG beforehand and use these while creating VM
- It is also possible to assign public IP address and open RDP port 3389 after creating VM
- When creating IP address in advance: you need to use “IP address assignmen: Static”, otherwise public IP address might not show up and you might not be able to connect to VM using RDP
- When creating VM in Azure portal using ARM template, do either of the followings
- Create Public IP address with “IP address assignmen: Static” (Standard is recommended)
- Let the ARM template create the follwoing resources**
- public IP address
- Inbound rule (RDP 3389)
- NIC
- NSG
- etc
- You can use existing storage account for VM daignostics
Windows Server 2019 VM
- Go to: https://portal.azure.com/#create/Microsoft.WindowsServer2019Datacenter-ARM
- Fillup details, especially in Management tab: check “Login with AAD credentials”
- Create
Usage example:
- You might use “Windows Server 2019” VM as “Connector VM” for Universal Print.
- As jumpbox VM to connect to another Azure AD joined VM (i.e. to connect to Universal print client VM)
- A Jumpbox VM is basically a relay VM to connect to another VM
- Jumpbox VM is needed because Azure AD joined VM can only be connected using Azure credentials from another Azure AD joined VM (that “another Azure AD joined VM” is jumpbox VM)
Windows 10 VM
Usage:
- As client VM for Universal Print
- As jumpbox VM for RDPing to another Azure AD joined VM
Creating Jumpbox VM in Azure portal
- Go to: https://portal.azure.com/#create/Microsoft.VirtualMachine-ARM
- Fillup details, especially in Management tab: check “Login with AAD credentials”
- Create