Enabled extension for AAD - not working

Amogh Datar 20 Reputation points
2025-07-31T06:27:36.09+00:00

We have enabled AAD Extension for existing Azure Windows Server VM and assigned role to relevant to user email id who needs to login to this vm but we he is unable to sign in using his azure id into the VM

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
Swaroop Kolli 5,285 Reputation points Microsoft External Staff Moderator
2025-07-31T07:37:33.88+00:00

Hello @Amogh Datar,

Thank you for your time over the call.

There are some pre-requisites for Entra user to login to Azure VM with Entra Credentials.

The VM must be Microsoft Entra joined, Entra hybrid joined, or Entra registered to the same directory as the client device.

The AADLoginForWindows extension must be installed. This is automatically added if you enable the "Login with AAD credentials" option during VM creation

The client machine must be running Windows 10 (20H1 or later) or Windows 11.

It must also be Microsoft Entra joined, hybrid joined, or registered to the same directory as the VM.

Per-user MFA should not be enforced for the user as this is a non-interactive sign in.

We had verified and found that device is not joined to Entra ID even after deploying the extension.

The AADLoginForWindows extension also requires a system-assigned managed identity to be enabled on the VM. If this is missing, the join process will silently fail. We had enabled system-assigned managed identity for the VM. This made the device join to Entra ID.

Now the user is able to login to VM with Entra ID credentials.


If the answer is helpful kindly accept it and if you have any further questions feel free to comment on it.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

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.