Welcome to the Microsoft Q&A Platform and thank you for your question!
Based on your description, it seems you’re experiencing an authentication issue when connecting to an RDP or Azure Virtual Desktop (AVD) session. To ensure successful sign-in and connectivity, please review the following setup steps and requirements:
1. Set Up Prerequisites
- Azure Subscription: Confirm you have an active Azure subscription.
- Active Directory: Use Azure AD, hybrid AD, or Azure AD Domain Services, depending on your setup.
- Virtual Network (vNET): Ensure proper connectivity between session hosts and required services. Configure VPN or ExpressRoute if connecting to on-premises resources.
- User Accounts: Verify user accounts exist in Azure AD with matching UPNs.
- Note: B2B (guest) accounts are not supported for AVD access.
- Licensing: Assign valid Windows or Microsoft 365 licenses to all users accessing AVD.
- Supported OS: Use supported session host images such as Windows 10/11 Enterprise multi-session or Windows Server 2019/2022.
2. Deploy AVD Host Pools and Session Hosts
- Create Host Pool: In the Azure portal, create a host pool to group identical session hosts.
- Register Session Hosts: Install the AVD agent and register each host using the provided registration key.
- Configure App Groups: Create Desktop or RemoteApp app groups to define which resources users can access.
3. Assign Users to App Groups
- Assign users or groups to the appropriate app group.
- A user can only belong to one app group type (Desktop or RemoteApp) per host pool but may be assigned to multiple groups across different pools.
4. Configure Network and Security
- Verify DNS and network settings allow domain joins and connectivity to AVD endpoints.
- Apply Conditional Access, RBAC, and MFA policies as needed for security.
5. Grant Access and Test
- Users can connect using the Remote Desktop client (Windows, macOS, iOS, Android) or a supported HTML5 browser.
- Sign in using valid Azure AD credentials.
6. Monitor and Troubleshoot
Use AVD Diagnostics and Log Analytics to monitor sessions and identify authentication or connection errors.
Reference: Issue with get in to RDP server. Authentication issues (event 4634 and 4768). - Microsoft Q&A