@Gareth T ,
Welcome to Microsoft Q&A Platform!
Thank you for reaching out. I understand that you're trying to create a group chat in Teams that includes an external guest user using the Logic Apps connector. Unfortunately, the "Create a chat" action in Logic Apps currently does not support adding guest users to a group chat. This is a known limitation.
https://learn.microsoft.com/en-us/connectors/teams/?tabs=text1%2Cdotnet
However, we could try this functionality by leveraging the Microsoft Graph API. The Graph API provides the flexibility to include both internal users and external guests in a Teams group chat, provided the external users are already added as guests to your Azure Active Directory tenant.
To implement this solution:
- The guest user must first be invited and properly configured in your Azure AD.
- We can utilize Logic Apps' HTTP action to call the Graph API and programmatically create a group chat, including the external guest.
https://learn.microsoft.com/en-us/graph/api/chat-post?view=graph-rest-1.0&tabs=http
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.