Additional sign-in or account-related issues within Microsoft Teams for business
Hi eliraf, I'm Sergio, it's a pleasure to help you.
You can use the Teams PowerShell command:
PS C:> Disconnect-MicrosoftTeams
You can get more details about the different ways of uses it in this reference article:
https://docs.microsoft.com/en-us/powershell/mod...
I hope that the information gives to you will be useful to your purposes, please let me know about the result, because other users with the same problem will know what to do.
Greetings.