A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
Hello @Crogger ,
It turns out the ms-avd:connect URI’s resourceid parameter isn’t meant to point at the App Group or Host Pool itself, but at an individual Application resource under that App Group. When you plug in the App Group’s resource ID (or the Host Pool’s), the AVD client goes off to Azure AD looking for a service principal or discovery endpoint that doesn’t exist—hence the TenantDiscoveryFailed error.
What you should do is:
- In the Azure portal, navigate to your Host Pool → Application Groups → select your App Group.
- Click Applications and locate the Desktop (or RemoteApp) entry that was created as part of that group.
- Copy its Resource ID, which looks like: /subscriptions//resourceGroups//providers/Microsoft.DesktopVirtualization/applicationGroups//applications/
- Use that full resource ID in your URI: ms-avd:connect?resourceid=/…/applications/desktop&workspaceid=&version=0&username=
Because the “Desktop” application is part of every AVD personal host pool and has a stable resource ID, you’ll never have to spin up a dummy VM just to keep an application ID around.
Hope that clears things up!
– Tom
P.S. A quick checklist in case you still see TenantDiscoveryFailed: • Make sure your session hosts are AAD-joined and successfully registering. • Confirm you’re on a recent version of MSRDC or the Windows App (1.2.4066+). • Verify you copied the application resource ID (not the group or host pool).
Reference docs: • Troubleshoot Azure Virtual Desktop service connections: https://learn.microsoft.com/troubleshoot/azure/virtual-desktop/troubleshoot-service-connection • Windows 365 Store App deep‐linking overview: https://supportability.visualstudio.com/WindowsVirtualDesktop/_wiki/wikis/WindowsVirtualDesktop/724285/Features/AVD%20Clients/Windows%20365%20Store%20App • AAD connectivity for AVD (“TenantDiscoveryFailed” often means the client can’t resolve AAD endpoints): https://learn.microsoft.com/troubleshoot/azure/virtual-desktop/troubleshoot-azure-ad-connections?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider
Was this helpful?