Share via

Unable to log into Entra ID joined Azure VM

Charles Lakes II 45 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 Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author

Raja Pothuraju 47,640 Reputation points Microsoft Employee 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.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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