Has anyone done any integration with MS Teams?
# cfml-general
a
Has anyone done any integration with MS Teams?
g
What kind ? Provisioning ? Chat bot ? Other ?
a
Ideally post a DM to someone from CF
n
e
Yes, it's not a pure ColdFusion solution. - https://learn.microsoft.com/en-us/graph/use-the-api
a
Thanks. Will do some reading.
q
In our case, we usually use Power Automate (formerly Microsoft Flow) as the interface with Teams. You build an API endpoint, then you can control how the messages are sent into Teams. We used to use some stuff with Graph, but MS kept changing the APIs on very short notice (30 days), so it was annoying to have to constantly watch for stuff to breeak.
👍 1
a
Sounds interesting, so can you post from your app to teams using that?
q
Yup. You would setup a 'manual trigger' which generates an API endpoint. You then paste in a sample of how you want to send the data payload in -- it grabs the variables and makes them available for other nodes to use (in this case, the MS Teams connector)
You can impersonate a person, post as a Flow Bot (which is a psudo Teams user), or post as yourself. Impersonating a person requires you to get their auth about every 6 months.
❤️ 1
You can also have the Flow Bot watch channels for keywords or RegEx expressions and push an API call back out too.