Is it possible to create a chat between a bot and a user via Graph API with API Permission set to Application?

Omar 21 Reputation points
2023-01-13T08:11:37.28+00:00

I have a scenario where I need to create/send a chat to user in our organization on some certain event. So I have a bot in our team which Is already controlling the calls in teams. I want that bot to send the user a text (for example, if that user got any guest(for meeting), at that time I need to inform that user, that the guest has arrived (maybe call some API in my code). So the chat create/send must be like bot->user. Please help!

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
742 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,030 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,515 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-01-13T13:31:48.5066667+00:00

    Hi @Omar,

    Currently it is not possible to send a chat to a user via Graph API using Application permissions.

    Reference link: Send message in a chat.

    Since this feature/functionality is presently not available, you can upvote using feature request which will be monitored by Microsoft Engineering team and make the enhancements to Microsoft Graph APIs.

    Hope this helps! 

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

    0 comments No comments

0 additional answers

Sort by: Most helpful