<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How-to deploy Windows Virtual Desktop in Azure	</title>
	<atom:link href="https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/feed/" rel="self" type="application/rss+xml" />
	<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/</link>
	<description>Microsoft Azure/EMS blog</description>
	<lastBuildDate>Tue, 22 Sep 2020 17:34:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>
		By: Scott Elmore		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-498</link>

		<dc:creator><![CDATA[Scott Elmore]]></dc:creator>
		<pubDate>Tue, 22 Sep 2020 17:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-498</guid>

					<description><![CDATA[So I got everything up and running. I can sign into the app no problem. But when other accounts try they are getting “Couldn’t open this program”.

When I run this command i get
(Get-RdsDiagnosticActivities -TenantName CBP-Software -username blah.blah@yakidysmackidy.ca -detailed).Errors

ErrorSource : RAIL
ErrorOperation : RAILLaunchWin32App
ErrorCode : 2
ErrorCodeSymbolic :
ErrorMessage : ≤diagnosticCode=RdpInitShellExecuteFailure;filename=C:\users\default\desktop\CBP.lnk;directory=C:\u
sers\default\desktop\;params=;isDocument=0;connectionStage=RdpInitAppExecution≥
ErrorInternal : False
ReportedBy : RDStack
Time : 9/22/2020 1:12:30 PM]]></description>
			<content:encoded><![CDATA[<p>So I got everything up and running. I can sign into the app no problem. But when other accounts try they are getting “Couldn’t open this program”.</p>
<p>When I run this command i get<br />
(Get-RdsDiagnosticActivities -TenantName CBP-Software -username <a href="mailto:blah.blah@yakidysmackidy.ca">blah.blah@yakidysmackidy.ca</a> -detailed).Errors</p>
<p>ErrorSource : RAIL<br />
ErrorOperation : RAILLaunchWin32App<br />
ErrorCode : 2<br />
ErrorCodeSymbolic :<br />
ErrorMessage : ≤diagnosticCode=RdpInitShellExecuteFailure;filename=C:\users\default\desktop\CBP.lnk;directory=C:\u<br />
sers\default\desktop\;params=;isDocument=0;connectionStage=RdpInitAppExecution≥<br />
ErrorInternal : False<br />
ReportedBy : RDStack<br />
Time : 9/22/2020 1:12:30 PM</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pradeep		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-453</link>

		<dc:creator><![CDATA[Pradeep]]></dc:creator>
		<pubDate>Thu, 09 Jul 2020 13:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-453</guid>

					<description><![CDATA[Dear Erjen

I have deployed WVD and it has been successful without any error.

But, I trying to RDP by WebClient gettting the below error.

We couldn&#039;t connect to the gateway because of an error. If this keeps happening, ask your admin.

Please can you assist me to give any solution.]]></description>
			<content:encoded><![CDATA[<p>Dear Erjen</p>
<p>I have deployed WVD and it has been successful without any error.</p>
<p>But, I trying to RDP by WebClient gettting the below error.</p>
<p>We couldn&#8217;t connect to the gateway because of an error. If this keeps happening, ask your admin.</p>
<p>Please can you assist me to give any solution.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: My Usrn		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-413</link>

		<dc:creator><![CDATA[My Usrn]]></dc:creator>
		<pubDate>Sun, 07 Jun 2020 18:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-413</guid>

					<description><![CDATA[Trying to just get `Add-RdsAccount -DeploymentUrl &quot;https://rdbroker.wvd.microsoft.com&quot;` commadn where it prompts me for credentials and i enter a user, e.g. wvdadmin@mydomain.onmicrosoft.com, that is member of aad global administrators role and it fails.

Also trying `$Credential = Get-Credential &#038; Add-RdsAccount -DeploymentUrl &quot;https://rdbroker.wvd.microsoft.com&quot; -AadTenantId &quot;&quot; -Credential $Credential` and this prompts me for ServicePrincipal object which i don&#039;t know how to create or if it has to be associated with any specific aad app registration and client secret setup.

I&#039;m also curios why the azure wvd hostpool template wizard doesn&#039;t ask for necessary details and set this all up for us versus a) expecting it to already be provisioned and b) expect us to know how to provision this obscure wvd hostpool setup dependency.]]></description>
			<content:encoded><![CDATA[<p>Trying to just get `Add-RdsAccount -DeploymentUrl &#8220;https://rdbroker.wvd.microsoft.com&#8221;` commadn where it prompts me for credentials and i enter a user, e.g. <a href="mailto:wvdadmin@mydomain.onmicrosoft.com">wvdadmin@mydomain.onmicrosoft.com</a>, that is member of aad global administrators role and it fails.</p>
<p>Also trying `$Credential = Get-Credential &amp; Add-RdsAccount -DeploymentUrl &#8220;https://rdbroker.wvd.microsoft.com&#8221; -AadTenantId &#8220;&#8221; -Credential $Credential` and this prompts me for ServicePrincipal object which i don&#8217;t know how to create or if it has to be associated with any specific aad app registration and client secret setup.</p>
<p>I&#8217;m also curios why the azure wvd hostpool template wizard doesn&#8217;t ask for necessary details and set this all up for us versus a) expecting it to already be provisioned and b) expect us to know how to provision this obscure wvd hostpool setup dependency.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gaurav		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-350</link>

		<dc:creator><![CDATA[Gaurav]]></dc:creator>
		<pubDate>Wed, 01 Apr 2020 03:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-350</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-116&quot;&gt;Erjen&lt;/a&gt;.

Hi Erjen I am using AAD DS and tested with domain join function with Iaas VM and even while deploying the WVD domin joining stage get successfully completed. I am following your steps now and while creating hostpool through PS getting same error which I got while deploying from portal.
PS C:\Users\136424&#062; New-RdsHostPool -TenantName $TenantGroupName -Name $hostpoolname
New-RdsHostPool : User is not authorized to query the management service.
ActivityId: 5ab89bb2-fdbd-4dab-b729-c2219e0b0b77
Powershell commands to diagnose the failure:
Get-RdsDiagnosticActivities -ActivityId 5ab89bb2-fdbd-4dab-b729-c2219e0b0b77
At line:1 char:1
+ New-RdsHostPool -TenantName $TenantGroupName -Name $hostpoolname
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : FromStdErr: (Microsoft.RDInf....NewRdsHostPool:NewRdsHostPool) [New-RdsHostPool], RdsPowerShellException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.RDInfra.RDPowershell.HostPool.NewRdsHostPoo]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-116">Erjen</a>.</p>
<p>Hi Erjen I am using AAD DS and tested with domain join function with Iaas VM and even while deploying the WVD domin joining stage get successfully completed. I am following your steps now and while creating hostpool through PS getting same error which I got while deploying from portal.<br />
PS C:\Users\136424&gt; New-RdsHostPool -TenantName $TenantGroupName -Name $hostpoolname<br />
New-RdsHostPool : User is not authorized to query the management service.<br />
ActivityId: 5ab89bb2-fdbd-4dab-b729-c2219e0b0b77<br />
Powershell commands to diagnose the failure:<br />
Get-RdsDiagnosticActivities -ActivityId 5ab89bb2-fdbd-4dab-b729-c2219e0b0b77<br />
At line:1 char:1<br />
+ New-RdsHostPool -TenantName $TenantGroupName -Name $hostpoolname<br />
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
    + CategoryInfo          : FromStdErr: (Microsoft.RDInf&#8230;.NewRdsHostPool:NewRdsHostPool) [New-RdsHostPool], RdsPowerShellException<br />
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.RDInfra.RDPowershell.HostPool.NewRdsHostPoo</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rafal		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-328</link>

		<dc:creator><![CDATA[Rafal]]></dc:creator>
		<pubDate>Mon, 16 Mar 2020 13:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-328</guid>

					<description><![CDATA[hi Erjen
 I get this error
VM has reported a failure when processing extension &#039;dscextension&#039;. Error message: \\&quot;DSC Configuration &#039;FirstSessionHost&#039; completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service

I created the Service Principal and still, i cant get the WVD working any idea what i could try more?]]></description>
			<content:encoded><![CDATA[<p>hi Erjen<br />
 I get this error<br />
VM has reported a failure when processing extension &#8216;dscextension&#8217;. Error message: \\&#8221;DSC Configuration &#8216;FirstSessionHost&#8217; completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service</p>
<p>I created the Service Principal and still, i cant get the WVD working any idea what i could try more?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oleg		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-315</link>

		<dc:creator><![CDATA[Oleg]]></dc:creator>
		<pubDate>Thu, 27 Feb 2020 19:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-315</guid>

					<description><![CDATA[Erjen,

Thank a lot for the great article!

Can I ask you few questions about Azure WVD, please?

Is there a way to deploy WVD VMs and all related resources (avialbility set, network card, disks) with specific tags? 

Is there a (easy) way to manage WVD hostpool? What if I want to increase number of VMs, add new users, check who is login and etc?  Is there any GUI management console? 

Thank you]]></description>
			<content:encoded><![CDATA[<p>Erjen,</p>
<p>Thank a lot for the great article!</p>
<p>Can I ask you few questions about Azure WVD, please?</p>
<p>Is there a way to deploy WVD VMs and all related resources (avialbility set, network card, disks) with specific tags? </p>
<p>Is there a (easy) way to manage WVD hostpool? What if I want to increase number of VMs, add new users, check who is login and etc?  Is there any GUI management console? </p>
<p>Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bharath		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-265</link>

		<dc:creator><![CDATA[Bharath]]></dc:creator>
		<pubDate>Tue, 21 Jan 2020 15:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-265</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-110&quot;&gt;Bill Hyde&lt;/a&gt;.

Thank you for the nice write up; I enjoyed it.

Is there any way to allow a service principal to have Tenant Creator rights? The commander certainly has an option to use an SP to authenticate. I&#039;d appreciate any help!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-110">Bill Hyde</a>.</p>
<p>Thank you for the nice write up; I enjoyed it.</p>
<p>Is there any way to allow a service principal to have Tenant Creator rights? The commander certainly has an option to use an SP to authenticate. I&#8217;d appreciate any help!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: amea		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-243</link>

		<dc:creator><![CDATA[amea]]></dc:creator>
		<pubDate>Wed, 18 Dec 2019 05:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-243</guid>

					<description><![CDATA[Hi Erjen,  One of the global admin has created a WVD tenant. I am not a global admin can login with via add-rdsaccount  but can run get-rdstenant command and get below not authorizes error what sort of role assignment is required
DeploymentUrl                      TenantGroupName      UserName                 
-------------                      ---------------      --------                 
https://rdbroker.wvd.microsoft.com Default Tenant Group

Get-RdsTenant : User is not authorized to query the management service.
ActivityId: 68c4bb22-4d53-4df2-a214-be5d3fad17fa
Powershell commands to diagnose the failure:
Get-RdsDiagnosticActivities -ActivityId 68c4bb22-4d53-4df2-a214-be5d3fad17fa
At line:1 char:1]]></description>
			<content:encoded><![CDATA[<p>Hi Erjen,  One of the global admin has created a WVD tenant. I am not a global admin can login with via add-rdsaccount  but can run get-rdstenant command and get below not authorizes error what sort of role assignment is required<br />
DeploymentUrl                      TenantGroupName      UserName<br />
&#8212;&#8212;&#8212;&#8212;-                      &#8212;&#8212;&#8212;&#8212;&#8212;      &#8212;&#8212;&#8211;<br />
<a href="https://rdbroker.wvd.microsoft.com" rel="nofollow ugc">https://rdbroker.wvd.microsoft.com</a> Default Tenant Group</p>
<p>Get-RdsTenant : User is not authorized to query the management service.<br />
ActivityId: 68c4bb22-4d53-4df2-a214-be5d3fad17fa<br />
Powershell commands to diagnose the failure:<br />
Get-RdsDiagnosticActivities -ActivityId 68c4bb22-4d53-4df2-a214-be5d3fad17fa<br />
At line:1 char:1</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: gary smith		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-223</link>

		<dc:creator><![CDATA[gary smith]]></dc:creator>
		<pubDate>Tue, 26 Nov 2019 10:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-223</guid>

					<description><![CDATA[has anyone managed to get the UX template to work?  Im getting a conflict error every time i deploy.  
 
https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-resources-using-ui#guidance-for-template-parameters
https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/wvd-management-ux/deploy

raw error:
  &quot;code&quot;: &quot;DeploymentFailed&quot;,
  &quot;message&quot;: &quot;At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.&quot;,
  &quot;details&quot;: [
    {
      &quot;code&quot;: &quot;Conflict&quot;,
      &quot;message&quot;: &quot;{\r\n  \&quot;status\&quot;: \&quot;Failed\&quot;,\r\n  \&quot;error\&quot;: {\r\n    \&quot;code\&quot;: \&quot;ResourceDeploymentFailure\&quot;,\r\n    \&quot;message\&quot;: \&quot;The resource operation completed with terminal provisioning state &#039;Failed&#039;.\&quot;\r\n  }\r\n}&quot;

I had noticed that there two WVD applications under the wvd user and removed one, but still failing.]]></description>
			<content:encoded><![CDATA[<p>has anyone managed to get the UX template to work?  Im getting a conflict error every time i deploy.  </p>
<p><a href="https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-resources-using-ui#guidance-for-template-parameters" rel="nofollow ugc">https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-resources-using-ui#guidance-for-template-parameters</a><br />
<a href="https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/wvd-management-ux/deploy" rel="nofollow ugc">https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/wvd-management-ux/deploy</a></p>
<p>raw error:<br />
  &#8220;code&#8221;: &#8220;DeploymentFailed&#8221;,<br />
  &#8220;message&#8221;: &#8220;At least one resource deployment operation failed. Please list deployment operations for details. Please see <a href="https://aka.ms/DeployOperations" rel="nofollow ugc">https://aka.ms/DeployOperations</a> for usage details.&#8221;,<br />
  &#8220;details&#8221;: [<br />
    {<br />
      &#8220;code&#8221;: &#8220;Conflict&#8221;,<br />
      &#8220;message&#8221;: &#8220;{\r\n  \&#8221;status\&#8221;: \&#8221;Failed\&#8221;,\r\n  \&#8221;error\&#8221;: {\r\n    \&#8221;code\&#8221;: \&#8221;ResourceDeploymentFailure\&#8221;,\r\n    \&#8221;message\&#8221;: \&#8221;The resource operation completed with terminal provisioning state &#8216;Failed&#8217;.\&#8221;\r\n  }\r\n}&#8221;</p>
<p>I had noticed that there two WVD applications under the wvd user and removed one, but still failing.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Francisco Elizondo		</title>
		<link>https://erjenrijnders.nl/2019/04/04/how-to-deploy-windows-virtual-desktop-in-azure/#comment-212</link>

		<dc:creator><![CDATA[Francisco Elizondo]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 16:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://erjenrijnders.nl/?p=75927#comment-212</guid>

					<description><![CDATA[Hi Erjen,

Thank you for the excellent explanation. I&#039;ve tried to implement this several times, but I am stuck at a point where all I get, no matter if I try to use a UPN or a Service Principal, is an error stating that the users is not authorized to query the management service.

&quot;DSC Configuration &#039;FirstSessionHost&#039; completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service.

Do you have any suggestions on what could be wroing? 

Thank you in advance for your help.]]></description>
			<content:encoded><![CDATA[<p>Hi Erjen,</p>
<p>Thank you for the excellent explanation. I&#8217;ve tried to implement this several times, but I am stuck at a point where all I get, no matter if I try to use a UPN or a Service Principal, is an error stating that the users is not authorized to query the management service.</p>
<p>&#8220;DSC Configuration &#8216;FirstSessionHost&#8217; completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service.</p>
<p>Do you have any suggestions on what could be wroing? </p>
<p>Thank you in advance for your help.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
