Warning: Undefined variable $file in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/onecom-vcache/vcaching.php on line 549
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/onecom-vcache/vcaching.php on line 557
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-content/plugins/fix-my-feed-rss-repair/rss-feed-fixr.php:14) in /customers/a/e/3/tunecom.be/httpd.www/stg_ba12f/wp-includes/feed-rss2.php on line 8
The post How to use SNAT (Source Network Address Translation) for outbound Windows Virtual Desktop connections appeared first on Tunecom.
]]>Since there is no physical network hardware layer you can troubleshoot, one of the rather obvious cases which are often overlooked is SNAT (Source Network Address Translation). In a traditional on-premises environment you would have a reverse proxy or other networking equipment in place that would translate all of your internal workspace IP Addresses to a single public IP address.
Windows Virtual Desktop is an Azure Native solution built on IaaS. Virtual Machines running on Azure have direct internet connectivity by using the Azure backplane. Just like Microsoft 365 a wide range of public IP addresses and ports is used to connect to online services.
This wide range of public IP addresses might just be the reason for the previously mentioned issues.
What is SNAT? The following Microsoft Docs site explains more in detail all of the possible options & configurations for SNAT.
In our use case, we want to use SNAT to masquerade our back-end WVD Host IP Addresses to a single Public IP address.
What is required? We need a Standard Public Azure Loadbalancer configured on top of our WVD hosts and a SNAT rule configured to allow outbound connections.
Let’s get started with deploying the new load balancer and assigning the SNAT rules to the WVD hosts.
You can run the powershell script provided below or review it on my GitHub Repo.
#region clear variables & in memory parameters $slb = $null $vm = $null $NI = $null $natrules = $null $NIConfig = $null $ELBPurpose = $null $ELBlocation = $null $SKU = $null #endregion #region input variables $ELBPurpose = "enter the purpose of your loadbalancer (ex. wvd)" $ELBlocation = "enter the location of your loadbalancer (ex. westeurope)" $SKU = "enter the SKU of your loadbalancer (ex. standard)" $ELBResourceGroup = "enter the resource group name of your loadbalancer (ex. prd-network-rg)" #endregion #region naming convention $ELBconvention = "-elb" $PIPconvention = "-pip" $FrontEndConvention = "-fep" $BackEndConvention = "-bep" $OutboundRuleConvention = "-obr" $ELBname = $ELBPurpose + $ELBconvention $ELBpip = $ELBname + $PIPconvention $ELBFrontEndName = $ELBname + $FrontEndConvention $ELDBackEndPoolName = $ELBname + $BackEndConvention $ELBOutboundRulename = $ELBname + $OutboundRuleConvention #endregion #region loadbalancer deployment # Step 1: Create a new static public IP address $publicip = New-AzPublicIpAddress -ResourceGroupName $ELBResourceGroup -name $ELBpip -Location $ELBlocation -AllocationMethod Static -Sku $SKU # Step 2: Create a new front end pool configuration and assign the public IP $frontend = New-AzLoadBalancerFrontendIpConfig -Name $ELBFrontEndName -PublicIpAddress $publicip # Step 3: Create a new back end pool configuration $backendAddressPool = New-AzLoadBalancerBackendAddressPoolConfig -Name $ELDBackEndPoolName # Step 4: Create the actual load balancer $slb = New-AzLoadBalancer -Name $ELBname -ResourceGroupName $ELBResourceGroup -Location $ELBlocation -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Sku $SKU # Step 5: Assign the back end VMs to the loadbalancer $VMs = Get-AzVM | Out-GridView -PassThru -Title "Select your WVD hosts" foreach ($vm in $VMs) { $NI = Get-AzNetworkInterface | Where-Object { $_.name -like "*$($VM.name)*" } $NI.IpConfigurations[0].Subnet.Id $bep = Get-AzLoadBalancerBackendAddressPoolConfig -Name $ELDBackEndPoolName -LoadBalancer $slb $NI.IpConfigurations[0].LoadBalancerBackendAddressPools = $bep $NI | Set-AzNetworkInterface } # Step 6: Assign the outbound SNAT rules $myelb = Get-AzLoadBalancer -Name $slb.Name $myelb | Add-AzLoadBalancerOutboundRuleConfig -Name $ELBOutboundRulename -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Protocol "All" # Step 7: Configure the loadbalancer $myelb | Set-AzLoadBalancer #endregion
The end result will look similar to below screenshots.
The scripts are provided as-is, please be very careful and test run the scripts on a “test” environment or an environment that allows you to perform some quick checks and tests. Adding a standard load balancer with no SNAT rules can cause internet connectivity loss for Windows Virtual Desktop users.
Thank you for reading through this blog post, I hope I have been able to assist in adding SNAT rules to WVD.
If you encounter any new insights, feel free to drop me a comment or contact me via mail or other social media channels
The post How to use SNAT (Source Network Address Translation) for outbound Windows Virtual Desktop connections appeared first on Tunecom.
]]>The post How to fix RD Client iOS error code 0x3000015 for Windows Virtual Desktop appeared first on Tunecom.
]]>0x3000015, a screen smasher for sure!
To avoid hitting the repair shop for a new screen, let me walk you through a couple of steps to fix this issue.
Starting with the screenshots below, I already have a workspace configured which points to 2 of my Windows Virtual Desktop tenants.
For the purpose of this demo and blog, I would like to setup a new workspace, so I can connect to another series of virtual desktops.
When pressing the “Edit” button, select “delete”
Press “delete” again in order to confirm and permanently delete that workspace.
Great so far, no workspaces to show:
Now let’s hit the “+” sign
And select “Add Workspace”
Enter the Windows Virtual Desktop webfeed url : “https://rdweb.wvd.microsoft.com” and enter next
You’re then prompted to authenticate against your Azure Active Directory Tenant , so use your e-mail address or UPN (User Principal Name) that has access to a Windows Virtual Desktop workspace to login.
Awesome, here is my new workspace, and as you can see I have a session desktop available to launch.
Now, you would expect that if you select your session desktop, you’ll end up in your Windows 10 environment..
Guess again! 0x3000015, “we couldn’t connect to the remote desktop gatexway because of an internal error. If this keeps happening contact your network administrator for assistance.”
Now, let me be that network administrator for you today!
In order to resolve this issue, follow the steps below!
To start of with a clean sheet, close all open apps on your iOS device and navigate to the settings pane.
Scroll down through your apps until you reach the RD Client app.
Select the RD Client app.
And scroll down to the “WVD Security Tokens” setting. Slide this slider to the right and make sure it’s green and selected.
Enable “Delete on App Launch” in the “WVD Security Tokens” settings
Now let’s navigate back to our Remote Desktop Client app.
And launch your previously added desktop
Enter your username and password
Woohoo! Here we have our rich Windows 10 experience on iOS provided by Windows Virtual Desktop.
Thank you for reading through this blog post, I hope I have saved you some time on researching the 0x3000015 error message.
If you encounter any new insights, feel free to drop me a comment or contact me via mail or other social media channels
The post How to fix RD Client iOS error code 0x3000015 for Windows Virtual Desktop appeared first on Tunecom.
]]>