Azure Virtual Machine User Login not working

Hi

In Azure I set up a user in the Active Directory as shown in the first image below then I assigned a role as "virtual machine user login"
as shown in the second image. When I try to sign in using a remote desktop login I get an error. Have I missed something?

User set up here first

Virtual Machine User Role assigned here
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sajid Shaik MSystem AdminCommented:
how you are connecting to VM ?

click the Vm -preconnect on the top - it'll create RDP connection shortcut... save it... and use it it connect   all the best
Suliman Abu KharroubIT Consultant Commented:
Does the built in user account that you entered while the VM deployment work?
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
The main admin user account works
Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

Ravi Kumar AtreyCloud Specialist- AzureCommented:
the AD account should be assigned to VM login account.  You have only assigned the user role,
Ravi Kumar AtreyCloud Specialist- AzureCommented:
https://c7solutions.com/2016/05/remote-desktop-and-login-with-azuread-account

check this.

It includes the steps to login with azure ad user.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks for the help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.