Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04]

Posted on 28/06/202629/06/2026 Link State By Link State No Comments on Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04]
  1. Home
  2. AWS/Azure/OpenShift
  3. Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04]

In this article, we shall discuss “Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04]”. This scenario simulates a common real-world condition where users access Azure Virtual Desktop resources from unmanaged or external devices, requiring specific configuration adjustments to support authentication and connectivity. Please see Azure Virtual Desktop: Deploy host pools and session hosts in the Azure [Part 01], and Manage Azure Virtual Desktop host pools and session hosts using the Azure portal [Part 02].

Verify Azure Virtual Desktop Session Host Functionality from a Windows 11 Client (Entra ID)

In this guide, you will work with an existing Azure Virtual Desktop environment that includes Microsoft Entra ID–joined session hosts. The goal is to validate that these session hosts are functioning correctly by establishing a connection from a Windows 11 client that is not joined to or registered with Microsoft Entra ID.

After completing this lab, you will be able to: Validate the functionality of Microsoft Entra ID–joined Azure Virtual Desktop session hosts by connecting from a non-Entra-joined Windows client: Configure single sign-on for Azure Virtual Desktop using Microsoft Entra ID – Azure Virtual Desktop | Microsoft Learn

Configure RDP Properties for the Azure Virtual Desktop Host Pool

The previously configured RDP settings enable an optimal single sign-on experience, but additional configuration is required for full support. By default, authentication works only if the client is Microsoft Entra joined, hybrid joined, or registered to the same tenant as the session host.

Since the Windows 11 VM does not meet these conditions, the custom RDP property targetisaadjoined:i:1 must be added to the host pool.

On the XXXXX-hp1 RDP Properties page, open the Advanced tab and append the string targetisaadjoined:i:1 to the existing RDP properties. Ensure it is correctly separated from previous entries using a leading semicolon if required.

In the RDP Properties text box, remove the string enablerdsaadauth:i:value if it is present, including its trailing semicolon. In this case, the setting is not present and no action is required.

Please see How to set Up Azure Virtual Desktop Insights Monitoring [Part 03], Disaster Recovery Test Checklist: What to Capture Before You Start, and PCI Driver Error: Connection to Deployment Share could not be made.

Open the Windows App (Remote Desktop Solution

Download App: Windows App – Free download and install on Windows | Microsoft Store

On the Windows 11 taskbar, select the Windows App icon to launch the client application.

Subscribe to an Azure Virtual Desktop Workspace

On the Windows 11 VM, open the Windows App and select Sign in. When prompted, authenticate using the provided credentials and ensure you select the user account that is a member of the Entra group with the AVD-DAG prefix.

In the Devices section, verify that only SessionDesktop is listed and no additional applications or resources are present.

This behavior is expected because the Microsoft Entra user account was previously assigned in the Deploy host pools and session hosts by using the Azure portal (Entra ID) lab to the auto-generated XXXXX-hp1-DAG desktop application group, which results in only SessionDesktop being available under Devices.

On the Windows App page, open the ellipsis (…) menu on the SessionDesktop thumbnail and select Settings from the context menu.

In the SessionDesktop pane, disable the Use default settings toggle switch.

In the Display settings section, select Select displays from the drop-down menu and choose the monitors to use for the session. Then, review the remaining SessionDesktop options, including Maximize to current displays, Single display when in windowed mode, and Fit session to window, without modifying any settings.

In the SessionDesktop pane, review the remaining options such as Maximize to current displays, Single display when in windowed mode, and Fit session to window, ensuring that no changes are made to the default configuration.

Close the SessionDesktop settings pane, then return to the Windows App page and double-click the SessionDesktop icon to launch the remote session.

To enable sign-in to the Windows App session, grant the AVD-DAG group the Virtual Machine User Login role. In a separate browser tab, open the relevant resource group, go to Access control (IAM), and assign the required permissions to the group.

When prompted in the Windows Security dialog, enter the password for the Microsoft Entra user account used to connect to the Azure Virtual Desktop environment.

Azure Virtual Desktop does not support using different accounts for Microsoft Entra sign-in and Windows session sign-in, as this can cause session routing issues and incorrect portal data. After successful authentication, the SessionDesktop window will open automatically.

Remember to use the account that belongs to the group enabled for RDP sessions

In the Windows App session, verify that you have full administrative access (for example, open the Start menu and launch Windows PowerShell (Admin)). Then sign out from the session by selecting the user avatar and choosing Sign out.

After returning to the Windows App, sign out from the client as well. Finally, select Sign In again and authenticate using the credentials of the second Entra ID user account.

Note: Select the Microsoft Entra user account that is a member of the AVD-RemoteApp group. After signing in, confirm that the Windows App page displays four published applications: Command Prompt, Microsoft Word, Microsoft Excel, and Microsoft PowerPoint.

This is expected behavior, as the user account was previously assigned to the XXXXX-hp1-Office365-RAG and XXXX-hp1-Utilities-RAG application groups in the initial lab setup.

When prompted in the Windows Security dialog, enter the password for the second Microsoft Entra user account used to access the Azure Virtual Desktop environment.

Verify that a Command Prompt window opens successfully. In the window, run the hostname command to display the name of the computer hosting the session.

Confirm that the Command Prompt window opens successfully and execute the hostname command. Verify that the returned computer name begins with the sh- prefix, indicating a session host.

In the Command Prompt, run logoff to end the RemoteApp session. Then launch Microsoft Word, Excel, and PowerPoint by double-clicking each icon in the Windows App page, and close each application session window after verification.

This concludes the fourth part of the guide to Azure Virtual Desktop. Let’s now move on to the fifth part for the next steps.

I hope you found this guide on “Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04]” very useful. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:AVD connectivity troubleshooting, AVD session host connection guide, Azure VDI Entra ID sign-in, Azure Virtual Desktop access management, Azure Virtual Desktop client setup, Azure Virtual Desktop connect session hosts Entra ID, Azure Virtual Desktop login Entra ID, Azure Virtual Desktop Microsoft Entra ID authentication, Azure Virtual Desktop remote access setup, Azure Virtual Desktop remote session guide, secure Azure Virtual Desktop connections

