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

Eric 20 Reputation points


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 '' 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,246 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,209 questions
0 comments No comments
{count} votes

Accepted answer
  1. Patchfox 3,791 Reputation points

    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

1 additional answer

Sort by: Most helpful
  1. David Baudet 0 Reputation points

    Is there any solution for the new teams to do the same things ?

    0 comments No comments