Microsoft Teams (Graph) Spoke - How to create new channels and post P1 Incident information automatically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2020 06:25 AM
Hi All,
I am trying to create a new channel on teams and post incident details on that channel every-time a new P1 Incident is inserted.
I am able to create new channel using Microsoft Teams Graph Spoke (From store). In response I get channel ID.
I am using Microsoft Teams Spoke to post incident information. I am able to post Incident information in General channel but not in newly created channel. Incoming Webhook can be created in teams channel manually but I am not sure how can I automatically generate webhook URL everytime a new channel is created.
Any Suggestions?
Thanks!
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020 01:42 PM
Hi Ashwani you would need to use REST Api to post the message in the teams channel. Keep in mind that only the Delegated account will be able to to post chat/message in the channel. Application authorization does not work.
or otherwise you need to look for other options like Microsoft flow to trigger the webhook creation outside of the tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2020 04:24 AM
Hello Ashwanikumar,
I have the same requirement as you mentioned above. Could you provide me the steps to connect MS teams to create channel when P1 is raised in snow.
1.What are steps we need to follow after we install Microsoft Teams Graph spoke in servicenow.
2. what are the details we require from "MS teams" support team to create channel in a team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2020 12:53 AM
Hi,
If you wanted to share INC's into a Teams channel, you can make use of Microsoft Teams spoke available through integrationHub. You cannot create Teams channel through this spoke but certainly can share Incident,Problem,Change details into a channel. You can Post messages too. It is a straight forward configuration explained in the below link:
Leveraging the MS Teams Spoke in Integration Hub
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2020 05:54 PM
Hi there!
I believe that you can you use the action ''Create Channel in a Team" presented on Microsoft Teams Graph spoke. Then, to get details you can use the action "Get Channel Metadata".
See the following link to more info about thisMicrosoft Teams Graph spoke presented on integration hub: https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/integrationhub-store-spokes/concept/msteams-spoke.html
Regards!