@Prabhjot Singh -
Could you please try the below scripts?
# Stop the Teams process
Stop-Process -Name Teams -Force
# Remove Teams cache
Remove-Item -Path "$env:APPDATA\Microsoft\Teams" -Recurse -Force
# Remove Teams credentials from Windows Credential Manager
cmdkey /delete:MicrosoftAccount:******@domain.com