Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
I believe it is TPM issue on the BIOS. Which handles the security. I don't remember how I solved the Teams issue. But I see couple of people office 365 login issues. I was able solve bios reset or bios update to the mother board. I would warn if you are not comfortable updating bios don't do it. Contact your admin or computer manufacturer.
Another way is to delete saved credential password in credentials manager.