[BUG] [MGT-CHAT] Creating a chat with an EXTERNAL user fails
Describe the bug Creating a chat with an EXTERNAL user (ex. [email protected]) fails. This is kind of expected since the NewChat component says "search for a user" instead of expecting you to be able to type one. However, chats with EXTERNAL users (created in Teams) are supported.
Creating a chat with an INTERNAL user and an EXTERNAL user just ignores the EXTERNAL user.
To Reproduce Steps to reproduce the behavior:
- Click to create a new chat.
- Type in an external user's email.
- See error in console.
Expected behavior Ideally, we should be able to create any chat that we can participate in.
Screenshots Here I tried to create a chat with an EXTERNAL user:
Sending a message on an existing chat with an EXTERNAL user is fine:
Environment (please complete the following information):
- OS: macOS Monterey 12.7.3
- Browser: Edge
- Framework: React
- Context: Web
- Version: MGT v4
- Provider: Msal2Provider
Additional context I am a MSFT FTE that can be reached in Teams at pelasne.
@plasne This is not a supported scenario, we can't search for an external user that doesn't exist in the current user's tenant.
Maybe, but 2 counterpoints:
- You can send them a message in MGT once the chat is created in Teams.
- Teams lets you create chat threads to them. You don't search, you just type in the address.
Even if we don't fix it; maybe there should be some kind of error message to the user.