Windows Remote Desktop Client "We Couldn't Authenticate You" Error

JEREMY WOLF 6 Reputation points
2022-07-12T20:25:25.003+00:00

When I run the Windows Desktop Client on many of the desktops in my environment, I get the attached error when I click the subscribe button.  The web client works fine from these computers.  This is using the newest client.  I get the same thing if I put in the feedurl.  This error immediately pops up, it never even asks me to login.  The Windows Desktop Client works from other computers.

219988-avd-error.png

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,362 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,243 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JEREMY WOLF 6 Reputation points
    2022-07-19T19:09:48.897+00:00

    This issue was on Citrix Server 2016 Session Hosts. The solution ended up being to run this powershell script at login:
    if (-not (Get-AppxPackage Microsoft.AAD.BrokerPlugin)) { Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown } Get-AppxPackage Microsoft.AAD.BrokerPlugin

    This only resolved the issue for published desktops, not for published apps.

    1 person found this answer helpful.