Microsoft Teams
Overview
The Microsoft Teams integration connects IFS Loops to your Teams environment so a Digital Worker can access and act on Teams messages. Setup has three parts: installing the IFS TheLoops bot at the organization level in the Microsoft Teams Admin Center, creating a dedicated channel for a Digital Worker's human in the loop review, and configuring the connector in IFS Loops so it can ingest and analyze channel messages. The connector supports two capabilities: Helpdesk and Collaboration, and uses OAuth-based authentication with automatic token persistence to keep the connection active.
Prerequisites
Admin access to the Microsoft Teams Admin Center, to install or update the IFS TheLoops bot.
The latest IFS TheLoops Bot ZIP package, provided by the IFS Loops team.
A Microsoft Teams/Microsoft 365 account with permission to create teams and channels, and to grant consent during authentication.
Access to the IFS Loops platform with Admin role privileges.
A dedicated Teams channel for the Digital Worker's human in the loop review, created before configuring the connector (see Create the digital worker channel below).
Know in advance which capability you'll configure, Helpdesk and/or Collaboration, and which channel (Helpdesk) or Team and channel (Collaboration, if using Sandbox) you'll select during configuration.
Best Practices
Regional app name: The bot appears in the Teams app directory with a regional suffix: IFS TheLoops US or IFS TheLoops EU. Confirm which applies to your organization, since it's referenced throughout the setup steps below.
IFS Loops Microsoft Teams Connector – Microsoft Graph Permissions
The following table lists the Delegated Microsoft Graph API permissions used by the IFS Loops Microsoft Teams Connector for collaboration capability.
Setup instructions
Remove the existing bot
If a previous version of the bot is installed, remove it first to avoid conflicts. Skip this section on a first-time install.
Log in to the Microsoft Teams Admin Center.
Navigate to Teams apps → Manage apps.
Search for the existing bot: IFS TheLoops US (US region) or IFS TheLoops EU (EU region).
Click the app to open its detail page.
Click Actions, then select Delete.
Confirm the deletion if prompted.
Refresh the Manage apps page
Refresh the Manage apps page.
Confirm the previous bot version is no longer listed.
Create the digital worker channel
For a Digital Worker to support human in the loop review, a dedicated Teams channel is required.
Go to Teams and channels, then click See all your teams.
Click Create team.
This will be the dedicated team for the Digital Worker.
Use an appropriate team name (for example, IFS Loops Digital Worker).
Under Team type, choose Private.
Under First channel name, choose an appropriate channel name (for example, Customer Order Manager Digital Worker human in the loop).
Going forward, ensure that any user who needs to interact with the Digital Worker is added to this team.
Go to the channel, click the three dots in the top right, select Manage channel, then click Edit.
Set Layout to Threads.
Add the IFS TheLoops bot to this channel (see Add the bot to a specific channel above).
If applicable, to invite an external guest to the channel:
Click Manage team
Go to the Members tab
Click Add member
Enter the guest's email address.
Upload the new bot package
In Manage apps, click Actions, then Upload new app.
Select the Bot ZIP file provided by the IFS Loops team.
Wait for the upload to complete.
Search for IFS TheLoops US or IFS TheLoops EU to confirm the new version is visible and available.
Add the bot to a team
This is typically a one-time, organization-level step to make the bot available in Teams. To add it to a specific channel, such as the digital worker channel created below, use Add the bot to a specific channel instead.
Open Microsoft Teams.
Navigate to Apps in the left sidebar.
Search for IFS TheLoops (select IFS TheLoops US or IFS TheLoops EU depending on your region).
Select the bot from the search results, then click Add.
When prompted, choose the Team or Channel where the bot should be installed and complete the setup.
Log out and back into Teams.
Add the bot to a specific channel
Navigate to the channel where you want to add the bot.
Click the + (Add a tab) icon in the top header.
Select Apps.
Search for IFS TheLoops, then select it from the results.
Click Save.
Verify the bot installation
Navigate to the Team or Channel where the bot was installed.
Confirm the bot is visible and active.
Perform a test interaction to confirm the bot is functioning.
Verify the Agent Homepage tab is visible at the top of the page.
Initiate Integration
Log in to the IFS Loops platform using your credentials.
Navigate to the Connectors section from the sidebar.
Click Add Integration.
Choose Teams from the list.
Microsoft Teams integration
Go to the Integration Configuration page.
User Email (Optional):
Enter the email address of the Teams account used for authentication.
This is optional and is used only for identification.
Select Capability Configuration:
For Collaboration capability: select the environment (Production or Sandbox).
If Sandbox is selected: choose the Team that contains the channel you want to use.
For Helpdesk capability: select the channel from which you want to pull messages.
Click Update.
Data ingestion job
Navigate to the Jobs / Data Ingestion tab.
Select Ingress Type as Full Ingress for Helpdesk capability.
Select Collaboration Channel Ingress for Collaboration capability.
Click Start Ingress.
After a few minutes, verify the job status is successful.
Regenerate token
Go to the Microsoft Teams integration and click Edit.
Navigate to the Authentication tab.
A login window will appear.
Log in using your credentials and grant permissions.
On success, you will see the message: “Integration updated successfully.”
Last updated
Was this helpful?