Hi @IBN
By default, external access is turned on. The external domain setting is Allowed all external domains. As a result, external users could communicate with you directly.
Chatting with external users on the client side will have an External identity. You could see the user's online status and email address. The account information for external users is shown below.
If you want to block communication with external users, you could set up communication with external users as needed in Teams admin center. The methods for setting up external communication are as follows.
In the Teams admin center, go to Users > External access.
Under Choose which domains your users have access to.
For more details about Manage external meetings and chat in Microsoft Teams, you could refer to this link’s table.
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.