Logging into VM with work account

Jefferson Berlin 1 Reputation point
2019-12-05T23:28:31.91+00:00

I'm just trying to get my feet wet with Azure VMs. I've set up a Windows Desktop VM and can log in with a local account. I added my O365 work account as an administrator in the VM and within access control in the VM dashboard. When I try to log in, I get a "wrong user name or password" error at the Windows login (after RDPing to the site). I'm at a loss how to troubleshoot this and hoping someone is familiar with this problem. Thanks!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,083 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 43,406 Reputation points Microsoft Employee
    2019-12-09T04:26:17.4+00:00

    The VM has to be added to your O365 account domain only then the user accounts present within the O365 domain gets validated. Only after you add your laptop to @microsoft.com domain, your MS username & password gets validated. If you are not added to MS domain (example when you first install the OS to your laptop & boot, it is still not added to domain) at the time, MS account wont' get validated for login. You need to use local account only.

    0 comments No comments

  2. Emerson Caro 86 Reputation points
    2019-12-19T04:01:49.467+00:00

    By default, you're only allowed to use the credentials you inputted upon the creation of the VM. Unless if you connect it to a Domain Controller/Azure AD Domain Services or if the machine is a Domain Controller.

    You can also use your Office 365 account if is connected to your Azure Active Directory tenant.

    0 comments No comments