Ability for ADMIN to send a chat message on behalf of

sud krish 0 Reputation points
2024-06-10T19:06:45.2933333+00:00

https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-beta&tabs=http talks about few different ways to send message to a channel/chat by the user (or participant of the channel). Is there a way to send message by an admin (on behalf of) to the chat/channel using graph?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-06-11T01:45:46.7066667+00:00

    Hi @sud krish

    Administrators are also a type of user, so if you need an administrator to send messages to a chat/channel using Graph, you just need to log in with an administrator account when you get tokens using auth code flow.

    By the way, the Api version you are using is a beta version, subject to change at any time, not suitable for production, please use the official version 1.0.

    Hope this helps.

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


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.