SOLVED

Requirement to have an on-prem AD

Brass Contributor

Looking at the documentation, it seems an on premise AD is required for Windows Virtual desktop in Azure and Azure domain join is not supported. Can anyone confirm if that's definitely the case? It seems poor to have a new cloud service launched that has a dependency on on-prem AD. 

49 Replies

@HandA gerry_1974  Right now, that seems to be the case. In my proof of concept environment, I am running an AD DS server in my Azure tenant, then joining my host pool to that domain through the Windows Virtual Desktop offering. Although at first I was still getting failures with my deployment, even with the AD DS domain existing and the session hosts successfully joining. What fixed this for me, was connecting my AD DS server to AD Connect. I think AD Connect has to be actively syncing and connected to Azure AD for this to work right now due to the interaction it has with the Azure AD users (granting them access to the pool, etc). I went through this bit-by-bit and this is what got me a working deployment (DSC failures on the session host otherwise). 

best response confirmed by HandA (Brass Contributor)
Solution

@HandA

on-prem AD is not required.


AD requirements:
Option 1: Domain controller that is synchronized with Azure Active Directory. The domain controller can be on-prem or in cloud. To synchronize with Azure Active Directory install Azure Active Directory Connect.
Option 2: Azure AD Domain Services domain in Azure (automatically synced with Azure Active Directory)
Does appear to be the case, however I did deploy using Azure ad domain services on a vnet and on my existing on premise with Azure ad connect I followed these steps to sync the password hashes https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-getting-...

@Josh Bender

I don't understand your response.  Per https://docs.microsoft.com/en-us/azure/virtual-desktop/overview:

 

Your infrastructure needs the following things to support Windows Virtual Desktop:

  • An Azure Active Directory
  • A Windows Server Active Directory in sync with Azure Active Directory. This can be enabled through:
    • Azure AD Connect
    • Azure AD Domain Services
  • An Azure subscription, containing a virtual network that either contains or is connected to the Windows Server Active Directory

The Azure virtual machines you create for Windows Virtual Desktop must be:

 

I would like to avoid any and all on-premises requirements and simply have an Azure Active Directory with Azure Active Directory Domain Services enabled with Windows Virtual Desktop virtual machines automatically domain-joined to that instance.  Completely cloud.  Nothing physical.

 

Is this possible ?

@Ron Howe 

Yes.  This is possible.  Josh was correct.

 

If you want cloud-only, you can either stand up a couple of DC's on VM's in the cloud, or use Azure Active Directory Domain Services, with either synced with Azure AD.  Either will work.

 

@Mike Amox 

 

Thanks, Mike.

 

Am I misunderstanding the documentation?  Or is the documentation inaccurate or poorly worded?

@Ron Howe 

 

A bit of both?  :)

The documentation says:

A Windows Server Active Directory in sync with Azure Active Directory. This can be enabled through:

  • Azure AD Connect
  • Azure AD Domain Services

 

The first (AD connect) is on-prem or cloud DC's you build yourself.

