Unable to log into Entra ID joined Azure VM

Charles Lakes II 20 Reputation points
2025-04-29T04:02:09.8633333+00:00

I can access the VM using the admin account, but not with my Entra ID account. Per the "Support + troubleshooting" suggestions, I have reset the NIC a few times, also redeployed the solution a few times, gotten all green marks from the Azure check, and confirmed that the connectivity diagnostics reported no issue.

Speaking with a few people, I tried tweaking the RDP file and even found some curl commands to run on the VM as an admin, but I still cannot access the VM using my Entra ID account. My credentials are correct, but still no luck.

What am I missing?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,628 questions
{count} votes

Accepted answer
  1. Raja Pothuraju 22,480 Reputation points Microsoft External Staff Moderator
    2025-05-04T22:17:14.5066667+00:00

    Hi @Charles Lakes II,

    Thank you for connecting with us offline.

    Typically, issues signing in to a VM using Entra ID are related to Multi-Factor Authentication (MFA) being enforced through per-user MFA settings, Security Defaults, or Conditional Access policies.

    You can refer to the following documentation to verify and manage the MFA status: Change the status for a user - Microsoft Learn

    During our call, we observed that per-user MFA was enabled for your account. As per standard procedure, we disabled it; however, the sign-in issue persisted.

    Upon further investigation, we found that Security Defaults were enabled in your tenant. While Security Defaults typically do not affect non-admin users signing into a VM, they do require Global Administrators to complete MFA. Since your account has the Global Administrator role assigned, MFA is still being enforced due to Security Defaults.

    To work around this, we created a new Global Administrator account and a backup admin account, then removed the Global Administrator role from your main account. This allows you to sign in to the VM without being prompted for MFA.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.