sábado, junho 20, 2020

WVD in Azure

The post contains the steps to deploy WVD ( Windows Virtual Desktop) in Azure.

1.
You need:
Get you Azure subscription ID;
Get your Tenant ID;

I will use Active directory domain service with Azure Ad Connect.

2.
Go to:
https://rdweb.wvd.microsoft.com/
And Consent for Client and Server using your Global administrator account.
Check on your Azure AD in Enterprise Application you must have Windows Virtual Desktop and Windows Virtual Desktop client.


3.
Go to Azure Portal - Enterprise Application - Windows Virtual Desktop and give the role TenantCreator for the user that you want to create the Tenant for WVD.

4.
In your Server ( In my case the domain controller) install the module RDPowerShell

>Install-module -name Microsoft.RDInfra.RDPowerShell

Add the account and use the user\password with has permission (Tenant Creation, Step 3)

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


5.
Create your Tenant
>New-RdsTenant -Name MaykonWVD -AadTenantId yourTenantID -AzureSubscriptionId yourSubscriptionID

6.
The next steps you can do using PowerShell or Azure portal.
Azure Portal - Look for Windows Virtual Desktop - Provision a host pool

 



7.
The user wvd@maykonrds.site is a Active Directory user (Sync with Ad connect)
Create and use the settings that fit for you.


8.
Configure the machine settings\vmsize and next.
The user maykon is a member of my Active directory domain and has permission to join Vms to the domain. I have a domain controller on the virtual network wvd-net ( The Domain controller is the default DNS provider for that virtual network)



9.

You can check the information about your tenant in the Vm that you install the Powershell RDS module. The command:
Get-RdsTenant



Done.
The installation take a few minutes.

10.
To give the permission to user wvd@maykonrds.site
> Add-RdsAppGroupUser maykonWVD wvdpool "Desktop Application Group" -UserPrincipalName wv@maykonrds.site

The Web Client