Sending a message to an appointment's Teams Chat does not create the chat in Teams

Percy Pan 0 Reputation points Microsoft Employee
2023-02-07T19:21:05.1933333+00:00

Hi,

We are using Microsoft Graph API to send a message into a 1:1 Teams chat that's associated in the Outlook appointment.

await graphClient.Chats["{chat-id}"].Messages
	.Request()
	.AddAsync(chatMessage);

We have encountered a potential bug as shown below:

We have an Outlook appointment associated with a Teams Chat. (See attached screenshot related to the appointment), and the appointment has one organizer and one participant.

Assuming there is no such chat from the appointment in the Teams (no message history, no chat created/shown in Teams).

  1. If the appointment organizer sending a request for a new message (chat-id from appointment.TeamsThreadId), the chat can be created/shown in the Teams and the message sent out successfully (see attached screenshot about the chat).
  2. However, if the request was sent by the appointment participant, there is no error throwing from the response, but such chat wasn't created/shown in the Teams. (The message will be shown out when we manually opened the chat through Outlook appointment, which means the message was stored successfully)

Please give us any potential workaround for creating/showing chat when a participant (2) sending out a message into a chat that's associated into the Outlook appointment.

Thanks,

Percy

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,474 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,319 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,035 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,000 questions
0 comments No comments
{count} votes