How to send message in teams channel using guest user programmatically?

Himanshu Shukla 5 Reputation points
2024-04-02T15:56:23.48+00:00

Is it possible to send messages in teams channel using guest user credentials by invoking graph API programmatically?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,268 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,226 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,320 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LiweiTian-MSFT 20,415 Reputation points Microsoft Vendor
    2024-04-03T02:08:03.2833333+00:00

    Hi @Himanshu Shukla

    Guest users can programmatically send messages to a Teams channel using the Microsoft Graph API.

    Please follow the documentation to learn how to use graph to send messages to a channel and what permissions are required.


    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.


     


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.