question

jefferson-berlin avatar image
0 Votes"
jefferson-berlin asked bedge answered

Logging into VM with work account

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT edited

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

bedge avatar image
0 Votes"
bedge answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.