Forum Discussion
PUBLIC PREVIEW: Announcing public preview of Azure AD joined VMs
- Jul 15, 2021End-to-end single sign-on is definitely something we are working on but isn't available in the first release due to the protocol we are using. We know how important that feature it.
DavidBelanger Hi, I created a new host pool with AAD, it is a validation hostpool. I tried to access the AVD but getting error a "login attempt failed" error. I am trying with my UPN to login to the Azure AD VM. I have added myself as "Virtual machine user login" RBAC role but still no luck. Anyone experiencing the same issue?.
amal_azurewvd I have the same issue. I followed all the steps at https://xenithit.blogspot.com/2021/07/avd-and-azure-active-directory-domain.html location and still got the error.
- amal_azurewvdJul 15, 2021Copper ContributorI finally got it working from webclient. I added targetisaadjoined:i:1 into customrdpproperties and it started working.
- DavidBelangerJul 23, 2021
Microsoft
amal_azurewvd were you able to connect from the Windows client or are you still seeing the Login attempt failed error? I'd recommend starting with the information here: https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-azure-ad-connections#the-logon-attempt-failed - patrickhurtJul 15, 2021Copper Contributor
amal_azurewvd I get this error in the web client: We couldn't connect to the remote PC because of a security error. If this keeps happening, ask your admin or tech support for help.
- jmh_7Jul 16, 2021Brass Contributor
I think the security error may be related to MFA. I was able to get around it in the desktop client by using a PIN to log in as advised in this link:
https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows#using-conditional-access
I can't get in with the web client though, and have entered targetisaadjoined:i:1 in the RDP Properties, so not sure what the problem is.