Home
Home
German Version
Support
Impressum
25.2 Release ►

Start Chat with Collection

    Main Navigation

    • Preparation
      • Connectors
      • Create an InSpire VM on Hyper-V
      • Initial Startup for G7 appliances
      • Setup InSpire G7 primary and Standby Appliances
    • Datasources
      • Configuration - Atlassian Confluence Connector
      • Configuration - Best Bets Connector
      • Configuration - Box Connector
      • Configuration - COYO Connector
      • Configuration - Data Integration Connector
      • Configuration - Documentum Connector
      • Configuration - Dropbox Connector
      • Configuration - Egnyte Connector
      • Configuration - GitHub Connector
      • Configuration - Google Drive Connector
      • Configuration - GSA Adapter Service
      • Configuration - HL7 Connector
      • Configuration - IBM Connections Connector
      • Configuration - IBM Lotus Connector
      • Configuration - Jira Connector
      • Configuration - JVM Launcher Service
      • Configuration - LDAP Connector
      • Configuration - Microsoft Azure Principal Resolution Service
      • Configuration - Microsoft Dynamics CRM Connector
      • Configuration - Microsoft Exchange Connector
      • Configuration - Microsoft File Connector (Legacy)
      • Configuration - Microsoft File Connector
      • Configuration - Microsoft Graph Connector
      • Configuration - Microsoft Loop Connector
      • Configuration - Microsoft Project Connector
      • Configuration - Microsoft SharePoint Connector
      • Configuration - Microsoft SharePoint Online Connector
      • Configuration - Microsoft Stream Connector
      • Configuration - Microsoft Teams Connector
      • Configuration - Salesforce Connector
      • Configuration - SCIM Principal Resolution Service
      • Configuration - SemanticWeb Connector
      • Configuration - ServiceNow Connector
      • Configuration - Web Connector
      • Configuration - Yammer Connector
      • Data Integration Guide with SQL Database by Example
      • Indexing user-specific properties (Documentum)
      • Installation & Configuration - Atlassian Confluence Sitemap Generator Add-On
      • Installation & Configuration - Caching Principal Resolution Service
      • Installation & Configuration - Mindbreeze InSpire Insight Apps in Microsoft SharePoint On-Prem
      • Mindbreeze InSpire Insight Apps in Microsoft SharePoint Online
      • Mindbreeze Web Parts for Microsoft SharePoint
      • User Defined Properties (SharePoint 2013 Connector)
      • Whitepaper - Mindbreeze InSpire Insight Apps in Salesforce
      • Whitepaper - Web Connector - Setting Up Advanced Javascript Usecases
    • Configuration
      • CAS_Authentication
      • Configuration - Alerts
      • Configuration - Alternative Search Suggestions and Automatic Search Expansion
      • Configuration - Back-End Credentials
      • Configuration - Chinese Tokenization Plugin (Jieba)
      • Configuration - CJK Tokenizer Plugin
      • Configuration - Collected Results
      • Configuration - CSV Metadata Mapping Item Transformation Service
      • Configuration - Entity Recognition
      • Configuration - Exporting Results
      • Configuration - External Query Service
      • Configuration - Filter Plugins
      • Configuration - GSA Late Binding Authentication
      • Configuration - Identity Conversion Service - Replacement Conversion
      • Configuration - InceptionImageFilter
      • Configuration - Index-Servlets
      • Configuration - InSpire AI Chat and Insight Services for Retrieval Augmented Generation
      • Configuration - Item Property Generator
      • Configuration - Japanese Language Tokenizer
      • Configuration - Kerberos Authentication
      • Configuration - Management Center Menu
      • Configuration - Metadata Enrichment
      • Configuration - Metadata Reference Builder Plugin
      • Configuration - Mindbreeze Proxy Environment (Remote Connector)
      • Configuration - Personalized Relevance
      • Configuration - Plugin Installation
      • Configuration - Principal Validation Plugin
      • Configuration - Profile
      • Configuration - Reporting Query Logs
      • Configuration - Reporting Query Performance Tests
      • Configuration - Request Header Session Authentication
      • Configuration - Shared Configuration (Windows)
      • Configuration - Vocabularies for Synonyms and Suggest
      • Configuration of Thumbnail Images
      • Cookie-Authentication
      • Documentation - Mindbreeze InSpire
      • I18n Item Transformation
      • Installation & Configuration - Outlook Add-In
      • Installation - GSA Base Configuration Package
      • JWT Authentication
      • Language detection - LanguageDetector Plugin
      • Mindbreeze Personalization
      • Mindbreeze Property Expression Language
      • Mindbreeze Query Expression Transformation
      • SAML-based Authentication
      • Trusted Peer Authentication for Mindbreeze InSpire
      • Using the InSpire Snapshot for Development in a CI_CD Scenario
      • Whitepaper - AI Chat
      • Whitepaper - Create a Google Compute Cloud Virtual Machine InSpire Appliance
      • Whitepaper - Create a Microsoft Azure Virtual Machine InSpire Appliance
      • Whitepaper - Create AWS 10M InSpire Appliance
      • Whitepaper - Create AWS 1M InSpire Appliance
      • Whitepaper - Create AWS 2M InSpire Appliance
      • Whitepaper - Create Oracle Cloud 10M InSpire Application
      • Whitepaper - Create Oracle Cloud 1M InSpire Application
      • Whitepaper - MMC_ Services
      • Whitepaper - Natural Language Question Answering (NLQA)
      • Whitepaper - SSO with Microsoft AAD or AD FS
      • Whitepaper - Text Classification Insight Services
    • Operations
      • Adjusting the InSpire Host OpenSSH Settings - Set LoginGraceTime to 0 (Mitigation for CVE-2024-6387)
      • app.telemetry Statistics Regarding Search Queries
      • CIS Level 2 Hardening - Setting SELinux to Enforcing mode
      • Configuration - app.telemetry dashboards for usage analysis
      • Configuration - Usage Analysis
      • Deletion of Hard Disks
      • Handbook - Backup & Restore
      • Handbook - Command Line Tools
      • Handbook - Distributed Operation (G7)
      • Handbook - Filemanager
      • Handbook - Indexing and Search Logs
      • Handbook - Updates and Downgrades
      • Index Operating Concepts
      • Inspire Diagnostics and Resource Monitoring
      • Provision of app.telemetry Information on G7 Appliances via SNMPv3
      • Restoring to As-Delivered Condition
      • Whitepaper - Administration of Insight Services for Retrieval Augmented Generation
    • User Manual
      • Browser Extension
      • Cheat Sheet
      • iOS App
      • Keyboard Operation
    • SDK
      • api.chat.v1beta.generate Interface Description
      • api.v2.alertstrigger Interface Description
      • api.v2.export Interface Description
      • api.v2.personalization Interface Description
      • api.v2.search Interface Description
      • api.v2.suggest Interface Description
      • api.v3.admin.SnapshotService Interface Description
      • Debugging (Eclipse)
      • Developing an API V2 search request response transformer
      • Developing Item Transformation and Post Filter Plugins with the Mindbreeze SDK
      • Development of a Query Expression Transformer
      • Development of Insight Apps
      • Embedding the Insight App Designer
      • Java API Interface Description
      • OpenAPI Interface Description
    • Release Notes
      • Release Notes 20.1 Release - Mindbreeze InSpire
      • Release Notes 20.2 Release - Mindbreeze InSpire
      • Release Notes 20.3 Release - Mindbreeze InSpire
      • Release Notes 20.4 Release - Mindbreeze InSpire
      • Release Notes 20.5 Release - Mindbreeze InSpire
      • Release Notes 21.1 Release - Mindbreeze InSpire
      • Release Notes 21.2 Release - Mindbreeze InSpire
      • Release Notes 21.3 Release - Mindbreeze InSpire
      • Release Notes 22.1 Release - Mindbreeze InSpire
      • Release Notes 22.2 Release - Mindbreeze InSpire
      • Release Notes 22.3 Release - Mindbreeze InSpire
      • Release Notes 23.1 Release - Mindbreeze InSpire
      • Release Notes 23.2 Release - Mindbreeze InSpire
      • Release Notes 23.3 Release - Mindbreeze InSpire
      • Release Notes 23.4 Release - Mindbreeze InSpire
      • Release Notes 23.5 Release - Mindbreeze InSpire
      • Release Notes 23.6 Release - Mindbreeze InSpire
      • Release Notes 23.7 Release - Mindbreeze InSpire
      • Release Notes 24.1 Release - Mindbreeze InSpire
      • Release Notes 24.2 Release - Mindbreeze InSpire
      • Release Notes 24.3 Release - Mindbreeze InSpire
      • Release Notes 24.4 Release - Mindbreeze InSpire
      • Release Notes 24.5 Release - Mindbreeze InSpire
      • Release Notes 24.6 Release - Mindbreeze InSpire
      • Release Notes 24.7 Release - Mindbreeze InSpire
      • Release Notes 24.8 Release - Mindbreeze InSpire
      • Release Notes 25.1 Release - Mindbreeze InSpire
      • Release Notes 25.2 Release - Mindbreeze InSpire
    • Security
      • Known Vulnerablities
    • Product Information
      • Product Information - Mindbreeze InSpire - Standby
      • Product Information - Mindbreeze InSpire
    Home

    Path

    Sure, you can handle it. But should you?
    Let our experts manage the tech maintenance while you focus on your business.
    See Consulting Packages

    Microsoft Exchange Connector
    Installation and Configuration

    InstallationPermanent link for this heading

    Before installing the Microsoft Exchange Connector ensure that the Mindbreeze Server is already installed and this connector is also included in the Mindbreeze license.

    Needed Rights for Crawling UserPermanent link for this heading

    • Mailbox permissions:
      • Access rights: FullAccess

    Granting the needed rights for the Crawling UserPermanent link for this heading

    Execute the following power shell commands on the Microsoft Exchange server:

    Per Mailbox:

    Get-Mailbox | Add-MailboxPermission -user <domain>\<user>
    -accessrights FullAccess

    Or per mailbox database:

    Get-MailboxDatabase -identity “Mailbox 1” |Add-ADPermission -user <domain>\<user> –accessrights GenericALL

    The crawling user can read the mailbox of other users but he cannot send emails on behalf of these users. The crawling user should have read permission on user objects in AD in order to read the msexchmailboxsecuritydescriptor attribute containing mailbox permissions during crawling ACLs.

    Overwriting default Throttling PoliciesPermanent link for this heading

    For better crawling performance its recommended to overwrite the default Throttling Policies (EWSFindCountLimit = 1000 , EWSMaxConcurrency =10) according to current infrastructure. Therefor a new Throttling Policy should be defined for service user.

    New-ThrottlingPolicy -Name serviceUserPolicy -EWSFindCountLimit 1000

    -EWSMaxConcurrency 25

    Set-Mailbox <domain>\<serviceuser> -ThrottlingPolicy serviceUserPolicy


    Configuration of MindbreezePermanent link for this heading

    Click on the “Indices” tab and then on the “Add new index” symbol to create a new index.

    Enter the index path, e.g. “/data/indices/exchange/2”. Change the Display Name of the Index Service and the related Filter Service if necessary.

    Add a new data source with the symbol “Add new custom source” at the bottom right.

    Configuration of Data SourcePermanent link for this heading

    Caching Principal Resolution ServicePermanent link for this heading

    A CachingLdapPrincipalResoution can be selected as the caching principal resolution service. It is then used to terminate a user's AD group membership when searching.

    For details on configuring the caching principal resolution service, see Caching Principal Resolution Service.

    Microsoft Exchange ConnectionPermanent link for this heading

    This information is important for the configuration of the connection with the Microsoft Exchange Server.

    Setting

    Description

    Microsoft Exchange Server

    Fully qualified domain name of the Microsoft Exchange Server (e.g. exchange2010.myorganization.com).

    Domain

    (Advanced Settings)

    Fully qualified domain name of user. (Optional)

    Privileged Logon Account

    (Advanced Settings)

    User name of the privileged user. This is only needed when the user authentication fails. Detailed information on the Crawler’s integrated authentication is found under ‟2. CONFIGURING THE INTEGRATED AUTHENTICATION OF THE ”. (Opional)

    Password

    (Advanced Settings)

    The password of the privileged user. (Only for BASIC authentication)

    ContextualizationPermanent link for this heading

    Hits of emails, attachments and calendars can be downloaded via the context menu.

    To open a hit through Outlook Web Access, the “Outlook Web Access URL” must be configured and the option “Use Outlook Web Access” must be checked.  

    If the “Use Outlook Web Access Open as Default Action” option is selected, this action will be performed as a standard context action for every search result, i.e. the link of the hit opens Outlook Web Access.

    Source Scope Constraints (Advanced Settings)Permanent link for this heading

    Setting

    Description

    Mailbox Selection Pattern

    It is possible to restrict the data to be crawled. For example, it is possible to crawl only documents from a specific mailbox. The name of the mailbox to be indexed must then correspond to a regular expression specified in the "Mailbox Selection Pattern" field.

    For example, to restrict your selection to the mailbox of David Porter (david.porter@myorganization.com), enter "david.porter@myorganization.com" as the selection pattern. However, you can use any regular expression (regex) as a pattern. The syntax of the regular expression follows the POSIX convention.  

    Folders items traversal method

    The following methods for detecting changes in the mailboxes can be selected.

    • All Folders Items: Every item in each directory is compared with the corresponding item in the index.
    • Changed Folders Items: Each item in a directory containing at least one modified item is compared with the corresponding item in the index.  
    • All Folders Items On Startup Only: corresponds to the "All Folders Items" method for the first crawler run after starting the service and "Changed Folders Items" for the subsequent crawler runs.

    EWS Search Method

    "Search Filter" and "Query String" are the two methods that allow for restricting the objects found in Exchange Server. It is advisable to use the "Search Filter" method unless you only want to restrict certain objects using a defined AQS. If the "Query String" method is selected, the AQS string must be entered in the "Query String (AQS)" field. The use of query strings is not supported for the public folder.

    With the "Custom Search Filter Query" field additional filter conditions can be entered via XML. These only apply if "Search Filter" has been selected as "EWS Search Method". If, for example, all emails whose subject begins with "Automatic reply:" or "Accepted:" are to be excluded, this can be achieved with the following configuration:

    <Not xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages">

                <Or>

                  <Contains ContainmentMode="Prefixed" ContainmentComparison="Exact">

                    <FieldURI FieldURI="item:Subject"/>

                    <Constant Value="Automatische Antwort:"/>

                  </Contains>

                  <Contains ContainmentMode="Prefixed" ContainmentComparison="Exact">

                    <FieldURI FieldURI="item:Subject"/>

                    <Constant Value="Accepted:"/>

                  </Contains>

                </Or>

    </Not>

    Details on the available XML-Operations can be found in the official Microsoft documentation.

    Restriction by time interval (Advanced Settings)Permanent link for this heading

    To index only the objects within a given time interval, select the corresponding time unit from "Past Time Unit" options and enter the number of these time units in the "Number of Past Time Units" field.  This time interval will shift after every delta run. During this process, new objects are indexed and older ones are deleted from the index.

    Search settingsPermanent link for this heading

    To restrict the user search to the relevant primary user mailbox and public folders, select "Restrict to Primary Mailbox and Public Folder". This does not return hits from shared mailboxes and the shared folders of other users.

    For Microsoft Exchange 2003 and 2007, it is necessary to re-index the Microsoft Exchange data source (if indices have already been created with a version prior to 2015 Spring Release). Delta indexing is not sufficient.

    Resource parameters (Advanced Settings)Permanent link for this heading

    In this section, you can define settings that influence resource utilization on the Microsoft Exchange Server as well as on the Mindbreeze enterprise search server.  

    The following parameters can be set:

    Setting

    Description

    Crawler Queue Size

    Maximum number of entries in the indexing queue.

    EWS Dispatcher Thread Count

    Number of threads connecting to the Microsoft Exchange Server simultaneously.

    Mindbreeze Dispatcher Thread Count

    Number of threads that send data to the index simultaneously.

    Dump requests/responses (Advanced Settings)Permanent link for this heading

    Setting

    Description

    Dump Requests/Responses

    This field allows advanced debugging and logs queries and responses to the configured dump directory.

    With the preconfigured "On Error" option, log files are automatically created whenever an error occurs.

    With "Never" no dumps are generated and with "Always" they are generated for each request.

    Dump Directory

    This field specifies a directory in which the dumps are stored. If no dump directory is configured, the dump feature is not available.

    Note: Do not activate "Always" permanently in production mode.

    Configuring the integrated authentication of the Microsoft Exchange CrawlerPermanent link for this heading

    Windows:

    If the installation is made on a Microsoft Windows Server, the Kerberos authentication of the current Mindbreeze Service user can also be used for the Microsoft Exchange Crawler. In this case the Service user must be authorized to access the Microsoft Exchange Web Services.

    Linux:

    For installations under Linux, you can use the managementcenter to generate the keytab.

    Upload the keytab:

    Configure the keytab and the contained principal (in the authentication tab):

    Attention: The keytab must contain the key of the abovementioned user. The keytab for the Client Service cannot be used here.

    Problem-solving optionsPermanent link for this heading

    Generally speaking, problems with the indexing of Exchange data sources can be found first and foremost in the corresponding log files in the Mindbreeze log folder.

    In the Mindbreeze base log folder there is a corresponding subfolder for the configured Exchange crawler which may, for example, be named as follows:

    C:\logs\current\log-mescrawler_launchedservice-Microsoft_Exchange

    This contains a date subfolder for each crawl run with two log files:

    • log-mescrawler_launchedservice.log: Log file with all relevant log information and possible errors

    Invalid LDAP credentialsPermanent link for this heading

    If no credentials are configured in the Network tab under LDAP Settings , the crawler user credentials are used to connect to the LDAP server. The following message is logged in the log file if the credentials are wrong:

    com.mindbreeze.enterprisesearch.ldapclient.LDAPQuery INTERNALWARNING: Unable to connect to ldap server <x> Invalid Credentials (49)

    Unauthorized crawling userPermanent link for this heading

    Problem behavior:

    The crawler does not receive documents from Exchange and does not create a file list in the log file mindbreeze-dispatcher.csv.

    Many error messages of the following type can be found in the log file log-mescrawler_launchedservice.log:

    com.mindbreeze.enterprisesearch.connectors.exchange.ewsclient.callables.SOAPCallable WARNING: Call find folders of mailbox <x> - SOAP call: ERROR ErrorItemNotFound The specified object was not found in the store.

    Problem description and solution:

    Due to authorization problems, it is not possible for the service user to query folders from Exchange. See the section "Required authorizations for the crawling user" above.

    In addition, you can send the following POST query to EWS via curl to check the authorization:

    curl -X POST   https://mail.myorganization.com/ews/exchange.asmx   -v -H 'cache-control: no-cache' --ntlm -negotiate -u cr'<?xml version="1.0" encoding="utf-8"?>-type: text/xml'   -d '

    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                   xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"

                   xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"

                   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

      <soap:Header>

        <t:RequestServerVersion Version="Exchange2010" />

      </soap:Header>

      <soap:Body>

       <m:FindFolder Traversal="Deep">

          <m:FolderShape>

            <t:BaseShape>IdOnly</t:BaseShape>

            <t:AdditionalProperties>

              <t:FieldURI FieldURI="folder:DisplayName" />

            </t:AdditionalProperties>

          </m:FolderShape>

          <m:IndexedPageFolderView MaxEntriesReturned="100"

                                   Offset="0"

                                   BasePoint="Beginning" />

          <m:ParentFolderIds>

            <t:DistinguishedFolderId Id="msgfolderroot">

                   <t:Mailbox>

                   <t:EmailAddress>user@myorganization.com</t:EmailAddress>

                   </t:Mailbox>

            </t:DistinguishedFolderId>

          </m:ParentFolderIds>

        </m:FindFolder>

      </soap:Body>

    </soap:Envelope>'

    Download PDF

    • Configuration - Microsoft Exchange Connector

    Content

    • Installation
    • Configuration of Mindbreeze
    • Problem-solving options

    Download PDF

    • Configuration - Microsoft Exchange Connector