The second is telling you can forgo that and use Azure AD Domain Services (and won't have to configure AD connect to boot)

 

Arguably, this isn't clear enough, as it does leave room for confusion, and doesn't explicitly spell out each option for hybrid and cloud-only.

@Mike Amox 

 

What about this part?

 

The Azure virtual machines you create for Windows Virtual Desktop must be:

 

@Ron Howe 

Hybrid-join means joining the machine to Active Directory, and then having those device objects synced with Azure AD Connect to Azure AD (with writeback).  One of a few ways of accomplishing this is joining the machine to a domain created in Azure Active Directory Domain Services (AAD-DS) - as that is Active Directory as a service, which is automatically synced to an Azure AD that you configure when you set up AAD-DS.

 

Note: Azure Active Directory (Azure AD) is not the same thing as Azure Active Directory Domain Services (https://azure.microsoft.com/en-us/services/active-directory-ds/).

 

While it is possible to join Windows 10 machines directly to Azure AD, and there are many great reasons to do that rather than joining or hybrid-joining with an Active Directory domain (particularly in a modern management environment), it is not supported for Windows Virtual Desktop.  The Windows Virtual Desktop service specifically requires that the machine is joined to an Active Directory Domain.

 

So...

"The Windows Virtual Desktop service specifically requires that the machine is joined to an Active Directory Domain."

That means an on-premise Active Directory instance? Or can that be Azure Active Directory Domain Services?

I guess I'll just have to try it out.

@Ron Howe I got it to work with only Azure AD and Azure AD DS together. 

I started with an Azure AD and added/verified a custom domain.

I created an admin in this custom domain.

I then added Azure AD DS referring to the custom domain

I changed the password of my domain admin to allow it to synch with Azure AD DS

I verified that I could join a workgroup windows server to Azure AD DS with my admin 

Adding the host pool to the domain and adding users to the domain worked fine.

Testing to connect with assigned users worked ok 

No need for any on premise domain in my case.

So i have on premise AD with AD connect syncing to Azure AD.  Then i created an Azure AD Domain instance and bound it to a VNET and then used that network to connect my Windows Virtual Desktop to and join that domain.  So its not joining azure AD directly but a fully synced Azure AD Domain services which is syncing with Azure AD.  So technically you arent joining Azure AD natively.

@HandA 

You don't need to actually have the Azure AD and the local Active Directory synced at all (at least with regards to AD Connect). I was able to get everything moving by just adding the Azure AD UPN Suffix (e.g. <tenantname>.onmicrosoft.com) to my Local Active Directory and creating a user whose UPN matches my Azure AD User (e.g. <user>@<tenantname>.onmicrosoft.com). 

 

Yes, I ended up being prompted twice for credentials, once for opening the feed and again for logging into the server, but the end result was a successful connection without having to Sync the ADs.

That's a hybrid domain join, as you joined and active directory domain, not an Azure AD join. That is supported.

@smithanc : If this works right now, then great! However, we only support when there is a true synchronization between Azure AD and the local Windows Server AD: either through Azure AD Connect, Azure AD Domain Services, or through federation.

@Christian_Montoya Understood but hopefully you extend support to other models such as the one I have done in my PoC. Otherwise, my main use case right now for WVD is broken as I am looking to use WVD to provide VM access to isolated VMs that are located in a Azure VNET which does not have any public IP address associated to any NIC card within that VNET.

 

We looked into using RDS with Azure AD Application Proxy but ran into a blocker that it only worked with ActiveX and therefore only on Windows Machines running IE 11.

 

Otherwise, we will have to turn to the Citrix cloud.

@Mike Amox I currently have on premise AD synced to Azure AD with AAD Connect so right now this will work. I am in the process of migrating all workstations to AAD with the goal of decommissioning AD. All device & application management will be via cloud management tools. While I appreciate I could setup AAD DS this still requires domain joined or hybrid join, not something I am after & get the impression others are the same.

 

Do you know if Microsoft has on the road map to support AAD joined devices only for WVD? 

 

Thanks. 

@Mike AmoxI have just started working with Azure AD and now WVD. The future plans are WVD for a large percentage of our users. Right now i can't get the WVD to connect to AD. We have a hybrid AD with AD connect, but I don't have a DC in Azure or AAD DS currently. From what I have been reading I will have to set one of those up for WVD to join the domain. Correct? Or an Azure VPN to on-prem network. Ultimate goal is 100% cloud in the near future.

@Roger_Cox : That is correct, you will either need to create an instance of Azure AD Domain Services or create a VPN/ExpressRoute to the on-prem network.

 

We have gotten similar feedback of being "100% cloud" and we have an item in our backlog to support Azure AD Join VMs.

1 best response

Accepted Solutions
best response confirmed by HandA (Brass Contributor)
Solution

@HandA

on-prem AD is not required.


AD requirements:
Option 1: Domain controller that is synchronized with Azure Active Directory. The domain controller can be on-prem or in cloud. To synchronize with Azure Active Directory install Azure Active Directory Connect.
Option 2: Azure AD Domain Services domain in Azure (automatically synced with Azure Active Directory)

View solution in original post