Mar 13 2023 09:29 AM
Hello everyone,
I'm currently working on a C# application that needs to send messages to a Teams channel. I was wondering if it's possible to use application authentication to achieve this? If so, could anyone please share some sample code or documentation on how to do this?
Thank you in advance for your help.
Mar 13 2023 11:59 PM - edited Mar 14 2023 12:27 AM
@SudhishSoman - Using application permission you can send the message in channel using following API:
POST /teams/{team-id}/channels/{channel-id}/messages
but application permissions are only supported for migration.
Ref Doc: Send chatMessage in a channel or a chat - Microsoft Graph v1.0 | Microsoft Learn
Mar 14 2023 10:24 PM
Mar 22 2023 11:36 PM