Configuring Webhook and Team ID
This document explains how to configure Webhook and detailed steps to fetch Team ID which are needed when trying to connect Maximo IT with Microsoft Teams.
Obtaining value for Team ID
- Create a new Team in Microsoft Teams application.
- Log in to your Microsoft Teams account and click on the Teams tab in the left panel.
- From the New Items dropdown, click on New Team to create a new team.
- Give your new team a name in the Team name field and a description.
- Set Team as Public or Private and enter a name for your first Channel. Channels in this team will be used to view and update tickets in Maximo IT via Microsoft Teams application.
- Once done, click Create.
- New team is now created and saved in the Azure portal as well.
- Fetch Team ID from Azure Portal.
- Log in to the Microsoft Azure portal with your Microsoft account and go to Home page.
- On the Manage Microsoft Entra ID, click View.
- Go to .
- Click on the Total Groups number.
- Find your Team name that you created in Microsoft Teams application in the previous step.
- Copy the Object ID for Teams. This is the unique Team ID for your Team.
- Enter value for Team ID in Maximo IT.
- Log in to Maximo IT and go to .
- Open the MSTEAMS tab.
- Enter the Object ID copied in Step 2 (f) in the Team ID field.
- Save your changes.
Configuring Webhook in Microsoft Teams
To connect Maximo IT and Microsoft Teams, two Webhooks must be configured in Microsoft Teams application: Incoming webhook and Outgoing webhook. Use the steps below to configure each Webhook to enable the integration:
Configure an Incoming Webhook
- Go to the Microsoft Teams application and click on the Teams tab from the left pane.
- Find the Team you created and create a new channel in it where you will be posting messages to update tickets or view solutions.
- Click on the More options(three dots) next to the channel and click Manage Channel.
- Go to the Connectors section and click Edit.
- In the search box, enter 'Incoming webhook' and click on Configure for the search result. Also, select the Channel name that you will be using to execute commands from the Microsoft Teams application.
- To set up the webhook, enter a name for it. (For example, Maximoteams,
teamsintegration, etc.)Note: Keep a note of this name as the webhook name set in this step will be used in the main command syntax when working on Microsoft Teams to update tickets in Maximo IT.
- Click Create.
- Microsoft Teams will generate a webhook URL. Copy and save it as this will be needed when configuring Maximo IT to enable the integration.
Configuring an outgoing Webhook
- Go to Microsoft Teams application and click on the Teams tab from the left pane.
- Navigate to the Team that you want to use to add an outgoing webhook and click on the More options icon next to it.
- Click Manage Team.
- Go to the Apps tab.
- Click on Upload an app button and click Create an outgoing webhook.
- Choose the team and click Set up.
- Give a name to your outgoing webhook in the Name field.
- In the Callback URL, enter the URL where the SlackProxy server is hosted.
- Click Create.
- The application will generate a Webhook secret or a Webhook Security Token. Copy it and store it safely as it will be used when configuring Maximo IT for the integration.
Test your webhook by entering a command using the following syntax
Test your webhook
When incoming and outgoing webhook is configured, you can test it by using the command. The command must follow the syntax below:
outgoing_webhook_name command [ticket number]
For example, if the name of your incoming webhook is 'maximoteams' and the command you set up is 'update [ticket number]', then the message that you enter in Microsoft Teams chat to update a particular ticket (eg. ticket number 1545) in Maximo IT will be as follows:
maximoteams update 1545
Similarly, you can enter a command to view a solution record in the Microsoft Teams application. For example, maximoteams solution 6658.