Teams sometimes caches old credentials or account tokens, especially if you’ve used multiple accounts on your device.
To troubleshoot:
Clear Teams App Data and Cache https://free.blessedness.top/en-us/troubleshoot/microsoftteams/teams-administration/clear-teams-cache
Remove Old Accounts from Windows Credentials - https://www.thewindowsclub.com/clear-all-credentials-from-credential-manager