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! 

 

  • 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.

    • JanisRomans's avatar
      JanisRomans
      Copper Contributor
      Thank you so much! Deleting Application Support files in both User and System Library + removing keys from Keychain Access worked for me.
    • leithgooner's avatar
      leithgooner
      Copper Contributor

      Anit_Kumar Thank you so much! Worked for me. 

      For other novices like me - right click the file to "get info" on keychain file (oneauth and the other one) to bring up the window in Anit's post. 

      I reinstalled the new version of Teams rather than the Classic version I'd had before - not sure if this made any difference. 

       

       

  • 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.
  • 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.
  • 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. 

  • After Win11 Update XBox App erkennt Gamepad nicht obwohl in ystem vorhanden und Kalibrierung funktioniert, GameBar Problem?

Resources