Forum Discussion

Jovan_S's avatar
Jovan_S
Copper Contributor
Jan 13, 2023

Unable to remove old account sing up form Teams on Mac OS

I cannot remove an old sing account from Teams on Mac OS. I have to delete the keychain, I delete the temp folder, and remove and reinstall Teams, and the old account is still there. I have a case open with the Microsoft team, and they cannot figure it out. Where is the login info store, and why has Microsoft not provided a solution where users can remove accounts as easily as they can add? Please help! 

 

  • After Win11 Update XBox App erkennt Gamepad nicht obwohl in ystem vorhanden und Kalibrierung funktioniert, GameBar Problem?
  • Anit_Kumar's avatar
    Anit_Kumar
    Copper Contributor

    Jovan_S

    I tried following steps without any success [successful one shared at the end of the post]
    - quitting the app and uninstalling it
    - then deleting the cache from ~/Library/Application Support/Microsoft/
    - deleting all the keys from Key Chain Access that came as a part of teams keyword search
    - re-installing the app
    It didn't work.

     

    This worked

    - did all the above steps

    - search Microsoft keyword in the key Chain Access

    - delete the keys that has com.microsoft.oneauth and com.microsoft.adalcache

    This will remove the existing accounts at the startup.

     

    Hope this helps.

    • MetinYz's avatar
      MetinYz
      Copper Contributor
      Thanks you! Worked brilliantly. I have been trying to figure this out for a very long time.
    • AndyB2045's avatar
      AndyB2045
      Copper Contributor
      This fixed mine. I did not have to uninstall anything, just remove adalcache and oneauth entries in Keychain Access.
      • hipertracker's avatar
        hipertracker
        Copper Contributor
        It does not work on my Mac. I removed all com.microsoft.* key references to teams, removed cache, removed app with cleanmymacx, reboot mac, nothing works. I just cannot remove the old account. I hate Microsoft. It should die. Their soft is a piece of **bleep**. The only solution is to run MS Teams crap from Windows under Parallels emulator. What a fail.
    • dcoplon's avatar
      dcoplon
      Copper Contributor

      Anit_Kumar 

      Thanks so much! We switched from the gov cloud to biz cloud in April. A little while ago Teams started forcing me to log into the gov cloud instance. Fortunately, I was able to do that, log out and then log into the biz cloud. Unfortunately, about a week ago, those steps no longer worked and now at the worst possible moments, Teams switches me into gov cloud and I can't get out.

       

      UPDATE: I just updated to the new Teams app which appears to allow me to have both tenants logged in.

      • Anit_Kumar's avatar
        Anit_Kumar
        Copper Contributor

        dcoplon really not sure about this case. If you have any work provided laptop, try checking with the Org admin team if they can help you with deleting these files or have any other permanent solution.

         

        These Teams issues are really weird and frustrating 😞

  • Tokolosh's avatar
    Tokolosh
    Copper Contributor

    In Keychain search "microsoft" instead of "teams" and remove any "application password" type files starting with com.microsoft.oneauth.*

    This is what finally fixed it for me.

    • Jovan_S's avatar
      Jovan_S
      Copper Contributor

      Thank you for the suggestion,  and sadly it does not work at all. I (we the MS engen) have tried it all and no one can find out what is going on.  At one point they said there are hidden files that drive the log in but where are there ! 

      • Tokolosh's avatar
        Tokolosh
        Copper Contributor

        Jovan_S Doing specifically what I said has now worked for removing the existing logins on over 10 devices here. 

  • ikd1000's avatar
    ikd1000
    Copper Contributor
    So I also have this problem, on a *brand new Mac*!!! So the issues is clearly at MS´ servers, not the local device. And yes, I've tried the solutions listed below.
  • Hello,

    Can you check if you can delete the information from the below steps:

    1. Uninstall Microsoft Teams (Go to Applications -> Microsoft Teams -> Command+Delete -- when asked, enter MAC password)
    2. Browse to ~/Library/Application Support/Microsoft/ (Terminal -- cd ~/Library/"Application Support"/Microsoft/)
    3. Delete Entire "Teams" folder (sudo rm -rf Teams)
    4. Install Microsoft Teams
    5. Open Teams. Use as usual, as this would either let you chose an existing account and follow process or will prompt to enter your desired account to chose)

    With Regards,
    Satish U
    • Jovan_S's avatar
      Jovan_S
      Copper Contributor
      Thank you for the suggestion, I have tried, and is not working. This is a major bug for MS Teams for MacOS. I should be able with out any technical knowledge to remove any user id that I wish from MS Teams.

Resources