A cloud-based identity and access management service for securing user authentication and resource access
Windows Server 2019 isn’t supported for Microsoft Entra sign-in to Azure Windows VMs in the provided documentation.
What is supported:
- Azure Windows VMs become Microsoft Entra joined after enabling the Microsoft Entra login capability and installing the
AADLoginForWindowsextension. - For Windows Server, the documented support for Microsoft Entra authentication is tied to newer server versions, and the Arc-based guidance explicitly calls out Windows Server 2025 or later for that scenario.
- After this capability is enabled, the VM can’t also be joined to another domain. To join it to another domain later, the Microsoft Entra join extension must be removed.
For the current Server 2019 VM, the supported checks are:
- Verify the
AADLoginForWindowsextension installed successfully by reviewing:C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.ActiveDirectory.AADLoginForWindows\1.0.0.1\CommandExecution.log - Verify the VM can reach the required Microsoft Entra endpoints and that the Azure Instance Metadata Service queries return valid VM, tenant, and token data.
- Confirm the sign-in role assignment is present:
-
Virtual Machine Administrator Login, or -
Virtual Machine User Login
-
- For sign-in troubleshooting, run
dsregcmd /statusand check for:-
AzureAdJoined : YES -
AzureAdPrt : YES
-
- Review RDP sign-in events in:
Applications and Services Logs\Microsoft\Windows\AAD\Operational
Important limitations relevant to this scenario:
-
dsregcmd /joinis not the documented method in the provided guidance for making an Azure VM Microsoft Entra joined for this feature; the join is tied to the VM login capability and extension deployment. - Bastion guidance in the provided Q&A indicates Azure AD user sign-in through Bastion isn’t supported; direct RDP is the path described for Microsoft Entra credential sign-in.
- If the VM doesn’t become
AzureAdJoined : YESafter the extension is installed, check that the VM has a system-assigned managed identity enabled. A matching Q&A resolution identified that missing managed identity prevented the join from completing.
Based on the provided documentation, there isn’t a supported path shown to make a Windows Server 2019 Azure VM cloud-native Microsoft Entra sign-in capable in the same way as the newer supported Windows Server versions. If Microsoft Entra sign-in is the requirement, the documented supported path is to use a supported Windows Server version rather than rely on manual dsregcmd /join on Server 2019.
- Sign in to Windows virtual machine in Azure using Microsoft Entra ID and Azure Roles Based Access Control
- Sign in to Windows virtual machine in Azure using Microsoft Entra ID and Azure Roles Based Access Control
- Sign in to Windows virtual machine in Azure using Microsoft Entra ID and Azure Roles Based Access Control
- Connect to remote Microsoft Entra joined device
- Enabled extension for AAD - not working - Microsoft Q&A
- How to login Azure Ad User in Azure VM with bastion - Microsoft Q&A
- Sign in to an Azure Arc-enabled server using Microsoft Entra ID and Azure Roles Based Access Control