MV web Hooks and Microsoft Teams

Priesty
Building a reputation

MV web Hooks and Microsoft Teams

Has anyone been able to use webhooks to Microsoft Team webhook connector? We can do the alerts to teams channel via email, but a webhook would make more sense.

5 REPLIES 5
Julian
Getting noticed

I did it some tests trying to do it, but with not good results, microsoft teams allows to activate a webhooks for a channel

 

https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using

 

but seems the format incompatible with the webhook notification from meraki, then perhaps with an api gateway in the middle converting the format from meraki to the microsoft format you can do something. 

 

that is the format sent from meraki:

 

{
  "version": "0.1",
  "sharedSecret": "",
  "sentAt": "2019-10-23T06:57:04.975503Z",
  "organizationId": "367440",
  "organizationName": "Org.",
  "organizationUrl": "https://n172.meraki.com/o/xddjI6ha/manage/organization/overview",
  "networkId": "L_6603402953631993",
  "networkName": "1_Sede",
  "networkUrl": "https://n172.meraki.com/1_Sede/n/f8dwD3gaTc/manage/nodes/wired_status",
  "alertId": "",
  "alertType": "Settings changed",
  "occurredAt": "2019-10-23T06:57:04.950259Z",
  "alertData": {}
}

 

to send a message to a teams is sufficient with that values:

{

"@type": "MessageCard",

"text": "Prueba",

}

 

then, if you put the message from meraki to the "text" field and forward to the teams webhook url  perhaphs can work it.

is only an idea...

 

chengineer
Meraki Alumni (Retired)
Meraki Alumni (Retired)

That's correct, as the Meraki webhook format contains data from the Meraki dashboard including information about the organization, network, device, and specific alert. The alert is not just a chat message, which is why you cannot natively ingest it into any messaging application (Webex Teams, Microsoft Teams, Slack, etc.), and will need a transformer/middleware, or an integration, to process it first. We do however, have a public Adventure 1.0 API lab where you can create your own Webex Teams chatbot that processes webhook alerts from your Meraki org, as well as do other things including taking snapshots from motion alerts, MQTT real-time events, and more.

Solutions Architect @ Cisco Meraki | API & Developer Ecosystem
Priesty
Building a reputation

Thanks for letting us know, abit if shame that even more middle-ware is required, all it does it stack up the costs.

 

Will keep exploring other options.

Not certain if you are still trying to do this, but there are several conversations where people have used Flow to receive the webhook and then format the data and send it into Teams.  Still somewhat convoluted, but at least not going to a third party app outside of the MS environment. 

Julian
Getting noticed

Thanks, I will check it..

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.