I can see that One MS Teams instance can connect to multiple Service Now instances. Can the opposite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 03:03 AM
I can see that One MS Teams instance can be integrated to multiple Service Now instances. Can the opposite be functional?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 04:36 AM
Yes, the opposite can also be functional. One ServiceNow instance can be integrated with multiple Microsoft Teams instances. Here are the steps to achieve this:
1. Create separate OAuth applications for each Microsoft Teams instance in Azure.
2. In each ServiceNow instance, configure an OAuth provider and profile using the details from the corresponding Azure application.
3. Create an integration record for each Microsoft Teams instance in the ServiceNow instance.
4. Use the corresponding OAuth profile in each integration record.
5. Test the integration by sending a notification or creating a meeting from the ServiceNow instance to each Microsoft Teams instance.
Please note that you need to manage the access and refresh tokens for each integration separately. Also, the user who performs the integration needs to have the necessary permissions in both ServiceNow and Microsoft Teams.
nowKB.com
For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 04:50 AM
Hi @Maria890
Integrating multiple ServiceNow instances to one Microsoft Teams instance involves several steps. Here's a summarized list:
- **Create a Microsoft Teams Webhook URL**:
- Go to the channel where you want to add the webhook and select More options > Connectors.
- Look for Incoming Webhook, and select Add.
- Provide a name, and optionally, upload an image representing your app, and select Create.
- Copy the webhook URL to the clipboard and save it. You'll need the webhook URL for sending information to Microsoft Teams.
- **Create Outbound REST Message in ServiceNow Instances**:
- In each ServiceNow instance, navigate to System Web Services > Outbound > REST Message.
- Click on New to create a new REST Message.
- Provide a name and endpoint URL (the MS Teams Webhook URL from step 1).
- Save the REST Message.
- **Create a Scripted REST API in ServiceNow Instances**:
- In each ServiceNow instance, navigate to System Web Services > Scripted Web Services > Scripted REST APIs.
- Click on New to create a new Scripted REST API.
- Provide a name and base API path.
- Under Resources, click on New to create a new resource.
- Provide a name, HTTP method (usually POST), and script to process the incoming request and send a message to MS Teams using the REST Message created in step 2.
- **Trigger the Scripted REST API**:
- The Scripted REST API can be triggered from various places like Business Rules, Script Includes, UI Actions, etc., depending on your requirement.
- The script should make a REST call to the Scripted REST API, which in turn sends a message to MS Teams.
- **Test the Integration**:
- Test the integration by triggering the Scripted REST API (e.g., by creating/updating a record if a Business Rule is used).
- Check the MS Teams channel to see if the message from ServiceNow is posted.
Remember, you need to repeat steps 2-4 for each ServiceNow instance you want to integrate with the MS Teams instance.
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel