Home

Setting up VD - Create tenant

%3CLINGO-SUB%20id%3D%22lingo-sub-958280%22%20slang%3D%22en-US%22%3ESetting%20up%20VD%20-%20Create%20tenant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-958280%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20following%20the%20white%20paper%20to%20setup%20Windows%20virtual%20desktop.%3C%2FP%3E%3CP%3EEvery%20step%20goes%20fine%20until%20now.%26nbsp%3B%20This%20step%20blocks%20me%20in%20going%20further%20with%20the%20setup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdd-RdsAccount%3CSPAN%20class%3D%22x_x_hljs-parameter%22%3E%20-DeploymentUrl%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22x_x_hljs-string%22%3E%22%3CA%20href%3D%22https%3A%2F%2Frdbroker.wvd.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Frdbroker.wvd.microsoft.com%3C%2FA%3E%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20i%20use%20the%20global%20administrator%20account%2C%20i%20get%20the%20following%20error%20%3A%3C%2FP%3E%3CP%3EAADSTS50020%3A%20User%20account%20'eric%40mycompany.com'%20from%20identity%20provider%20'live.com'%20does%20not%20exist%20in%20tenant%20'MS%20Azure%20Cloud'%20and%20cannot%20access%20the%20application%20'fa4345a4-a730-4230-84a8-7d9651b86739'(Windows%20Virtual%20Desktop%20Client)%20in%20that%20tenant.%20The%20account%20needs%20to%20be%20added%20as%20an%20external%20user%20in%20the%20tenant%20first.%20Sign%20out%20and%20sign%20in%20again%20with%20a%20different%20Azure%20Active%20Directory%20user%20account.%3C%2FP%3E%3CP%3EIn%20reading%20different%20articles%20on%20the%20net%2C%20i%20found%20this%20to%20be%20an%20issue%20with%20many%20users.%20One%20guy%20said%20you%20need%20to%20make%20another%20external%20user%20als%20global%20administrator%20and%20run%20the%20command%20again%2C%20so%20i%20did.%3C%2FP%3E%3CP%3EBut%20then%20i%20get%20this%20error%20%3A%3C%2FP%3E%3CP%3EAdd-RdsAccount%20%3A%20Er%20zijn%20%C3%A9%C3%A9n%20of%20meer%20fouten%20opgetreden.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Add-RdsAccount%20-DeploymentUrl%20%22%3CA%20href%3D%22https%3A%2F%2Frdbroker.wvd.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Frdbroker.wvd.microsoft.com%3C%2FA%3E%22%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%2B%20CategoryInfo%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20NotSpecified%3A%20(%3A)%20%5BAdd-RdsAccount%5D%2C%20AggregateException%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20System.AggregateException%2CMicrosoft.RDInfra.RDPowershell.Context.AddRdsAccount%3C%2FP%3E%3CPRE%3E%26nbsp%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20now%20i'm%20stuck%20at%20this%20point.%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20welcome.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-966183%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20up%20VD%20-%20Create%20tenant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-966183%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434586%22%20target%3D%22_blank%22%3E%40Jo_Lambrecht%3C%2FA%3E%2C%3C%2FP%3E%3CP%3ECan%20you%20please%20share%20the%20Activity%20ID%20from%20running%20Add-RdsAccount%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ESoo%20Kuan%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

 

I'm following the white paper to setup Windows virtual desktop.

Every step goes fine until now.  This step blocks me in going further with the setup.

 

Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"

If i use the global administrator account, i get the following error :

AADSTS50020: User account 'eric@mycompany.com' from identity provider 'live.com' does not exist in tenant 'MS Azure Cloud' and cannot access the application 'fa4345a4-a730-4230-84a8-7d9651b86739'(Windows Virtual Desktop Client) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

In reading different articles on the net, i found this to be an issue with many users. One guy said you need to make another external user als global administrator and run the command again, so i did.

But then i get this error :

Add-RdsAccount : Er zijn één of meer fouten opgetreden.
At line:1 char:1
+ Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-RdsAccount], AggregateException
    + FullyQualifiedErrorId : System.AggregateException,Microsoft.RDInfra.RDPowershell.Context.AddRdsAccount

 

 

So now i'm stuck at this point.

Any help would be welcome.

1 Reply
Highlighted

Hi, @Jo_Lambrecht,

Can you please share the Activity ID from running Add-RdsAccount?

Thanks

Soo Kuan