SOLVED

WVD setup with Azure AD DS and Multiple Custom Domains

%3CLINGO-SUB%20id%3D%22lingo-sub-1357567%22%20slang%3D%22en-US%22%3EWVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1357567%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%20need%20some%20guidance%20and%20views%20on%20WVD%20setup%20that%20we%20are%20thinking%20to%20provision%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EAzure%20subscription's%20Azure%20AD%20has%20multiple%20verified%20custom%20domains%20e.g.%20alpha.com%2C%20beta.com%2C%20gamma.com%3C%2FLI%3E%3CLI%3EBecause%20of%20multiple%20custom%20domain%2C%20same%20Azure%20AD%20contains%20users%20with%20different%20domain%20names%20e.g%20%3CA%20href%3D%22mailto%3Axyz%40alpha.com%2C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Exyz%40alpha.com%2C%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22mailto%3Apqr%40beta.com%2C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epqr%40beta.com%2C%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22mailto%3Aabc%40gamma.con%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eabc%40gamma.com%3C%2FA%3E%3C%2FLI%3E%3CLI%3EAzure%20AD%20Domain%20Service%20resource%20provisioned%20with%20domain%20name%20alpha.com%3C%2FLI%3E%3CLI%3EHost%20pool%20machines%20are%20joined%20to%20alpha.com%20domain%3C%2FLI%3E%3CLI%3EUsers%20from%20alpha.com%20are%20assigned%20to%20Desktop%20and%20App%20groups%3C%2FLI%3E%3CLI%3EWVD%20setup%20seem%20to%20work%20fine%20so%20far%20and%20users%20have%20access%20to%20relevant%20app%20groups.%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3ENow%20with%20this%2C%20would%20we%20need%20to%20take%20care%20of%20anything%20specific%20if%20we%20want%20to%20provide%20access%20to%20beta.com%20and%20gamma.com%20domain%20users%20to%20application%20or%20desktop%20app%20groups%20in%20same%20WVD%20setup%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20this%20setup%20be%20recommended%20to%20be%20used%20in%20production%3F%20If%20not%2C%20what%20are%20the%20best%20practices%20around%20it%20when%20WVD%20setup%20is%20using%20Azure%20AD%20Domain%20Services%20and%20Azure%20AD%20has%20multiple%20custom%20domains%20associated%20with%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1468956%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468956%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F624245%22%20target%3D%22_blank%22%3E%40bhushangawale%3C%2FA%3E%26nbsp%3BI%20have%20a%20some%20what%20similar%20setup%20(2%20different%20domain%20names%20in%20one%20DC%2C%20synching%20to%20Azure%20AD%20and%20from%20there%20to%20Azure%20AD%20DS)%20Generally%20I%20have%20not%20seen%20issues%20with%20users%20connecting%20(Regardless%20of%20the%20domain%20name%20in%20their%20UPN).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20wandering%20why%20Azure%20AD%20DS%20is%20needed%20in%20this%20scenario%3F%20Due%20to%20no%20DC%20in%20Azure%20and%20no%20express%20route%20to%20on%20prem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1469431%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1469431%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F624245%22%20target%3D%22_blank%22%3E%40bhushangawale%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMultiple%20Custom%20Domains%20is%20different%20from%20Azure%20AD%20Domain%20Services.%20Custom%20domains%20are%20DNS%20domain%20names%20that%20you%20have%20associated%20with%20your%20Azure%20tenant.%26nbsp%3B%20Azure%20AD%20Domain%20Services%20is%20an%20Active%20Directory%20domain%20name%20hosted%20for%20you%20by%20Microsoft.%20It%20provides%20legacy%20authentication%20like%20LDAP%2C%20Kerberos%2C%20and%20NTLM.%20It%20also%20provides%20domain%20join%20capabilities%20(%20not%20Azure%20AD%20Join)%20that%20is%20common%20with%20on-premises%20Active%20Directories.%26nbsp%3B%20The%20users%20created%20in%20the%20managed%20domain%20(Azure%20AD%20Domain%20Services)%20arrive%20through%20a%20one-way%20synchronization%20from%20Azure%20AD.%20All%20the%20users%20and%20groups%20in%20your%20tenant%20are%20synced%20in%20the%20managed%20domain%20and%20have%20the%20same%20user%20principal%20name%20as%20they%20do%20in%20Azure.%20So%2C%20it%20doesn't%20matter%20if%20they%20are%20from%20alpha%2C%20beta%2C%20or%20gamma%20domains.%20If%20the%20user%20has%20been%20created%20in%20your%20Azure%20AD%20Tenant%20(cloud%20user)%20or%20synced%20from%20your%20on-premises%20domains%20and%20forests%20through%20AAD%20Connect%2C%20then%20the%20user%20can%20authenticate%20to%20the%20managed%20domain%20(you%20just%20need%20to%20ensure%20those%20users%20have%20RDP%20access%20to%20the%20virtual%20machines%20or%20WVD%20sessions).%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20that%20helps%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EMike%20Stephens%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESenior%20Program%20Manager%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAzure%20Identity%3C%2FP%3E%0A%3CP%3EIAM%20Core%20%7C%20Domain%20Services%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1494749%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1494749%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54688%22%20target%3D%22_blank%22%3E%40Mike%20Stephens%3C%2FA%3E%26nbsp%3B%2C%20I%20fully%20understand%20what%20you%20are%20saying%20but%20for%20me%2C%20it%20just%20does%20not%20work..%26nbsp%3B%3CBR%20%2F%3EI%20have%20setup%20as%20described%2C%20multiple%20domains%20(a.com%20%2C%20b.com%20and%20c.com%20)%20in%20Azure%20and%20Azure%20AD%20Domain%20Services%20(with%20only%20domain%20%22a.com%22%20in%20there)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20VM's%20are%20joined%20to%20a.com%20and%20users%20with%20sign-in%20name%20in%20Azure%20with%26nbsp%3B%40a.com%20can%20work%20just%20fine%2C%20however%2C%20users%20with%26nbsp%3B%40b.com%20or%20at%20%40c.com%20can%20sign%20on%20to%20WVD%20but%2C%20when%20they%20get%20the%20second%20(rdp)%20authentication%20prompt%2C%20they%20cannot%20sign%20in%2C%20no%20matter%20what%20they%20try%20(entering%20upn%2C%20sam%20account%20name%2C%20domain%5Cusername%20%2Cetc...)%3CBR%20%2F%3EWhen%20I%20look%20at%20the%20groups%20on%20the%20VM%2C%20users%20are%20in%20there%20and%20are%20allowed%20to%20RDP%20into%20the%20machine.%3CBR%20%2F%3EAnything%20I%20can%20check%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1494767%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1494767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F54688%22%20target%3D%22_blank%22%3E%40Mike%20Stephens%3C%2FA%3E%26nbsp%3B%2C%20Hmm%2C%20just%20figured%20out%20it%20does%20work%20after%20a%20password%20reset%20on%20Azure.%3CBR%20%2F%3EI%20now%20entered%20a%20more%20complex%20password.%3C%2FP%3E%3CP%3ECould%20it%20be%20that%20the%20password%20complexity%20policy%20of%20AAD%20DS%20was%20not%20met%20%3F%20Is%20there%20even%20one%20set%20as%20default%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1495275%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1495275%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F211681%22%20target%3D%22_blank%22%3E%40Vincent%20Szabang%3C%2FA%3E%26nbsp%3BI%20think%20existing%20users%20in%20Azure%20AD%20before%20provisioning%20of%20the%20ADDS%20would%20need%20to%20perform%20the%20password%20reset%20so%20that%20their%20identities%20are%20synced%20'correctly'%20in%20the%20DC%2C%20for%20newly%20created%20user%20accounts%20(post%20ADDS%20provisioning)%20it%20works%20without%20any%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20be%20precise%20in%20terms%20of%20why%20the%20password%20reset%20is%20required%20-%20I%20think%20it%20is%20because%20of%20the%20fact%20that%20the%20Azure%20ADDS%20relies%20on%20the%20password%20hash%20format%20that%20supports%20NTLM%20and%20Kerberos%20password%20hash%20and%20until%20Azure%20ADDS%20is%20not%20deployed%2C%20the%20Azure%20AD%20does%20not%20store%20password%20hashes%20in%20these%20formats%20so%20the%20password%20reset%20is%20the%20only%20solution%20or%20workaround%20to%20get%20these%20hashes%20generated%20so%20that%20Azure%20ADDS%20can%20start%20using%20those%20and%20for%20newly%20created%20users%20(post%20Azure%20ADDS%20deployment)%20those%20are%20auto-generated%20and%20hence%20no%20need%20to%20reset%20passwords%20of%20those%20accounts.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1505401%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20setup%20with%20Azure%20AD%20DS%20and%20Multiple%20Custom%20Domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505401%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F211681%22%20target%3D%22_blank%22%3E%40Vincent%20Szabang%3C%2FA%3E%26nbsp%3B%20Newly%20created%20cloud%20users%20do%20not%20sync%20to%20the%20managed%20domain%20until%20the%20user%20has%20changed%20their%20password.%20In%20Azure%2C%20when%20you%20create%20a%20new%20user%2C%20the%20user%20is%20assigned%20a%20default%20password%20and%20is%20forced%20to%20change%20it%20on%20the%20next%20sign-in.%26nbsp%3B%20AAD%20DS%20will%20not%20sync%20the%20user%20until%20they%20change%20their%20password.%26nbsp%3B%20Password%20complexity%20is%20entirely%20handled%20on%20the%20Azure%20AD%20side.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello everyone, need some guidance and views on WVD setup that we are thinking to provision

 

  • Azure subscription's Azure AD has multiple verified custom domains e.g. alpha.com, beta.com, gamma.com
  • Because of multiple custom domain, same Azure AD contains users with different domain names e.g xyz@alpha.com, pqr@beta.com, abc@gamma.com
  • Azure AD Domain Service resource provisioned with domain name alpha.com
  • Host pool machines are joined to alpha.com domain
  • Users from alpha.com are assigned to Desktop and App groups
  • WVD setup seem to work fine so far and users have access to relevant app groups. 

