I am trying to create the windows virtual desktop Tenant in PowerShell.

%3CLINGO-SUB%20id%3D%22lingo-sub-429586%22%20slang%3D%22en-US%22%3EI%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-429586%22%20slang%3D%22en-US%22%3E%3CP%3E1)%20I%20issue%20the%20following%20Powershell%20cmd(admin%20rights%20enabled)%20%3A%3C%2FP%3E%3CP%3EAdd-RdsAccount%20-DeploymentUrl%20%22%3CA%20href%3D%22https%3A%2F%2Frdbroker.wvd.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Frdbroker.wvd.microsoft.com%3C%2FA%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E2)%20After%20I%20login%2C%20I%20get%20the%20response%20below%20%2C%20within%20the%20Powershell%20window%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAdd-RdsAccount%20%3A%20One%20or%20more%20errors%20occurred.%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%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%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%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BAdd-RdsAccount%5D%2C%20AggregateException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20System.AggregateException%2CMicrosoft.RDInfra.RDPowershell.Context.AddRdsAccount%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-429586%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eedward.m.mitchell%40lacity.org%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-432080%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-432080%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20try%20PSPing%20the%20URL%20and%20share%20the%20output%3F%20Also%20how%20are%20you%20importing%20the%20PS%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-432206%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-432206%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20try%20PSPing%20the%20URL%20and%20share%20the%20output%3F%20Also%20how%20are%20you%20importing%20the%20PS%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ES%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433232%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433232%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20use%20PSPing%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20757px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108227i3EEA496D6326A774%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22PSPing.PNG%22%20title%3D%22PSPing.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EMy%20goal%20was%20to%20follow%20the%20instructions%20on%20this%20website%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3Fadvanced%3Dfalse%26amp%3Bcollapse_discussion%3Dtrue%26amp%3Bq%3Dwindows%2520virtual%2520desktop%26amp%3Bsearch_type%3Dthread%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3Fadvanced%3Dfalse%26amp%3Bcollapse_discussion%3Dtrue%26amp%3Bq%3Dwindows%2520virtual%2520desktop%26amp%3Bsearch_type%3Dthread%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20imported%20my%20Powershell%20script%20according%20to%20the%20webpage%20shown%20above.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20used%20these%20two%20commands%20and%20they%20seemed%20to%20work%20with%20no%20problems.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstall-Module%20-Name%20Microsoft.RDInfra.RDPowerShell%3CBR%20%2F%3EImport-Module%20-Name%20Microsoft.RDInfra.RDPowerShell%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433257%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433257%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318564%22%20target%3D%22_blank%22%3E%40edward_mitchell%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20this%20video%20by%20Travis%20Roberts.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZkdyqFbo8ZI%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZkdyqFbo8ZI%3C%2FA%3E%3CBR%20%2F%3Ewindows%20virtual%20desktop%20installation%3CBR%20%2F%3EAzure%20Windows%20Virtual%20Desktop%20Public%20Preview%20Walkthrough%3C%2FP%3E%3CP%3ETune%20in%20at%208%20minutes%20%3A10%20seconds%3C%2FP%3E%3CP%3EIt%20works%20for%20him%20and%20I%20used%20the%20same%20URL%20he%20used.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433288%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433288%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318564%22%20target%3D%22_blank%22%3E%40edward_mitchell%3C%2FA%3E%20Did%20you%20follow%20all%20the%20steps%20as%20per%20the%20video%20and%20the%20online%20documentation%20there%20is%20no%20reason%20for%20it%20to%20fail%20if%20you%20have%20the%20right%20permissions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433294%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433294%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20is%20correct%20.%20I%20followed%20the%20instructions%20and%20it%20all%20worked%20%2C%20until%20I%20got%20to%20the%20point%20of%20creating%20the%20Tenant.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433310%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433310%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318564%22%20target%3D%22_blank%22%3E%40edward_mitchell%3C%2FA%3E%20if%20PSPing%20failed%20the%20handshake%20it%20will%20not%20work%20for%20you...are%20you%20behind%20a%20firewall%20blocking%20443%20SSL%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318564%22%20target%3D%22_blank%22%3E%40edward_mitchell%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20I%20use%20PSPing%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20757px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108227i3EEA496D6326A774%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22PSPing.PNG%22%20title%3D%22PSPing.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EMy%20goal%20was%20to%20follow%20the%20instructions%20on%20this%20website%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3Fadvanced%3Dfalse%26amp%3Bcollapse_discussion%3Dtrue%26amp%3Bq%3Dwindows%2520virtual%2520desktop%26amp%3Bsearch_type%3Dthread%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-IT-Pro-Blog%2FGetting-started-with-Windows-Virtual-Desktop%2Fba-p%2F391054%3Fadvanced%3Dfalse%26amp%3Bcollapse_discussion%3Dtrue%26amp%3Bq%3Dwindows%2520virtual%2520desktop%26amp%3Bsearch_type%3Dthread%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20imported%20my%20Powershell%20script%20according%20to%20the%20webpage%20shown%20above.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20used%20these%20two%20commands%20and%20they%20seemed%20to%20work%20with%20no%20problems.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInstall-Module%20-Name%20Microsoft.RDInfra.RDPowerShell%3CBR%20%2F%3EImport-Module%20-Name%20Microsoft.RDInfra.RDPowerShell%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-433341%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20the%20windows%20virtual%20desktop%20Tenant%20in%20PowerShell.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-433341%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20check%20this%20out%20with%20my%20network%20team%20and%20see%20if%20they%20are%20blocking%20port%20443.%20Thanks.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

