RDS & UPD with Microsoft Teams

Oliver Dickins 1 Reputation point
2020-11-05T12:14:12.937+00:00

Hello!

I've got an RDS configuration with 2x RDS Servers. This setup utilized User Profile Disks and I've got a problem when signing into Microsoft Teams.
I've installed the Teams Machine-Wide installer on RDS which works a treat, all user when first logged in get Teams push into their AppData (on the UPD) and loaded at first logon.

The issue comes however a few days later, when they're assigned a different server.
When the user logs into a different server to which they originally setup Teams on, they're greeted with the following screen;
37640-image.png

This image was taken from Google Images, the error code given to my users is "80070003".

Clicking "Signing out" does nothing.
Clicking "Restart" restarts the App, you again - sign in using your email address and it heads straight back to this screen.

What I've Tried;

  • Uninstall Microsoft Teams
  • Log out & back in, which doesn't solve the issue.
  • Set the following key on the users machine; "Get-Item HKCU:\Software\Microsoft\Office\16.0\Common\Identity | New-ItemProperty -Name "DisableADALatopWAMOverride" -Value 1 -PropertyType DWORD"
  • This seemed to help at first, however the issue has returned - not letting us log in.
  • Of course - removed all cached credentials from Credential Manager

I guess when we first sign into Teams we're given some kind of "Token" for the application, which only works on the RDS server the user originally signed in to. When the user heads to the other RDS Server, they cannot use that same Token for some reason. I've tried looking for what ever file could clear this with little success, has anyone else come across the same issue?

Thanks.
Oliver.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,463 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,628 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,404 questions
0 comments No comments
{count} votes

18 answers

Sort by: Most helpful
  1. Matt Rowston 26 Reputation points
    2021-08-19T03:07:36.43+00:00

    Hi all,
    I have been struggling with this one for many months now. Trying to deploy a new RDS 2019 Collection using UPD and Teams just continues to fail on login.
    We would love to stop using the Teams Desktop App in favour of the Teams Web App inside RDS. However the Web App doesn't allow staff to see user visibility icons in Outlook.

    This Teams login problem is a very frustrating problem on the latest of Microsoft Technology.

    I thought I would share my attempts to fix this but my results have been varied. Chop and change and use what you like ;-) I am currently using this batch to try and get Teams Login working again inside the users RDS session. It seems to work for a few days and then Teams login breaks again.

    I have used a number of web forums to gather information to try and fix this. Links below...

    Updated batch file in another post below...I get the user to run in their RDS Session.

    I have only added the Compatibility Mode option lately as I just read about it. So I am hoping it is the Silver Bullet.

    Helpful links
    https://microsoftteams.uservoice.com/forums/555103-public/suggestions/36771037-blank-login-window-fix-it
    https://learn.microsoft.com/en-us/answers/questions/245557/teams-error-code-8009000b-on-hyperv-rds.html
    https://learn.microsoft.com/en-us/answers/questions/127875/teams-on-rds-users-can39t-login.html

    I hope Microsoft start paying attention to this and it is fixed soon as Teams is such an important part of our software base now.
    It should just work.....

    Matt

    1 person found this answer helpful.

  2. JimmyYang-MSFT 54,571 Reputation points Microsoft Vendor
    2020-11-06T02:49:17.113+00:00

    Hi @Jeff Snyder ,

    Does anyone else have the same issue in your organization?

    To exclude the account itself, we recommend you try to login in Teams web client (https://teams.microsoft.com) in InPrivate mode and check the result.

    Then, perform a clean boot to exclude whether a background program is interfering with Teams.

    Moreover, make sure Teams client is the latest version.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Jason Ward 1 Reputation point
    2020-11-15T15:16:29.37+00:00

    We're having the same problem with our clients who use RDS with user profile disks. Microsoft please provide a solution to this, with our clients working remotely due to COVID this has become a serious problem.

    0 comments No comments

  4. Christian Bresch 1 Reputation point
    2020-11-19T08:46:41.983+00:00

    We have the same problem at a newly build RDS Farm. It mostly behaves the same as OliverDickins wrote above, sometimes even Outlook ist disconnected.
    We found out that clearing the following folder helps to get Teams working for a while: %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy (Folder ACL may not be deletable - thats OK) . But the problems recur when users got balanced to another Host the other day.

    Hope someone has a permanent solutions for this. Strange thing is that we have other customers with with apparently identical setups, but they dont have any known problems.

    0 comments No comments

  5. Oliver Dickins 1 Reputation point
    2020-11-24T13:53:57.25+00:00

    @Christian Bresch @Jason Ward

    I started a case with Microsoft regarding this.

    Initially it started behaving when we started remote support, but they deduced I should try setting the compatibility mode to "Windows 8" for Teams when in the RDS.
    Setting this seems to have helped - at the minute, will report back in a few days if it's still working or not as the issue comes and goes.

    If it does work, might need to write a PowerShell script to set the compatibility mode of %LocalAppData%\Local\Microsoft\Teams\Update.exe to Windows 8 at user logon.
    Bit of a bodge, but what can'ya do.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.