Now with this, would we need to take care of anything specific if we want to provide access to beta.com and gamma.com domain users to application or desktop app groups in same WVD setup?

 

Would this setup be recommended to be used in production? If not, what are the best practices around it when WVD setup is using Azure AD Domain Services and Azure AD has multiple custom domains associated with it?

 

Thanks in advance.

6 Replies
Highlighted

@bhushangawale I have a some what similar setup (2 different domain names in one DC, synching to Azure AD and from there to Azure AD DS) Generally I have not seen issues with users connecting (Regardless of the domain name in their UPN).

 

I am wandering why Azure AD DS is needed in this scenario? Due to no DC in Azure and no express route to on prem?

Highlighted
Best Response confirmed by Eva Seydl (Microsoft)
Solution

@bhushangawale 

Multiple Custom Domains is different from Azure AD Domain Services. Custom domains are DNS domain names that you have associated with your Azure tenant.  Azure AD Domain Services is an Active Directory domain name hosted for you by Microsoft. It provides legacy authentication like LDAP, Kerberos, and NTLM. It also provides domain join capabilities ( not Azure AD Join) that is common with on-premises Active Directories.  The users created in the managed domain (Azure AD Domain Services) arrive through a one-way synchronization from Azure AD. All the users and groups in your tenant are synced in the managed domain and have the same user principal name as they do in Azure. So, it doesn't matter if they are from alpha, beta, or gamma domains. If the user has been created in your Azure AD Tenant (cloud user) or synced from your on-premises domains and forests through AAD Connect, then the user can authenticate to the managed domain (you just need to ensure those users have RDP access to the virtual machines or WVD sessions). 

 

