Microsoft Teams Channel stream into ES

(Jackson Pollock) #1

I would like to index conversations from a Microsoft Teams Channel into elastic.

Any ideas on the best approach?

Nothing turns up, I suppose I can write something if there is a good API for teams.


(Jackson Pollock) #2


(Russ Cam) #3

Looks like the beta APIs for Teams in Microsoft Graph support reading messages and replies in channels, so you could write something to read at specific intervals, starting from the last read message.

I'm not familiar with the Team APIs, but it may be possible to have an Azure function invoked or a message sent to Azure Event Hubs when a message is posted to a channel, in which case you could implement an Azure function or subscribe to events, in order to index new messages into Elasticsearch. You'd likely want to batch indexing operations if you can