Before you add a guest, it needs to create a team first. Then, add a guest to your team in Teams by adding member. For more information about how to create a team, please refer to this link:
Moreover, guests must have a Microsoft 365 work or school account. If the guest doesn’t yet have a Microsoft account associated with their email address, they will be directed to create one for free. For reference, please read this article:
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.