Hope that helps

Mike Stephens

Senior Program Manager

Azure Identity

IAM Core | Domain Services

 

Highlighted

@Mike Stephens , I fully understand what you are saying but for me, it just does not work.. 
I have setup as described, multiple domains (a.com , b.com and c.com ) in Azure and Azure AD Domain Services (with only domain "a.com" in there)

 

The VM's are joined to a.com and users with sign-in name in Azure with @a.com can work just fine, however, users with @b.com or at @c.com can sign on to WVD but, when they get the second (rdp) authentication prompt, they cannot sign in, no matter what they try (entering upn, sam account name, domain\username ,etc...)
When I look at the groups on the VM, users are in there and are allowed to RDP into the machine.
Anything I can check ?

 

Highlighted

@Mike Stephens , Hmm, just figured out it does work after a password reset on Azure.
I now entered a more complex password.

Could it be that the password complexity policy of AAD DS was not met ? Is there even one set as default ?

Highlighted

@Vincent Szabang I think existing users in Azure AD before provisioning of the ADDS would need to perform the password reset so that their identities are synced 'correctly' in the DC, for newly created user accounts (post ADDS provisioning) it works without any issue. 

 

To be precise in terms of why the password reset is required - I think it is because of the fact that the Azure ADDS relies on the password hash format that supports NTLM and Kerberos password hash and until Azure ADDS is not deployed, the Azure AD does not store password hashes in these formats so the password reset is the only solution or workaround to get these hashes generated so that Azure ADDS can start using those and for newly created users (post Azure ADDS deployment) those are auto-generated and hence no need to reset passwords of those accounts.

Highlighted

@Vincent Szabang  Newly created cloud users do not sync to the managed domain until the user has changed their password. In Azure, when you create a new user, the user is assigned a default password and is forced to change it on the next sign-in.  AAD DS will not sync the user until they change their password.  Password complexity is entirely handled on the Azure AD side.