Skip to main content
Mitratech Success Center
Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.

 

Installation Guide for TeamConnect O365 Add-in 4.2

TeamConnect O365 Add-in 4.2 integrates TeamConnect with Outlook using Microsoft’s latest Add-in technology.

This guide covers prerequisites, system requirements, step-by-step installation, manifest generation, deployment, and troubleshooting.
Once deployed, the Add-in configuration is automatically available to end users within the timeframe specified by Microsoft.

Introduction

TeamConnect O365 Add-in 4.2 introduces a different way to integrate with Microsoft Outlook, leveraging the Microsoft Add-in technology. Its purpose is to empower attorneys and users by allowing them to conveniently access commonly used TeamConnect features through Outlook 365, rather than TeamConnect. To locate and determine the user’s TeamConnect version refer to the Upgrade Scenarios for TeamConnect O365 Add-in.

The TeamConnect O365 Add-in 4.2 is deployed to the end users using the admin center of the Microsoft 365 and needs to be handled by the client's IT irrespective of the fact whether they are a hosted TeamConnect client or deploy TC on-premise.

Setup and Access Requirements 

Prerequisites for TeamConnect O365 Add-in 4.2:

Following are the prerequisites before you begin installing the TeamConnect O365 Add-in 4.2:

  • Microsoft Account: A valid Microsoft O365 account is required.
  • Supported Operating Systems: Compatible with desktop environments on both Windows and macOS.
  • Supported Browsers:
    • Google Chrome
    • Microsoft Edge
    • Mozilla Firefox
    • Safari (version 17.2.1 or above)
  • Installation of TeamConnect O365 4.x module via Available Updates in Admin Settings → About.
Note: The TeamConnect O365 Add-in is not supported on Outlook 2019 or earlier versions on the desktop.

Compatibility  

  • TeamConnect Version Compatibility:
    • The O365 Add-in 4.2 is compatible only with TeamConnect Enterprise version 7.2 or higher.
  • Appointment Migration:
    • Supported for TeamConnect 7.1 PB1 and above.
    • Only applicable for users who were using appointments in the Outlook Plug-in.
  • Task Migration:
    • Supported for TeamConnect 7.2 and above.
    • Only applicable for users who were using tasks in the Outlook Plug-in.

Add-in Limitations

Outlook Integration with TeamConnect
Prior to initiating the integration process, it is advisable to examine the Admin guide accessible through the following link: Admin Guide

Azure Keys for Graph API Configuration

TeamConnect utilizes the Microsoft Graph API for communication with the Microsoft Exchange server. Below are comprehensive, step-by-step instructions on configuring Azure keys for Graph API.

Instructions Screenshot for Reference

1. Go to the Azure Active Directory.

(Note: This website is external and managed by Microsoft, not under the Mitratech domain.)

2. Sign in with your Azure admin account that has administrative privileges to the organization’s M365 domain.

 

Azure Homepage

3. Click on App Registrations → New Registrations.

4. Enter a name for the registration.

5. Select the ‘Single Tenant’ option for Supported Account Types.

6. Click the Register button.

APP Registrations

Step1: Configure Azure Keys for Graph API Delegated Permissions

  1. Access Client Secrets and Redirect URIs in the Azure Portal
  • Navigate to the Azure portal → App Registrations
    • Under the Manage section:
    • Go to Authentication to configure Redirect URIs.
  1. Add or Update Redirect URI

  • In the Redirect URIs section:
    • Click Add a platform or edit an existing platform (e.g., Web).
    • Use the following URL format for the Redirect URI: https://<YourServerInstance>/officeAuthentication.htm
    • Replace <YourServerInstance> with your specific server instance address.
  • Click Save to apply changes.
  1. Ensure Notifications API Access

  • Confirm that the Notifications API of TeamConnect is accessible to Microsoft’s Graph API to enable Web Hook synchronization for appointment changes. If you choose to whitelist the relevant IPs from Microsoft’s network, please review Microsoft’s documentation to ensure the correct network settings: Additional Office 365 IP Addresses and URLs. For more information on WebHook Notifications, refer to the Admin guide.
  1. Finalize Configuration

  • Click the Update button in the Azure portal.
  • Azure Keys for Graph API are now configured.

Step 2: Set Permission Type for Office Suite 

  1. Post-Upgrade Permission Settings

  • After upgrading to TeamConnect 7.2 PB1:
    • Navigate to TeamConnect → Admin → Office Suite.
    • In the new Permission Type option, set it to Application Permissions. (The Permission Type is set to ‘None’ by default)
  1. Update API Permissions in Azure Portal

  • Remove existing API permissions in the Azure portal.
  • Return to TeamConnect and set the Permission Type to Delegated Permissions.
  • Reconfigure API permissions in the Azure portal:
    • User.Read.All – Access basic user details and facilitate login.
  1. To proceed with the next steps, Tasks must be migrated from the Plugin to the Add-in. The permission type must be set to Application Permissions for the migration. Please refer to the Task Migration Admin Guide for more details. This completes the setup and management of Azure Keys and Permission Types for TeamConnect 7.2 PB1

Request API Permissions 
Configured Permissions
Client Secret
18. Go back to Overview (Azure page)→ copy the Application (Client) ID, paste it at Graph API Config Keys (in TeamConnect) → Application ID. Application ID
19. Go back to Overview (Azure page) → copy the Directory (Tenant) ID, paste it at Graph API Config Keys (in TeamConnect) → Tenant ID. Tenant ID

The Azure Keys for Graph API are now configured.

Graph API Config Keys

 

Important: To ensure seamless integration between the Office Add-in 4.x and TeamConnect, it is imperative that the Notifications API of TeamConnect remain accessible to Microsoft's Graph API. This accessibility is crucial for enabling Web Hook to synchronize any changes made to appointments. Failure to grant access to TeamConnect's Notifications API will result in the inability to receive updates for appointments from Outlook.

Managing Permission Type Setting

  1. Change Permission Type (anytime later, if required)

  • Navigate to TeamConnect → Admin → Office Suite.
  • In the Permission Type option, modify settings as needed:
  • A radio button selection allows admin users to choose from:
    • Delegated Permissions
    • Application Permissions
    • None

  1. Default Behavior Based on Client Type:

  • For Plug-in Clients:
    • The default option is set to None to ensure no impact on existing configurations.
  • For Add-in Clients:
    • The default option is also set to None.
    • Admins must manually select either Delegated Permissions or Application Permissions as required.
  1.  Mandatory Configuration for Admin Users:
        Admins are required to populate all fields under the Graph API Keys section when selecting Application Permissions or Delegated     Permissions.

  2. Migration Requirement:
         During migration, admins must manually set the Permission Type for Application Permissions to ensure proper configuration.

  3. Reauthentication: 
         If a user has been inactive for an extended period or not logged in for a while, they are prompted to log in again.

Admin Options: If "Application Permissions" are selected, the process works as it does for versions TCE 7.2 and below.

Permissions Mentioned:  

The following permissions apply to the Application Permissions.

  • User.Read.All (to access basic user details and facilitate login)
  • Calendars.ReadWrite (to manage calendars)

CAUTION: Do not use Tasks with Application Permissions.
The Tasks functionality is not supported when the Permission Type is set to Application Permissions. If Tasks is enabled with Application Permissions, both Tasks and Appointments stop working. To use Tasks, select Delegated Permissions in TeamConnect → Admin → Office Suite → Permission Type.

Revoking Consent for Delegated Permissions 

Admins can revoke the consent granted by a user for delegated permissions during their login to the Outlook Add-in. To fully revoke their access, the tokens need to be invalidated through the Graph API. Refer to the following Microsoft documentation to revoke the consent manually.

  1. Revoke permissions using Microsoft Graph PowerShell
  2. Revoke permissions using Microsoft Graph
Changing Permission Type in TeamConnect 

When Delegated Permissions are enabled, access and refresh tokens are stored individually and stay saved. If you switch from Delegated Permissions to Application Permissions or None, these tokens remain stored but become unused. To remove them, an admin must manually clear previously stored access and refresh tokens from the TeamConnect database manually using SQL query. This step is optional.

However, Microsoft still considers these tokens valid, so they can remain in the TeamConnect database. 

Test Connection Button 

To verify the Graph API connection, the user can find a button to test the connection under Admin Settings → Office Suite, located below Graph API Config keys. In case the test connection fails, the error details will be recorded in the error logs. (Refer above image.)

How to generate the Manifest file?

A Manifest File is an XML document that describes the manifest, or package contents, of a Windows software application. It is pre-configured by Mitratech and hence any customization to this file is not supported. The manifest file is used to deploy the Add-in from the Microsoft Admin Center. 

Each TeamConnect Environment will have its own manifest file. You can generate the manifest from your Teamconnect environment.  

Note: Please make sure to check if the TeamConnect URL under Admin Settings → General is populated as per the below screenshot - {your TeamConnect domain name}/login. Otherwise, the Add-in will not work after deployment. 

TeamConnect URL

Generate Manifest Screen

Note: Multiple manifest files can be generated and deployed. 

Add-in Deployment

 Once you get your manifest file, follow the steps below to deploy the Add-in. TeamConnect O365 Add-in 4.2 deployment requires Microsoft 365 and Exchange Online.

Follow the instructions below to deploy the Add-in from the Microsoft Admin Center:

Instructions Screenshot for Reference
1. Navigate to your Microsoft 365 Admin Center or admin.microsoft.com and search for Add-ins in the search bar or go to Settings → Integrated Apps. Integrated APPs page

2. In the search results, from the options displayed, click Integrated apps.

Integrated APPs
3. The Add-in can be deployed in two different ways:

4. Method 1: (Recommended)

b. Click the Deploy Add-in button.

Deploy Add-Ins

b. Deploy New App modal is displayed. Select Office Add-in from the App Type drop-down options.

Upload APPs to deploy

Deploy New Add-in

Select I have the manifest file option and click Choose File. Upload the manifest file generated through the Microsoft Admin Center and click the Upload button.

Deploy New Add-in

Select the availability of the Add-in to the users by selecting the Assign Users radio button.

d. The Configure Add-in modal is displayed. Configure the settings as per your organization.

Configure Add-In

d. Click the Next button.

 

e. Finally, click the Deploy button.

Deploy

e. Click the Deploy button.

Note: Configuration options are not available in this method.

Note: This website is external and managed by Microsoft, not under the Mitratech domain.
TeamConnect Icon

The latest TeamConnect Outlook 365 Add-in can be updated through the Microsoft 365 Admin Center, utilizing the updated Manifest file from your TeamConnect Instance (provided the Manifest File has been updated). 

There are certain functions in the admin interface that only the organization administrators can perform to set limitations or ease of use for the end users. For a detailed list of tasks achievable by administrators, refer to the following document: Admin Guide

Frequently Asked Questions 

FAQs

How Can Users Revoke Accepted Permissions?
Currently, users cannot manage or revoke permissions directly within TeamConnect or the Add-in. All permission management must be handled through Microsoft Graph API.

Why Use Delegated Permissions?
Application-level permissions use a single token shared across all users, which poses a security risk. If this token is compromised, it grants access to all users' data. In contrast, delegated permissions issue separate tokens for each user, ensuring individualized access and enhanced security.