1) I issue the following Powershell cmd(admin rights enabled) :

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

 

 


2) After I login, I get the response below , within the Powershell window:


Add-RdsAccount : One or more errors occurred.
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

8 Replies
Highlighted

Hello,

 

Can you try PSPing the URL and share the output? Also how are you importing the PS?

Highlighted

Hello,

 

Can you try PSPing the URL and share the output? Also how are you importing the PS?

 

S

Highlighted

 

If I use PSPing:

PSPing.PNG

My goal was to follow the instructions on this website:
https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desk...

 

I imported my Powershell script according to the webpage shown above. 

 

I used these two commands and they seemed to work with no problems.

 

Install-Module -Name Microsoft.RDInfra.RDPowerShell
Import-Module -Name Microsoft.RDInfra.RDPowerShell

 

 

 

 

@Stefan Georgiev 

Highlighted

@edward_mitchell 

 

See this video by Travis Roberts. 

https://www.youtube.com/watch?v=ZkdyqFbo8ZI
windows virtual desktop installation
Azure Windows Virtual Desktop Public Preview Walkthrough

Tune in at 8 minutes :10 seconds

It works for him and I used the same URL he used. 

 

 

 

10/2019 - Updated video here https://youtu.be/rnLdQSWUi4wIn this video I do a walk through of setting up the new Microsoft Azure service, Windows Virtual Des...
Highlighted

@edward_mitchell Did you follow all the steps as per the video and the online documentation there is no reason for it to fail if you have the right permissions.

Highlighted

That is correct . I followed the instructions and it all worked , until I got to the point of creating the Tenant. @Stefan Georgiev 

Highlighted

@edward_mitchell if PSPing failed the handshake it will not work for you...are you behind a firewall blocking 443 SSL


@edward_mitchell wrote:

 

If I use PSPing:

PSPing.PNG

My goal was to follow the instructions on this website:
https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desk...

 

I imported my Powershell script according to the webpage shown above. 

 

I used these two commands and they seemed to work with no problems.

 

Install-Module -Name Microsoft.RDInfra.RDPowerShell
Import-Module -Name Microsoft.RDInfra.RDPowerShell

 

 

 

 

@Stefan Georgiev 


 

Highlighted

I will check this out with my network team and see if they are blocking port 443. Thanks. @Stefan Georgiev