ServiceNow-Microsoft Teams Integration

Akshay Pithore
Tera Guru

In this article I will be providing a step-by-step overview as to how we can integrate Microsoft Teams with the Caller ID field of Incident form in ServiceNow.

Step-1

Go to images table(db_image) and save your image that will be used as a clickable Icon.

AkshayPithore_0-1751784287955.png

 

Step-2

Go to UI Macros(sys_ui_macro) and create a new Macro. In the anchor tag we have copied the image link that was present on the image that we uploaded on the Image table.

AkshayPithore_1-1751784287960.png

 

Step-3

Update the Attribute of the Assigned To field and call the UI macro in the attribute. "popup_chat" is the name of Macro that we have created.

AkshayPithore_2-1751784287963.png

 

Step-4

After Saving the attribute go to incident and open any incident form. You will see Teams icon that we uploaded in image table near the Caller field.

AkshayPithore_3-1751784287963.png

 

Step-5

Update the UI macro code as mentioned below-

AkshayPithore_4-1751784287967.png

 

Overall, this code seems to be generating a link/button that, when clicked, opens a Microsoft Teams chat window with a predefined message containing incident details, possibly in the context of an incident management system like ServiceNow.

 

1 REPLY 1

MarkosK
Giga Contributor

Clever solution!