ARM WVD SID lookup

%3CLINGO-SUB%20id%3D%22lingo-sub-1379406%22%20slang%3D%22en-US%22%3EARM%20WVD%20SID%20lookup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1379406%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20just%20ran%20through%20ARM%20deployment%20of%20WVD%20and%20I%20think%20there%20has%20been%20a%20difference%20in%20technical%20account%20implementation.%20Previously%20V1.0%20release%20it%20was%20enough%20for%20local%20UPN%20to%20match%20Azure%20AD%2C%20without%20specifically%20requiring%20AD%20Connect%20Sync%20between%20RDS%20domain%20and%20AAD%20tenant.%20I%20am%20managing%20a%20handful%20of%20AAD%20%3CSTRONG%3Eonly%3C%2FSTRONG%3E%20(Cloud-first)%20deployments%20and%20exploring%20configuration%20options%20from%26nbsp%3B%26nbsp%3Bthere%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20AD%20domain%20with%20the%20same%20UPN%20as%20my%20AAD%20tenant%2C%20added%20myself%20to%20the%20WVD%20apps%2C%20but%20I'm%20getting%20errors%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%3CDIV%20class%3D%22grid_details_key%20transition-hover%22%3ESource%3C%2FDIV%3E%3C%2FTD%3E%3CTD%3E%3CDIV%3ERDAgent%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%3CDIV%20class%3D%22grid_details_key%20transition-hover%22%3ECode%3C%2FDIV%3E%3C%2FTD%3E%3CTD%3E%3CDIV%3E1332%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%3CDIV%20class%3D%22grid_details_key%20transition-hover%22%3ECodeSymbolic%3C%2FDIV%3E%3C%2FTD%3E%3CTD%3E%3CDIV%3EConnectionFailedNoMappingOfSIDinAD%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%3CDIV%20class%3D%22grid_details_key%20transition-hover%22%3EMessage%3C%2FDIV%3E%3C%2FTD%3E%3CTD%3E%3CDIV%3ENo%20mapping%20between%20account%20names%20and%20security%20IDs%20was%20done%3C%2FDIV%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20went%20to%20RDOperation%20TSF%20log%20files%20and%20converted%20them%2C%26nbsp%3B%20C%3A%5CWindows%5CSystem32%5Cconfig%5Csystemprofile%5CAppData%5CRoaming%5CMicrosoft%5CMonitoring%5CTables%20%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20found%20the%20error%20stack%3A%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EMicrosoft.RDInfra.Shared.Common.RestError.RestException%3A%20Could%20not%20resolve%20UPN%20from%20SID%20---%26gt%3B%20Microsoft.RDInfra.Shared.Common.RestError.InnerRestException%3A%20Could%20not%20resolve%20UPN%20from%20SID%20---%26gt%3B%20Microsoft.RDInfra.Shared.Common.RestError.InnerRestException%3A%20No%20mapping%20between%20account%20names%20and%20security%20IDs%20was%20done%3CBR%20%2F%3E%3CBR%20%2F%3EWould%20that%20mean%20now%20that%20On-premises%20SID%20is%20queried%20against%20Azure%20AD%20in%20this%20configuration%3F%20If%20these%20are%20not%20synced%2C%20they%20won't%20match.%20Is%20AAD%20Connect%20now%20a%20hard%20requirement%3F%20%22Manual%20syncing%22%20of%20UPNs%20and%20passwords%20no%20longer%20seem%20to%20work%20as%20discussed%20previously%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Virtual-Desktop%2FAD-Sync-not-strictly-required%2Fm-p%2F873252%23M1517%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Virtual-Desktop%2FAD-Sync-not-strictly-required%2Fm-p%2F873252%23M1517%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECCing%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F298270%22%20target%3D%22_blank%22%3E%40michawets%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3Bas%20you%20have%20helped%20me%20before%20with%20this%20%3A)%3C%2Fimg%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1379406%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Equestion%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1425287%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20WVD%20SID%20lookup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1425287%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186680%22%20target%3D%22_blank%22%3E%40Aleksander%20Pawlak%3C%2FA%3E%26nbsp%3BDo%20you%20need%20AD%20for%20any%20other%20purpose%20other%20than%20for%20WVD%20(meaning%20the%20apps%20do%20not%20have%20any%20AD%20dependency)%3F%20If%20so%20did%20you%20explore%20using%20Azure%20AD%20Domain%20Services%3F%20The%20manual%20approach%20is%20error%20prone%20and%20so%20not%20recommended.%20Between%20the%20non-ARM%20and%20ARM%20environments%2C%20this%20has%20not%20changed.%20The%20VM%20registration%20path%20and%20usage%20remains%20the%20same.%20So%20I%20suspect%20you%20would%20see%20the%20same%20issue%20if%20you%20used%20the%20account%20with%20the%20non-ARM%20environment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1425363%22%20slang%3D%22en-US%22%3ERe%3A%20ARM%20WVD%20SID%20lookup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1425363%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F199787%22%20target%3D%22_blank%22%3E%40Pavithra%20Thiruvengadam%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20reply!%20I'm%20well%20aware%20of%20AADDS%2C%20however%20for%20scenarios%20where%20I'm%20helping%20micro%20and%20small%20businesses%20AADDS%20provides%20a%20price%20tag%20a%20bit%20too%20high%20for%20them.%20What%20I%20found%20was%20most%20cost%20efficient%20so%20far%20was%20to%20simply%20deploy%20single%20DC%2C%20create%20Host%20Pool%20node%2C%20install%20an%20app%2C%20promote%20host%20pool%20node%20to%20DC%2C%20and%20decom%20the%20old%20DC.%20This%20way%20Host%20pool%20is%20its%20own%20AD%20authority%20and%20the%20only%20one%20SMB%20needs%20-%20especially%20when%20virtualising%20a%20single%20app%20or%20two.%20I%20really%20wish%20to%20live%20to%20day%20when%20AAD%20Joined%20devices%20(servers%20and%20desktop%20alike)%20are%20first%20class%20citizens%20in%20Windows%20%2F%20Windows%20Server%20%2F%20RDS%20realm.%20Maybe%20somewhere%20in%202028%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello!

