I have an Azure VM and I am trying to get it to authenticate to a user group

Daniel Shultz 0 Reputation points
2025-03-25T17:50:43.4966667+00:00

I am trying to authenticate a user group to a new Azure Virtual machine

I have tried to authenticate using IAM but when I try to log in it doesn't allow me to authenticate with a user in the user group that I assigned.

It still wants the VM admin password rather than a user.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,680 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 22,800 Reputation points
    2025-03-25T19:32:25.23+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    This issue often arises when the Azure Virtual Machine is not properly configured to allow Microsoft Entra ID (formerly Azure AD) authentication.

    https://learn.microsoft.com/en-us/entra/identity/devices/howto-vm-sign-in-azure-ad-windows

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    1 person found this answer helpful.
    0 comments No comments

  2. Pramidha Yathipathi 320 Reputation points Microsoft External Staff
    2025-03-26T08:15:51.5033333+00:00

    Hi Daniel Shultz,

    In the VM’s IAM settings, make sure your user group has either “Virtual Machine Administrator Login” or “Virtual Machine User Login” roles assigned.

    Not all VM images support this feature, so be sure to verify that yours does.

    If you’re using RDP, you need to select “Azure AD credentials” instead of the usual password login.

    If your VM was created without Entra ID integration initially, it might still require the admin password until everything is set up correctly.

    You can go through the setup guide here:

    https://learn.microsoft.com/en-us/entra/identity/devices/howto-vm-sign-in-azure-ad-windows

    Please refer this documents as well:

    https://stackoverflow.com/questions/74766839/im-unable-to-login-to-vm-with-azure-ad-user-credentials

    https://stackoverflow.com/questions/73796865/how-do-i-login-to-an-azure-ad-joined-vm-using-azure-ad-credentials-on-an-windows

    If you have already done all this and it’s still not working, please let us know what error message you’re getting we are glad to help you.

    If the answer was helpful, please don't forget to "Accept Answer" and to click "Upvote".

    Thank you

    1 person found this answer helpful.
    0 comments No comments

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.