A cloud-based identity and access management service for securing user authentication and resource access
Hello Joseph,
Thank you for reaching out. Enabling “Login with Microsoft Entra ID” in the portal is the first step, but the VM requires additional configuration to allow Entra ID credentials.
Steps to Enable Entra ID Login
1.Install the AAD Login Extension
Navigate to your VM → Extensions + applications → Add → select Azure AD-based Windows Login.
2.Enable Managed Identity
Under VM → Identity, turn on System assigned managed identity and save.
**3.**Assign Required Roles Assign users one of these roles at the VM scope:
- Virtual Machine Administrator Login
- Virtual Machine User Login Use Access Control (IAM) in the VM blade.
Verify VM Join Status On the VM, run:
dsregcmd /status
Confirm AzureAdJoined : YES.
4Update RDP Settings Download the RDP file from Connect → RDP and add:
enablerdsaadauth:i:1 username:s:******@domain.com
Sign in using AzureAD\******@domain.com.
5.Conditional Access MFA during Windows login isn’t supported. If MFA is enforced, exclude Azure Windows VM Sign-in from MFA policies.
For detailed guidance, see: Sign in to a Windows VM using Microsoft Entra ID.
If you need any additional information or further assistance, please let us know.