How to disable Teams from using logged in user's credentials for ADFS

Eric 20 Reputation points
2023-02-28T16:31:46.7366667+00:00

Hi,

Currently we have two separate domains and would like the users on domain2 to be able to log into a teams account on another domain1. We have the user enter the credentials for domain1 but when we have them attempt this they get the "AADSTS50107: The requested realm object 'xxxx@domain2.com' does not exist' due to the login trying to use" error due to teams trying to pass through the existing login credentials to ADFS. (or at least that's the way it appearrs).

Is there a way to force Team's to act like a browser in private browsing mode where it does not pass through the windows credentials?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,156 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,201 questions
0 comments No comments
{count} votes

Accepted answer
  1. Patchfox 3,786 Reputation points
    2023-02-28T18:45:03.2233333+00:00

    Hi, I hope I can help you with this question.

    With this short script, you get a solution to disable the auto-login of teams.

    taskkill /IM "Teams.exe" /F
    taskkill /IM "Microsoft.AAD.BrokerPlugin.exe" /F
    del C:\Users\%username%\AppData\Roaming\Microsoft\Teams\desktop-config.json /q
    rd C:\Users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy /s /q

    I would create a script file with it and put it on the client's desktop.


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful