Ejento AI
GuidesQuickstartRecipesREST APIsRelease NotesFAQs
GuidesQuickstartRecipesREST APIsRelease NotesFAQs
Ejento AI
  1. Integrations
  • Getting Started
  • Basic Operations
    • Features
      • Teams → Projects → Assistants Hierarchy
    • Guides
      • Login/Signup
  • Assistants
    • Features
      • Introduction to Assistants
      • Assistant Access Control
      • Caching Responses for Assistants
      • Assistant Evaluation
      • Evaluation Metrics
      • URL-based Chat Thread Creation and Prepopulation
      • Reasoning Modes
    • Guides
      • Add Assistant
      • Evaluate Assistant
      • Edit Assistant
      • Embed Assistant
      • Delete Assistant
      • Add Favourite Assistants
      • View Assistant Id
      • View Dataset Id
  • Workflows
    • Features
      • Overview and Types of Supervisors
    • Guides
      • Add Workflow
      • Workflow Chat
  • Corpus
    • Features
      • Introduction
      • Corpus Permissions
      • PII Redaction
    • Guides
      • Assistant Corpus Setup
      • Assistant Corpus Settings
      • Corpus Access Control
      • Corpus Connections
      • ETag Setup for Corpus Incremental Refresh
      • View Corpus Id
      • View Document Id
      • Tagging
        • Corpus tagging
        • Document tagging
  • Tools
    • Features
      • Introduction
    • Guides
      • Tools Overview
      • Create External Tool
      • Connect Tool to Assistant
  • Analytics
    • Guides
      • Analytics
  • User Settings
    • Features
      • Ejento AI User Access Levels
    • Guides
      • Assistant Edit Access
      • Add new user
      • Add User in a Team
      • Remove User from a Team
      • View my Access level in a Team
      • View my User Id
  • Chatlogs
    • Guides
      • Chatlogs
      • View Chatlog & Chat thread Id
  • API Keys
    • Guides
      • API Keys
  • Integrations
    • Email Indexing
    • Microsoft Teams
    • Sharepoint Indexing
    • MS Teams Integration Setup
  • Teams
    • Features
      • Introduction
    • Guides
      • Add a Team
      • Edit a Team
      • Delete a Team
      • View Team Id
  • Projects
    • Features
      • Introduction
    • Guides
      • Add a Project
      • Edit a Project
      • Delete a Project
      • View Project Id
  • Ejento AI Shield
    • Introduction
  1. Integrations

MS Teams Integration Setup

This guide walks you through the process of integrating your custom bot or app with Microsoft Teams. Follow each step carefully to ensure a smooth and successful integration.

Prerequisites#

Before beginning, make sure you have the following:
A Microsoft Azure account with permission to register apps
Microsoft Teams access

Step 1: Register Your App in Azure#

Head over to: Microsoft Azure portal (PWA)#

1. Search "App Registrations" in the search bar#

Step 1 screenshot

2. Click on New registration#

Step 2 screenshot

3. Type the Application Name#

Step 3 screenshot

4. Select the second option from this list#

Step 4 screenshot

5. Click on Register#

Step 6 screenshot

Generating Client Secret#

1. Click on New client secret#

Step 10 screenshot

2. Create a client secret by filling these fields#

Step 11 screenshot

3. Click on Add#

Step 12 screenshot

4. Copy the secret value and ID, make sure to save the secret before leaving the page.#

Step 13 screenshot

Access Azure App Details#

1. Go to Overview#

Step 2 screenshot

2. Copy ClientID and TenantID#

Step 3 screenshot

API Permissions#

1. Click on API permissions#

Step 4 screenshot

2. Click on Add a permission#

Step 5 screenshot

3. Click on Microsoft Graph#

Step 6 screenshot

4. Click on Application permissions#

Step 7 screenshot

5. Type "user"#

Step 8 screenshot

6. Expand User group#

Step 9 screenshot

7. Select User.Read.All#

Step 10 screenshot

8. Click on Add permissions#

Step 11 screenshot

9. User.Read.All permission is assigned to your Application#

Step 12 screenshot

Step 2: Provide Azure Credentials#

Once the app is registered, please share the following details with our team:
Client Secret – Generated from the Certificates & secrets section in Azure.
Client ID (Application ID) – Available in the Overview section of your registered Azure app.
Tenant ID – Also located in the Overview section of the app in the Azure Portal.
Agent ID – Available in the About section of your agent on Ejento AI.
⚠️ Ensure you store these values securely
After receiving these, we’ll provide your dedicated domain URL required for integration.

Step 3: Configure the Manifest File#

Create and edit a manifest.json file to define your Teams app.
Use the following template and replace the placeholder values with your own:
Click to expand manifest.json template
{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
  "manifestVersion": "1.16",
  "version": "1.1.5",
  "id": "YOUR_APP_CLIENT_ID",
  "packageName": "com.microsoft.teams.extension",
  "developer": {
    "name": "Data Science Dojo",
    "websiteUrl": "https://ejento.ai/",
    "privacyUrl": "https://ejento.ai/#/privacy-policy",
    "termsOfUseUrl": "https://ejento.ai/#/terms-of-use"
  },
  "icons": {
    "color": "YOUR_ICON_COLOR.png",
    "outline": "YOUR_ICON_OUTLINE.png"
  },
  "name": {
    "short": "YOUR_APP_NAME",
    "full": "YOUR_APP_NAME"
  },
  "description": {
    "short": "YOUR_APP_DESCRIPTION",
    "full": "YOUR_APP_DESCRIPTION"
  },
  "accentColor": "#FFFFFF",
  "bots": [
    {
      "botId": "YOUR_APP_CLIENT_ID",
      "scopes": ["personal", "team", "groupchat"],
      "commandLists": [
        {
          "scopes": ["personal", "team", "groupchat"],
          "commands": [
            {
              "title": "Configure agent",
              "description": "Set up other agents."
            },
            {
              "title": "Show agent",
              "description": "Show the configured agent."
            },
            {
              "title": "Reset",
              "description": "Reset the history of the agent."
            },
            {
              "title": "Help",
              "description": "Get help from documentation."
            }
          ]
        }
      ],
      "isNotificationOnly": false,
      "supportsCalling": false,
      "supportsVideo": false,
      "supportsFiles": true
    }
  ],
  "composeExtensions": [],
  "configurableTabs": [],
  "staticTabs": [],
  "permissions": ["identity", "messageTeamMembers"],
  "validDomains": ["token.botframework.com", "GET_DOMAIN_FROM_DSD"],
  "webApplicationInfo": {
    "id": "YOUR_APP_CLIENT_ID",
    "resource": "api://botid-YOUR_APP_CLIENT_ID"
  }
}

Replace the Placeholder Values#

PlaceholderReplace With
YOUR_APP_CLIENT_IDThe Client ID from Azure
YOUR_APP_NAMEYour app's name
YOUR_APP_DESCRIPTIONA short and full description of your app
YOUR_ICON_COLOR.pngApp logo image file (or use dsd_icon.png)
YOUR_ICON_OUTLINE.pngOutline logo (or use dsd_icon_white.png)
GET_DOMAIN_FROM_DSDDomain provided by our team

Image Size & Format Requirements#

Microsoft Teams has specific requirements for icon files. Using incorrect formats or sizes can lead to app upload failures.
Note: Ensure your icons meet the following:
Icon TypeRequired SizeFormat
Color Icon192 x 192 pxPNG
Outline Icon32 x 32 pxPNG
You can use our default icons if you don't have your own:
Color Icon: dsd_icon.png
dsd_icon.png
Outline Icon: dsd_icon_white.png
dsd_icon_white.png
These two files should be included in your appPackage.zip if you choose to use them.

Step 4: Package the App#

Once the manifest and icons are ready:
1.
Create a folder named appPackage.
2.
Place the following files inside it:
manifest.json
Color icon image
Outline icon image
3.
Select all three files and compress them into appPackage.zip
Expected structure:
appPackage.zip
├── manifest.json
├── yourlogo.png
└── youroutline.png

Step 5: Uploading Your App to Microsoft Teams (Admin Center)#

To deploy your custom Teams app, follow these steps using the Microsoft Teams Admin Center:

1: Open the Teams Admin Portal#

Go to the following link:
https://admin.teams.microsoft.com/policies/manage-apps
Note: You must have admin privileges to access this section.

2: Access "Manage apps"#

In the navigation menu, select Teams apps.
Click on Manage apps.
manageapps.jpg

3: Upload Your Custom App#

Click the Upload dropdown in the top-right corner.
Select Upload new app.
uploadnewapp.png
Click on Upload
upload.png

4: Set App Availability#

After uploading the app, you can control who can access it:
Everyone – The app will be available to all users in the organization.
Specific users or groups – Limit the app to only selected users or Azure AD groups.
No one – The app remains uploaded but is hidden from all users.
availability.png

Previous
Sharepoint Indexing
Next
Introduction