Notify groups in Microsoft Teams channel

M Shivani
Mega Sage

This article guides you on sending notifications to groups through Microsoft Teams in their designated channels.

Problem Statement : Notify ServiceNowTestChannel group in Teams channel when major incident is proposed

Plugins to be installedMicrosoft Teams Graph Spoke. 

Verify Notifications are enabled for all users in Microsoft Teams. To verify this:

  • Navigate to All → Conversational Interfaces → Settings → General → Channels and Integrations → Microsoft Teams Integration.
  • Locate the toggle "Enable Notification for all users" and ensure it is turned on. 

Automation : Flow designer 

Steps to create flow to notify groups via teams channel :  

  1. Navigate to flow designer. Create a new flow.
  2. Use trigger conditions to determine when to send notifications. 
  3. Select Action -> Microsoft Teams Graph -> Look up Channel by Name 

                 MShivani_0-1741198734689.png

      4. Get Channel name and group ID from customers and make use of them in Look up Channel by Name action. 

                              

                 MShivani_1-1741198909469.png

       5. Select Action -> Microsoft Teams Graph -> Post Message. 

       6. Fill all the required details in Post Message and activate the flow.         

 

                 MShivani_6-1741199732330.png

 

 Test results :  

  1. Open any existing incident in the instance to which teams integration was set up.
  2. Propose the selected incident as major incident and verify the ServiceNowTestChannel group receive notification in the teams channel.  

          MShivani_4-1741199607530.png

 Regards, 

 Shivani

1 ACCEPTED SOLUTION

Hi @JGerrity,

 

Following these steps would help - Integrate MS Teams with ServiceNow 

 

Follow these steps from dcoumentation - Microsoft teams graph spoke 

 

Please mark it as helpful if it works for you!

View solution in original post

3 REPLIES 3

sureshraja
Tera Contributor

Hi, Thanks for posting the setup.

Please can you confirm the authentication setup that you have done to make this work.

JGerrity
Tera Contributor

Hello @M Shivani 

I too would like to know how you setup this authentication.   Trying this myself with the MS Graph Spoke and running into problems with the Entra App registration permissions.  What permissions did you use as MS's documentation is all over the place.  Looks for application level permissions, not delegated but everything now seems to point to using webhooks, which are deprecated and now Workflows but this is just extra steps ...


Has anyone been able to get posting a message to a teams channel to work via application level permissions?  If delegated, how are you getting that to work?

Regards,
Jason

Hi @JGerrity,

 

Following these steps would help - Integrate MS Teams with ServiceNow 

 

Follow these steps from dcoumentation - Microsoft teams graph spoke 

 

Please mark it as helpful if it works for you!