Hi ,
This may be caused because Teams is never uninstalling correctly. Have you checked this article:
https://learn.microsoft.com/en-us/microsoftteams/troubleshoot-installation
-----------------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--