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

Copper 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

Hello,

 

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

Hello,

 

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

 

S

 

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 

@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. 

 

 

 

@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.

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

@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 


 

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