Post navigation

Previous Post: Azure Virtual Desktop: How to set Up Azure Virtual Desktop Insights Monitoring [Part 03]
Next Post: Azure Virtual Desktop: Autoscaling Implementing and Monitoring Session Hosts [Part 05]

Related Posts

  • ouath2final 1 e1786835965613
    How to implement Interactive Authentication using MSAL dotNET AWS/Azure/OpenShift
  • MSSQL Always On Cluster on Azure
    [AZURE] Procedure for creating an MSSQL Always On Cluster on Azure AWS/Azure/OpenShift
  • azure logo
    Azure CLI commands: How to use Azure Command-line Interface AWS/Azure/OpenShift
  • sonarcloud
    How to Integrate SonarCloud with Azure DevOps Pipeline AWS/Azure/OpenShift
  • HighA
    Virtual Machine Scale Set: Demonstrating High Availability in Azure AWS/Azure/OpenShift
  • How to create EC2 instance using Ansible
    How to launch an EC2 instance AWS/Azure/OpenShift

More Related Articles

ouath2final 1 e1786835965613 How to implement Interactive Authentication using MSAL dotNET AWS/Azure/OpenShift
MSSQL Always On Cluster on Azure [AZURE] Procedure for creating an MSSQL Always On Cluster on Azure AWS/Azure/OpenShift
azure logo Azure CLI commands: How to use Azure Command-line Interface AWS/Azure/OpenShift
sonarcloud How to Integrate SonarCloud with Azure DevOps Pipeline AWS/Azure/OpenShift
HighA Virtual Machine Scale Set: Demonstrating High Availability in Azure AWS/Azure/OpenShift
How to create EC2 instance using Ansible How to launch an EC2 instance AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • OxscsIP
    Enable Virtualization in Windows: Fixing VirtualBox’s 32-bit Option Virtualization
  • Synology NAS as a Backup Repository for VBR
    Setup DS923+ Synology NAS as a Backup Repository for VBR Reviews
  • powershell01
    How to create a KDS root key using PowerShell Scripts
  • adc
    How to add a second Domain Controller Windows Server
  • gfhj
    Debugging: How to debug a PowerShell script Windows
  • PrintButton
    How to add Print Drivers with PowerShell, RUNDLL32, and VBScript in Windows 10 Windows
  • Recovery keys in AD 1
    Backup existing and new BitLocker Recovery Keys to Active Directory Windows Server
  • servicechannels3 1
    Long Term Servicing Branch vs Semi-Annual Channel Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,762 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.