How to send a message to a channel without signed in user.

System Administrator 0 Reputation points
2024-05-17T20:53:49.2633333+00:00

Hello team,

I want to send the message in a channel using Graph API. How can I send a message to a channel without signed in user.

Anyone can help me.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,125 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CharanyaB-MSFT 1,806 Reputation points Microsoft Vendor
    2024-05-17T21:22:19.6066667+00:00

    Hello @System Administrator,

    Thank you for reaching Microsoft!

    You can use Teamwork.Migrate.All Application permission to send channel messages using Graph API.

    But the Application permissions are only supported for migration. In the future, Microsoft might require the customers to pay additional fees based on the amount of data imported.

    Reference document: https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http#permissions-for-channel

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments