Forum Discussion

akettler's avatar
akettler
Copper Contributor
Jan 05, 2024

Teams keeps trying to log me in to an account I don't have access to - can't uninstall

Hello,

 

I previously was using my Teams through an institution, but I am no longer there and don't have access to that email address. I get pop-ups constantly trying to get me to log in through my previous institution. If I force quit, it just pops up again. There is not an option to log in with a different account.

 

I've deleted all teams related sign in information in my Keychain app

 

I've seen some threads that say to uninstall, but I can't uninstall since I can't close the pop up long enough to uninstall.

 

Thanks for your help!

  • Hi akettler,

    to uninstall Microsoft Teams from your Mac, here are the steps you can follow:

    1. Right-click on the Teams app in the dock, hold down Option and select Force Quit to close Teams.
    2. Navigate to the Application Folder, find Microsoft Teams, and move it to Trash.
    3. Click on Go > Go To Folder
    4. Then go to the following folders and delete them if they exist:
      • ~/Library/Caches/com.microsoft.teams
      • ~/Library/Caches/com.microsoft.teams.shipit
      • ~/Library/Application Support/Microsoft/Teams
      • ~/Library/Application Support/Microsoft/Teams/Application Cache/Cache
      • ~/Library/Application Support/Microsoft/Teams/blob_storage
      • ~/Library/Application Support/Microsoft/Teams/Cache
      • ~/Library/Application Support/Microsoft/Teams/databases
      • ~/Library/Application Support/Microsoft/Teams/GPUCache
      • ~/Library/Application Support/Microsoft/Teams/IndexedDB
      • ~/Library/Application Support/Microsoft/Teams/Local Storage
      • ~/Library/Application Support/Microsoft/Teams/tmp

    How to completely remove Teams from Mac - Microsoft Community


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

  • r_8a's avatar
    r_8a
    Brass Contributor

    Hello akettler ,

     

    You may also need to remove your previous account under Settings > Accounts > Access work or school. Click on the account and select "Disconnect."

    You may also want to check "Email & accounts" and remove any previous account there. 

     

    Cheers!

    r_8a

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi akettler,

    here are some steps you can try to resolve your issue:

    1. Check Windows Credential Manager:

      • Press Win + X and select Control Panel.
      • Navigate to User Accounts > Credential Manager > Windows Log-in Information.
      • Look for any stored credentials related to Teams or the previous institution.
      • Remove them all.

         

    2. Registry Cleanup:

      • Be cautious with this step, as editing the registry can have unintended consequences.
      • Press Win + R, type regedit, and press Enter.
      • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\Teams.
      • Delete the Teams folder. 
    3. Disable Teams at Startup:
      • Press Ctrl + Shift + Esc to open Task Manager.
      • Go to the Startup tab and disable Microsoft Teams from starting with Windows.
      • Try uninstall the Teams
    4. Command Line Uninstall:

      • Open Command Prompt as an administrator.
      • Type cd %localappdata%\Microsoft\Teams and press Enter.
      • Then type Teams.exe --uninstall and press Enter.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

      • LeonPavesic's avatar
        LeonPavesic
        Silver Contributor

        Hi akettler,

        to uninstall Microsoft Teams from your Mac, here are the steps you can follow:

        1. Right-click on the Teams app in the dock, hold down Option and select Force Quit to close Teams.
        2. Navigate to the Application Folder, find Microsoft Teams, and move it to Trash.
        3. Click on Go > Go To Folder
        4. Then go to the following folders and delete them if they exist:
          • ~/Library/Caches/com.microsoft.teams
          • ~/Library/Caches/com.microsoft.teams.shipit
          • ~/Library/Application Support/Microsoft/Teams
          • ~/Library/Application Support/Microsoft/Teams/Application Cache/Cache
          • ~/Library/Application Support/Microsoft/Teams/blob_storage
          • ~/Library/Application Support/Microsoft/Teams/Cache
          • ~/Library/Application Support/Microsoft/Teams/databases
          • ~/Library/Application Support/Microsoft/Teams/GPUCache
          • ~/Library/Application Support/Microsoft/Teams/IndexedDB
          • ~/Library/Application Support/Microsoft/Teams/Local Storage
          • ~/Library/Application Support/Microsoft/Teams/tmp

        How to completely remove Teams from Mac - Microsoft Community


        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.


        If the post was useful in other ways, please consider giving it Like.


        Kindest regards,


        Leon Pavesic
        (LinkedIn)

    • cal_bradley's avatar
      cal_bradley
      Copper Contributor
      Any advice for removing the offending locked out account from Teams on Android? I'm just constantly being prompted to sign in and I, obviously, can't do that. Thanks!

Resources