Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Add Microsoft Entra ID Azure AD User to Remote Desktop Users Group

Add Microsoft Entra ID Azure AD User to Remote Desktop Users Group

Allowing a Microsoft Entra ID (Azure AD) user to access a remote desktop session on your Windows machine involves adding their account to the Remote Desktop Users group. This process is essential for enabling secure remote access for users managed via Azure AD, especially in hybrid or cloud-only environments. Before you begin, ensure you have appropriate administrative privileges on the Windows device and that the user is properly synchronized or registered with your Azure AD tenant. This guide walks you through the steps to grant a Microsoft Entra ID user remote desktop access efficiently and securely.

What You’ll Need

  • Administrator access on the Windows device where remote access is needed
  • Azure AD user account with proper licensing and permissions
  • Network connectivity to the Windows device
  • Optional: Remote Server Administration Tools (RSAT) installed if managing remotely

Step-by-Step

  1. Verify Azure AD User Account: Ensure the user account exists in your Azure AD tenant and is assigned the necessary licenses for remote desktop access. You can do this via the Azure portal by navigating to Azure Active Directory > Users.
  2. Ensure Device is Hybrid Azure AD Joined or Azure AD Joined: Confirm that the Windows device is either Azure AD Joined or Hybrid Azure AD Joined. This setup allows Azure AD users to authenticate locally.
  3. Open Computer Management: On the Windows device, press Win + X and select Computer Management. Alternatively, type compmgmt.msc in the Run dialog (Win + R) and press Enter.
  4. Navigate to Local Users and Groups: In the Computer Management window, expand Local Users and Groups > Groups.
  5. Open Remote Desktop Users Group: Double-click on Remote Desktop Users to open its properties.
  6. Add Azure AD User: Click Add. In the Select Users dialog, type the user’s Azure AD email address or UPN (User Principal Name). If the user does not appear, select Locations and ensure you’re searching in the correct directory. Confirm by clicking Check Names or OK.
  7. Confirm Addition and Close: After adding the user, click Apply and then OK. The user is now part of the Remote Desktop Users group.
  8. Test Remote Desktop Access: Have the user attempt to connect to the device via Remote Desktop using their Azure AD credentials. Ensure the user can authenticate and access the machine.
  9. Optional: Use PowerShell for Automation: For bulk or scripted additions, you can run PowerShell commands such as:
    Add-LocalGroupMember -Group 'Remote Desktop Users' -Member 'AzureAD	heiruser@domain.com'

    Ensure you run PowerShell as an administrator.

Common Mistakes

  • Adding users with incorrect UPN or email addresses — ensure the UPN matches the Azure AD user’s login.
  • Device not properly joined or synchronized with Azure AD — verify device registration and join status.
  • Trying to add cloud-only users without proper hybrid join or registration — these users may require additional configuration.
  • Not having administrative privileges — without admin rights, you cannot modify group memberships.
  • Forgetting to restart or log out and back in — user permissions may not update until re-authentication.

Tips

  • Use PowerShell for bulk additions or automation, especially in large environments.
  • Ensure your device is properly joined to Azure AD for seamless user authentication.
  • Verify user licenses include Remote Desktop or Virtual Desktop Access (VDA) rights.
  • Regularly review group memberships for security compliance.
  • Document changes for audit and troubleshooting purposes.

Troubleshooting

If the user cannot connect after following the above steps, consider these troubleshooting tips:

  • Verify user membership: Recheck that the user is correctly added to the Remote Desktop Users group. Use PowerShell or Computer Management to confirm.
  • Test user login: Confirm the user can log into Windows locally with their Azure AD credentials.
  • Check network and firewall settings: Ensure the Windows device allows inbound Remote Desktop connections and that no firewall rules block access.
  • Validate Azure AD join status: Confirm the device’s registration and join status via Settings > Accounts > Access work or school.
  • Review event logs: Check the Event Viewer under Windows Logs > Security or Application for authentication errors.
  • Update Windows: Keep the device updated to ensure compatibility with Azure AD features and remote desktop protocols.
  • Consult Azure AD sign-in logs: Use the Azure portal to review sign-in logs for failed authentication attempts.

Frequently Asked Questions

1. Can I add a cloud-only Azure AD user to the Remote Desktop Users group?

Yes, but the device must be Azure AD Joined or Hybrid Azure AD Joined, and the user must have the correct licensing and registration.

2. Do I need to be on the same network as the device to add users?

No, but you must have administrative access and be able to connect to the device remotely or locally.

3. How do I add multiple Azure AD users at once?

Use PowerShell scripting with a list of user UPNs to automate group additions efficiently.

4. What permissions are needed to add users to the Remote Desktop Users group?

You need to be a local administrator on the device or have equivalent permissions.

5. How can I verify if a user has remote desktop access?

Check if they are a member of the Remote Desktop Users group and attempt a remote connection with their credentials.

6. Is it possible to add users via Azure portal directly?

No, group management for local groups like Remote Desktop Users must be done on the device or via PowerShell; Azure portal manages directory objects, not local group memberships directly.

Adding Azure AD users to the Remote Desktop Users group is a critical step for enabling secure remote access in modern Windows environments. Following this guide ensures you do it correctly, avoiding common pitfalls and maintaining security best practices. Proper configuration and testing will help your users access resources seamlessly while keeping your network protected.

Related

Add Microsoft Entra ID Azure AD User to Remote Desktop Users Group
Scroll to top