Unable to remove Organization from Teams on my Mac

Rblev 0 Reputation points
2026-02-19T21:23:18.4633333+00:00

I have personal email that was connected in Teams to my former organization and I am unable to remove it after I left the organization. I confirmed the organization has completely removed me from there system and I have uninstalled teams and deleted every keychain item related to MS.

Upon re-installing, it still shows, though it is in error state (orange triangle with ! in the middle), since it won't sign in with my account being removed.

Microsoft Teams | Microsoft Teams Free | Other

Answer recommended by moderator
Rblev 0 Reputation points
2026-02-19T21:49:37.11+00:00

Actually, even though I couldn't run the 2nd line of this below, when I reinstalled it, it still worked and my old org was finally removed. Note: I also had to delete the shortcut on my desktop after I uninstalled it.

rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams

rm -rf ~/Library/Containers/com.microsoft.teams2

Problem solved.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. AI answer

    2026-02-19T21:23:28.7033333+00:00

    To remove an organization from Microsoft Teams after you've left, you typically need to ensure that your account is fully detached from the organization. Here are some steps you can follow:

    1. Check Organizations Page: Go to the Organizations page on your Microsoft account. You can do this by visiting https://myaccount.microsoft.com and signing in. Look for the organization you want to leave under the Other organizations you collaborate with section.
    2. Leave the Organization: If the organization is listed, you should see an option to Leave. If you do not see this option, it may mean that the organization does not allow users to leave themselves, and you will need to contact the admin of that organization.
    3. Clear Teams Cache: Since you have uninstalled Teams, ensure that all related cache and configuration files are cleared. You can do this by:
      • Opening Terminal on your Mac.
      • Running the following commands:
             rm -rf ~/Library/Group Containers/UBF8T346G9.com.microsoft.teams
             rm -rf ~/Library/Containers/com.microsoft.teams2
        
    4. Reinstall Teams: After clearing the cache, reinstall Microsoft Teams from the official site.
    5. Sign In: When you sign in, ensure you are using the correct personal account and check if the organization still appears.

    If you continue to experience issues, it may be necessary to contact Microsoft Support for further assistance, especially if the organization has already confirmed your removal.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.
  2. EmilyS726 257.6K Reputation points Independent Advisor
    2026-02-19T21:58:05.06+00:00

    hello

    Please sign into https://portal.azure.com

    Then click on Manage Entra ID

    Then click on Manage tenants.

    Do you see the organization listed? If so, check th box and click on "Leave".

    If it doesnt work let me know what it says

    Was this answer helpful?


  3. Rblev 0 Reputation points
    2026-02-19T21:38:59.54+00:00

    For #1, this step is not viable. I get the error "You can't sign in here with a personal account. Use your work or school account instead." and thus step 2 is not viable.

    for step #3, the 1st command worked, but when I ran "rm -rf ~/Library/Containers/com.microsoft.teams2" it says that operations is not permitted

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.