If this issue only occurs on several users, I would suggest first checking if the licenses of the users are expired as Patchfox mentioned.
You can also use the Teams diagnostic tool to check what may be the cause.
Sign-in test direct link: https://aka.ms/TeamsSignInDiag
(You may need to use an admin account which has access to Microsoft 365 admin center)
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.