Forum Discussion
I am trying to create the windows virtual desktop Tenant in PowerShell.
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
- Stefan GeorgievFormer Employee
Hello,
Can you try PSPing the URL and share the output? Also how are you importing the PS?
S
- Stefan GeorgievFormer Employee
Hello,
Can you try PSPing the URL and share the output? Also how are you importing the PS?
- edward_mitchellCopper Contributor
If I use PSPing:
My goal was to follow the instructions on this website:
https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desktop/ba-p/391054?advanced=false&collapse_discussion=true&q=windows%20virtual%20desktop&search_type=threadI 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 GeorgievFormer Employee
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:
My goal was to follow the instructions on this website:
https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/Getting-started-with-Windows-Virtual-Desktop/ba-p/391054?advanced=false&collapse_discussion=true&q=windows%20virtual%20desktop&search_type=threadI 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