I just ran through ARM deployment of WVD and I think there has been a difference in technical account implementation. Previously V1.0 release it was enough for local UPN to match Azure AD, without specifically requiring AD Connect Sync between RDS domain and AAD tenant. I am managing a handful of AAD only (Cloud-first) deployments and exploring configuration options from  there on.

 

I have created AD domain with the same UPN as my AAD tenant, added myself to the WVD apps, but I'm getting errors: 

 

Source
RDAgent
 
Code
1332
 
CodeSymbolic
ConnectionFailedNoMappingOfSIDinAD
 
Message
No mapping between account names and security IDs was done

 

 

I have went to RDOperation TSF log files and converted them,  C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Monitoring\Tables , 

 

and found the error stack: 

Microsoft.RDInfra.Shared.Common.RestError.RestException: Could not resolve UPN from SID ---> Microsoft.RDInfra.Shared.Common.RestError.InnerRestException: Could not resolve UPN from SID ---> Microsoft.RDInfra.Shared.Common.RestError.InnerRestException: No mapping between account names and security IDs was done

Would that mean now that On-premises SID is queried against Azure AD in this configuration? If these are not synced, they won't match. Is AAD Connect now a hard requirement? "Manual syncing" of UPNs and passwords no longer seem to work as discussed previously:

https://techcommunity.microsoft.com/t5/Windows-Virtual-Desktop/AD-Sync-not-strictly-required/m-p/873...

 

CCing @michawets 

 as you have helped me before with this :)

2 Replies

@Aleksander Pawlak Do you need AD for any other purpose other than for WVD (meaning the apps do not have any AD dependency)? If so did you explore using Azure AD Domain Services? The manual approach is error prone and so not recommended. Between the non-ARM and ARM environments, this has not changed. The VM registration path and usage remains the same. So I suspect you would see the same issue if you used the account with the non-ARM environment.

@Pavithra Thiruvengadam thank you for reply! I'm well aware of AADDS, however for scenarios where I'm helping micro and small businesses AADDS provides a price tag a bit too high for them. What I found was most cost efficient so far was to simply deploy single DC, create Host Pool node, install an app, promote host pool node to DC, and decom the old DC. This way Host pool is its own AD authority and the only one SMB needs - especially when virtualising a single app or two. I really wish to live to day when AAD Joined devices (servers and desktop alike) are first class citizens in Windows / Windows Server / RDS realm. Maybe somewhere in 2028 :)