Brad Dickinson

How to Create a Windows Virtual Desktop Tenant with Windows Virtual Desktop

The content below is taken from the original ( How to Create a Windows Virtual Desktop Tenant with Windows Virtual Desktop), to continue reading please visit the site. Remember to respect the Author & Copyright.


In the first part of this series, I described what Microsoft’s Windows Virtual Desktop (WVD) service is and the basic requirements. If you haven’t already read that article, I suggest you do before continuing with WVD because there are some important prerequisites that need to be in place.

Before you can create a host pool in the Azure management portal, you need to create a Windows Virtual Desktop tenant. There are several steps to this process:

  1. Give Azure Active Directory permissions to the Windows Virtual Desktop enterprise app.
  2. Assign an AAD user the Windows Virtual Desktop TenantCreator application role.
  3. Create a Windows Virtual Desktop tenant.

Please note that everything in this article is subject to change because Windows Virtual Desktop is in preview. Additionally, when using an AAD user account, make sure that it is a work or school account and not a Microsoft Account (MSA). I’ll remind you about this again.

Grant Azure Active Directory Permissions to Windows Virtual Desktop Service

Giving ADD permissions to the WVD service lets it query the directory for administrative and end-user actions. All you need to do is click here to open the Windows Virtual Desktop consent page in a browser.

Creating a Windows Virtual Desktop Tenant (Image Credit: Russell Smith)
Creating a Windows Virtual Desktop Tenant (Image Credit: Russell Smith)

Assign TenantCreator Role to AAD User

Now you need to assign the TenantCreator application role to an AAD user.

Creating a Windows Virtual Desktop Tenant (Image Credit: Russell Smith)

Create a Windows Virtual Desktop Tenant

The last step is to create the tenant itself.

Install-Module -Name Microsoft.RDInfra.RDPowerShell
Import-Module -Name Microsoft.RDInfra.RDPowerShell

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

New-RdsTenant -Name PetriWVD -AadTenantId xxxx-xxxx-xxxxx-xxxxx -AzureSubscriptionId xxxx-xxxx-xxxxx-xxxxx

Creating a Windows Virtual Desktop Tenant (Image Credit: Russell Smith)

And that is it! Now you are ready to create a hosting pool in the Azure management portal. As you can see, the process of creating a tenant isn’t exactly intuitive or straightforward. Which is a shame because creating a hosting pool is easier. But this is just the preview stage and Microsoft will hopefully make this process simpler and integrate it with the Azure management portal before general availability.

In the third part of this series, I’ll show you how to create a hosting pool in the Azure management portal.

 

The post How to Create a Windows Virtual Desktop Tenant with Windows Virtual Desktop appeared first on Petri.

Exit mobile version