Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Select Finder > Applications > Utilities > Keychain Access.
Right-click the account that you want to remove.
Select Delete [account name] (this is the account associated with the subscription)
Instruction from:https://support.microsoft.com/en-us/office/sign-out-or-remove-an-account-from-microsoft-teams-a6d76e69-e1dd-4bc4-8e5f-04ba48384487
After that, you might have clear cache in order to reflect the change:
delete Teams folder at /Users/[your username]/Library/Application Support/Microsoft/Teams
Reinstall the Teams app from this link: