Aiimi Insight Engine
User GuidesAiimi
  • Introducing Aiimi Insight Engine
  • Architecture
    • Overview and Key Concepts
    • Search Flows
      • Search Flow Types
      • Smart Filtering
      • Query and Prompt Classification
      • Search Algorithms
      • Extractive and Generative Models
    • Hosting Options
    • Architecture and How It Works
      • Agent Servers
        • Security Agent
        • Source Agent
        • Content Agent
        • Enrichment Agent
        • Job Agent
        • OCR Agent
        • Migration Agent
        • Tika Agent
      • Repository
        • Data Node
        • Proxy Node
        • Kibana Node
      • Gateway and User Interface
      • Document and Data Sources
    • Deployment Options
    • Security
      • User Security
      • Data and Document Security
      • Source System Security
      • Firewalling
      • Agent Servers
      • Repository
      • Gateway (Web Server)
      • Tools & Utilities
  • Installation
    • Elastic and Kibana Install (Windows)
    • Aiimi Insight Engine Installation (Windows)
      • Installation Security
      • Certificates in a Key Vault
      • SAR Configuration
      • CSOM Bridge Set Up
      • AI Studio
    • AI Services
      • Prerequisites
      • AI Enrichment Service
        • Installation and Setup
        • Enabling Enrichment Steps
        • Using AI Enrichment Steps
        • Performance and Concurrency
      • AI Model Service
        • Installation and Setup
        • Enabling Providers
        • Private Generative AI
        • Azure Open AI
        • Enabling AI History
        • HTML Cleaner Service
      • Configuration of Logging
      • Offline Set-up of Models
      • Using SSL
      • Running as a Service (Windows)
      • Using GPUs
      • AI and Semantic Search Set Up
        • Open & Closed Book AI
        • Semantic Search
          • Vectors for Semantic Search
          • Source Configuration
          • Sentence Transformer Models
          • Enrichment
          • Kibana
          • Final Search Flow
    • Email Threading Upgrade
  • Run Books
    • SharePoint Online Connector
  • Control Hub
    • Configurations
      • Config Management
      • Security Configurations
        • Security - General
        • Security - Source
          • Active Directory
          • Atlassian
          • Azure Active Directory
          • Builtin Security
          • Miro Security
          • Google Directory
          • Slack Security
        • Security - Sync
        • Security - Agents
        • Security - Scheduling
      • Source Configurations
        • Source - General
        • Source - Source
          • Alfresco Kafka
          • Azure Blob Storage
          • BBC Monitoring
          • Big Query Cataloguer
          • BIM360
          • CSV Data Loader
          • Confluence
          • Content Server
          • Data File Cataloguer
          • Document Store
          • DocuSign
          • Dropbox
          • Exchange 365
          • Filesystem
          • Google Bucket
          • Google Drive
          • Google Vault
          • Jira
          • JSON Data Loader
          • Livelink
          • MFiles
          • Microsoft Teams
          • Mimecast
          • Miro
          • ODBC Data Loader
          • PowerBi Cataloguer
          • Reuters Connect
          • ShareFile
          • SharePoint
            • Azure Portal and Azure AD Authentication
            • Sensitivity Labels
          • SharePoint Legacy
          • SQL Server Cataloguer
          • Slack
          • Versioned Document Store
          • Websites
          • XML Data Loader
        • Source - Crawl
        • Source - Agents
        • Source - Schedule
        • Source - Advanced
      • Enrichment Configurations
        • Creating a Pipeline
          • General
          • Steps
            • AccessMiner
            • AI Classification
            • Anonymiser
            • CAD Extractor
            • Checksum
            • Content Retrieval
            • Copy
            • Data Rule Processor
            • Delete
            • Email Extractor
            • Entity Rule Processor
            • External Links
            • Geotag
            • Google NLP Extractor
            • Google Vision Extractor
            • Metrics Calculation
            • Microsoft Vision Extractor
            • OcrRest
            • Office Metadata
            • PCI Extractor
            • REST
            • Set Document Risk
            • Text Cleaner
            • Tika Text Extraction
            • Trie Entity Extractor
            • Update Metadata
          • Filters
          • Agents
          • Schedule
          • Advanced
      • OCR Engine
      • Job Configurations
        • General
        • Job
          • AutomatedSearchJob
          • Command Job
          • ElasticJob
          • Extended Metrics Job
          • File Extractor
          • GoogleVaultSAR
          • Google Drive Last Access Date
          • Nightly Events Processor Job
          • Notifications Processor Job
          • Portal Sync Job
          • Purge Job
          • Text Content Merge Job
        • Output
        • Agents
        • Scheduling
      • Migration Configuration
        • General
        • Filter
        • Metadata Mappings
        • Agents
        • Scheduling
        • Advanced
    • Credentials
    • Mappings
      • Entities
        • Manage Entity Groups
        • Create an Entity
        • Manage an Entity
      • Models
        • Create a New Model
        • Find a Model
        • Enable or Disable a Model
      • Vectors
      • Rank Features
    • Featured Links
    • AI Settings
      • Classifications
      • Class
      • Class Rules
      • AI Classification
    • User Settings
    • Stats
      • Data Views
    • Global Settings
      • General
      • Authentication
      • App Settings
      • Application Access
      • Thumbnails
      • Presets
      • Code of Conduct
      • Metrics
      • Viewer
      • SAR
        • Importing Data For A SAR
        • SAR Disclosure Document Storage
        • Getting SAR data from Google Vault
        • SAR Access
        • SAR File Status
      • Disclosure Portal
        • Disclosure Portal Set Up
        • SARs From The Portal
        • Email Delivery Settings
          • Delivery Settings
          • Brand Settings
          • Customise Emails
        • SMS Delivery Settings
        • Requestor Message Limit
        • Attachment Configuration
        • Password Configuration
        • File Scanner Configurator
      • Collections
      • Visualisations
        • Related Result Connections Diagram
        • Event Timeline
        • Timeline Lens Activity Chart
        • Relationship Map
      • Notifications
      • Map Lens
      • Theming
      • User Avatar
      • OData API
      • Uploads
      • Security
    • Search Settings
      • Search Relevancy
        • Core Settings
        • Makers Algorithm
        • Filename Boost Layer
        • Minimum Matching Terms Filter
        • Field Boost
        • Modified Date Boosting
        • Hit Highlighting
        • Why My Search Matched
        • Data Search Strategy
      • Bulk Search
        • Managing a Bulk Search
      • Search Flows
        • Create a Search Flow
          • General
          • Query Classification Step
          • Search Steps
          • Model Steps
      • Filtering
      • Search Performance
      • Related Results
  • AI Studio
    • Classifications
      • Classifications
      • Classification Rules
    • Jobs
  • Labels
  • API Guides
    • Insight API Guide
      • Swagger Documentation
      • Trying Some Endpoints
      • Search Filter
      • Hits / Items
      • Inspecting REST Calls
    • Data Science API Guide
      • REST Interface
        • Login
        • Datasets
        • Fields
        • Field Statistics
        • Search
        • Scroll
        • Update
      • Python Wrapper
        • Login
        • Datasets
        • Fields
        • Field Statistics
        • Search
        • Query Builders
        • Scroll
        • Scroll Search
        • Update Single Document
        • Bulk Update
    • Creating a Native Enrichment Step
      • Creating an Enrichment Step
        • Creating the Core Classes
        • Extending our Enrichment Step
        • Adding a Configuration Template
        • Adding the Enrichment Step
        • Creating an Enrichment Pipeline
      • Other Tasks
        • Entities, Metadata and Data
        • Accessing the Repository
      • Example Code
      • Troubleshooting
    • Creating a Python Enrichment Step
      • Creating an Enrichment Step
        • Running the Example from Command Line
        • Running the Example
      • Creating Your Own Step
      • Adding or Changing Entities, Metadata
  • Whitepapers and Explainers
    • From a Billion To One – Mastering Relevancy
    • Methods for Text Summarization
      • Application
      • Technology Methods
      • Commercial Tools
      • Key Research Centres
      • Productionisation
      • Related Areas of Text Analytics
      • Conclusion
      • References
Powered by GitBook
On this page
  • General
  • Connection
  • Chats
  • Channels
  • Messages
  • Advanced
  • Parallelism
  • Logging
  • Performance
  1. Control Hub
  2. Configurations
  3. Source Configurations
  4. Source - Source

Microsoft Teams

PreviousMFilesNextMimecast

Last updated 9 days ago

Connect your Microsoft Teams source to Aiimi Insight Engine to make the most of your data. Once you have selected a Source System type more detail will expand to customise.

Prerequisites

Required Permissions

Aiimi Insight Engine requires access to a few applications so the permissions for these need to be granted within Teams. This list may vary if you are crawling only Chats or only Channels.

For support granting permissions

The API permission type for these must be Application not Delegated.

  1. Channel.ReadBasic.All

  2. ChannelMember.Read.All

  3. ChannelMessage.Read.All

  4. Chat.Read.All

  5. Files.Read.All

  6. Group.Read.All

  7. Sites.Read.All

  8. Team.ReadBasic.All

  9. TeamMember.Read.All

  10. TeamSettings.Read.All

  11. User.Read.All

Model Initialisation

You must initialise the model for this source before it is created. If you add the model mapping after the source has been crawled it will need to be reindexed.

You can initialise this model with IndexUtils:

{AIE_Dir}\utils\InsightMaker.IndexUtilities\InsightMaker.IndexUtilities.exe initialise --teams --publish

