Forum Discussion
How to send user notifications from applications in Teams
Hi,
In the context of one of our internal application, we'd like to send notifications to our users in Teams rather than via email.
The idea here would be to send an adaptive card in a personal message to a user (not to post to a group channel) - a bit like Power Automate is doing in the action "Post message as a flow bot to a user"
These notifications should be sent in a purely unattended context by the application.
According to the documentation of the Graph API beta version, it is possible to post a new chat message within an existing chat (either personal or group chat), but it is not possible to create a one-on-one chat with only Application permissions (https://docs.microsoft.com/en-us/graph/api/chat-post?view=graph-rest-beta&tabs=http)
Permission type Permissions (from least to most privileged)
Delegated (work or school account) | Chat.Create, Chat.ReadWrite |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
Are we missing something here ? Is there any way to send this kind of notifications in Teams ?
Thanks a lot,