How to change the default Windows Virtual Desktop “SessionDesktop” name to a more friendly one with PowerShell or GUI

When you create a new Windows Virtual Desktop Host pool, a default “Desktop Application Group” (DAG) will be created for you. When you assign a user or an Azure AD Security group to this Desktop group, the user(s) will see a desktop icon appear in their Remote Desktop client with the name “SessionDesktop”. You can easily change this name to a more friendly name with PowerShell or the GUI, as I will show you in this short blog.

First, let’s take a look to my Remote Desktop client to see how it looks now, before the name changes:

As you can see, I have four Windows Virtual Desktop Host pools with a full published desktops with the name SessionDesktop.

Change the friendly name via PowerShell

To change this name, open a PowerShell prompt and run the commands below.

If you never have used PowerShell on your device before, first run the following command:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

And then press Y

To install the Azure Az PowerShell module (required for these steps), run the following:

Install-Module -Name Az -AllowClobber

To load the module in your PowerShell session run:

Import-Module Az

After that, login with your admin account:

Connect-AzAccount

Now we can change the SessionDesktop name. To do this, run the following command (replace the brackets):

Update-AzWvdDesktop -ResourceGroupName <Resource Groupname> -ApplicationGroupName <App Groupname> -Name <Application name> -FriendlyName <the name you want>

An example : In my case my resource group has the name “WVD-ManagementComponents”, the application group name is “Personal VDIs-DAG”. The friendly name I want to give to the full published desktop is “Personal VDI”, therefor I run this command:

Update-AzWvdDesktop -ResourceGroupName WVD-ManagementComponents -ApplicationGroupName "Personal VDIs-DAG" -Name "Personal VDIs-DAG" -FriendlyName "Personal VDI"

After changing all the names I want, my Remote Desktop client now looks like this:

Change the friendly name via GUI

To change the friendly name in the Windows Virtual Desktop portal, login to the Microsoft Azure Portal , and navigate to Windows Virtual Desktop > Application groups > <application DAG> 

Open the Properties blade and change the Friendly name in the desired name.

1 comment

About Robin Hobo

I am a Technology Specialist working for Microsoft with focus on the Modern Workplace. I am specialized in Microsoft Intune, Azure Virtual Desktop (AVD), Windows 365, Windows 11 and Azure AD. Also interested in mental health, NLP and personal development.

For more information, see the About Me page or my LinkedIn profile.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close