General

  1. Mapped Data Models: You must select the Teams model from the dropdown list.

    • The model must be initialised before the source is created.

Connection

  1. Graph API Endpoint: Change the Graph API Endpoint if different to the Microsoft default.

  2. Directory (Tenant) ID: Enter the Directory or Tenant ID from azure.

    • This can be found on the Azure Directory page on the following URL:

  3. Authentication Endpoint: Change your Authentication Endpoint if different to the Microsoft default.

    • This is used to authenticate the requests.

  4. Select Credentials Choose a credential and secret for Microsoft Teams from the dropdown.

    • You can find your credentials in the Azure Enterprise Application configuration pages.

    • For support setting up credentials use


Chats

  1. Crawl Chats: Check this to ensure chats are crawled.

  2. Excluded Users: Enter the name or group of any users you want to exclude from crawls.

    • If an excluded user is involved in another chat it will also be excluded.

  3. Excluded Chats: Enter the Unique ID for the chats you want to exclude.

  4. Chat Filter: Using an OData filter choose the chats that should be crawled.

    • If this is changed it will be applied to the next new crawl, not any continuations.

  5. Chat Message Name Format: Enter the string for how message names should display on Aiimi Insight Engine.

    • If available the Chat name will be used if not the users present in the chat will.


Channels

  1. Crawl Channels: Check this to ensure Channels are crawled.

  2. Excluded Teams: Enter the name of any teams you want to exclude from crawls.

  3. Excluded Channels: Enter the name of any channels that should be excluded.

  4. Channel Filter: Using an OData filter choose the channels that should be crawled.

    • If this is changed it will be applied to the next new crawl, not any continuations.

  5. Channel Post Name Format: Enter the string for how Channel Posts should display on Aiimi Insight Engine.


Messages

  1. Extract Attachments: If checked attachments will be extracted and stored separately.

  2. Excluded Attachments: As a regular expression enter any attachment names that should be excluded.

    • Use a Regular Expression to exclude the subjects.

    • If left blank all attachments will be processed.

  3. Blank Attachment Name: Enter an attachment name to be used if an attachment has no name.


Advanced

Parallelism

  1. Parallel Chat/Channel Crawling: Enter the maximum number of chats or channels that can be crawled at once.

  2. Parallel Chat/Channel Deletion: Enter the maximum number of chats or channels that can be deleted at once.

Logging

  1. Trace Level: Select the Trace Level of the connection from the dropdown.

    • None - Do not log graph calls

    • Calls - Log URLs and status codes

    • All - Log URLs, status codes, request forms and JSON responses

  2. Stats Logging Interval (Seconds): Enter how often anything is logged in seconds.

    • This includes logging the total number of calls, call rates, HTTP errors and 429 errors.

    • You can disable stats logging by setting this to 0.

Performance

  1. Result Page Size: Choose the number of results that will be retrieved in a single request.

    • Some endpoints will ignore this and revert to defaults.

    • Search 'odata.maxpagesize' in the Microsoft Graph API documentation.


see Microsofts guide for Microsoft Graph Permissions Tab.
https://portal.azure.com/#settings/directory
our guide on managing credentials.