Enate Help
What's New in EnateEnate WebsiteEnate AcademyFeedback
English
English
  • Hi, welcome to Enate Help
  • ✨What's New in Enate
  • Work Manager
    • 💻Work Manager
      • User Roles in Work Manager
      • Home Page
        • Bar Chart and Grid
        • Team Bar - Viewing Your Team
          • Team Bar for Team Members
          • Team Bar for Team Leaders
      • Setting Teams and Queues
      • Quickfind
        • Quickfind Searches with Custom Data Fields
        • How Quickfind works - specifics
      • Managing Contacts
        • Adding, Editing and Deleting Contacts
        • Contacts Page
        • Contact Activity Page
        • Contact Tags
        • Contacts Card
      • Emails
        • Composing Emails
        • Canned Texts
        • Email Attachments
        • Saving an Email as a Draft
        • Scheduling Emails
        • Email Inbox View
        • Sent Items View
        • Outbox View
        • Unhandled Emails
          • Creating New Email Routes from Unhandled Emails
          • Viewing Deleted Emails
          • Unhandled Emails Further Specifics
        • Blocked Email Addresses
      • Using Multiple Tabs
      • Focus List
      • Notifications
      • Getting New Work
      • Creating New Work
        • Bulk Create Work Items
        • Creating a Work Item from an Existing Email
      • Work Item Overview
        • Overview of Work Item Types
        • Adding a Note
        • Defects Card and Recording Defects
        • Timeline
        • Files Tab
        • Time Tracking
        • Forecasting for Cases
        • Custom Cards
        • Viewing Recently Accessed Work Items
      • Processing a Ticket
        • The Ticket Screen
        • Processing a Ticket
        • Merging a Ticket into another Ticket/Case/Action
        • Splitting a Ticket
        • Converting a Ticket into a Case
      • Processing a Case
        • The Case Screen
        • Processing a Case
        • Manually Launching An Action
        • Reworking a Case
        • Sub Cases
      • Processing an Action
        • The Action Screen
        • Processing an Action
        • 'Wait for Sub Cases to Complete' Actions
        • 'ABBYY FlexiCapture' Actions
        • 'Document Extraction' Actions
        • 'Peer Review' Actions
        • 'Send Email' and 'Send Email and Wait' Actions
        • 'Trigger External API' Actions
        • Approval Actions
      • Working with Linked Work Items
        • Linking Existing Work Items
        • Creating New Linked Work Items
        • Viewing Linked Work Items
        • Sharing Emails between Linked Work Items
        • Related Group vs Linked Work Items
      • Working Between Teams
      • Assigning / Reassigning / Unassigning Work
      • Feedback Features
      • Reports
        • Team View Report
        • User's Overview Report
        • Sentiment Analysis Report
        • User Insights Report
      • User Availability Insights
        • The Insights Popup
        • Main Insights Page
        • Main Insights Page: Team Leader Features
        • The User Insights Report
      • Advanced Search
      • User Settings
        • Email Signature Optimisation
      • Test Mode
      • Multilingual Support
      • Appendix
        • How to enable spell check in Enate
        • Potential Validation Errors for Bulk Creation of Work Items
        • Search terms ignored - further details
        • System behaviour for Determining Assignee, Owner & Queue for Work Items
        • Screen Resolution Support
  • Builder
    • 🛠️Builder
      • Navigating Builder
      • Service Lines Screen
        • Creating New Ticket Types in a Service Line
        • Creating New Case Types in a Service Line
        • Creating New Action Types in a Service Line
      • Service Matrix Screen
        • Screen Overview
        • Creating and Editing Customers
        • Creating and Editing Contracts
        • Creating and Editing Services
        • Adding new Tickets & Cases
        • Ways to Create Work Items in Work Manager
        • Process Grouping Work Items
      • Ticket Configuration
        • Cloning from existing Ticket settings
        • The Ticket Screen
        • Adding a Ticket Category Row & Settings
        • Configuring Ticket Attributes
        • Setting a Ticket Live
      • Case Configuration
        • Creating a New Case Process
        • Case Screen Overview
        • Case-level Settings - Case Info Tab
        • Adding Actions to a Case
          • Manual Actions
          • Peer Review Actions
          • Send Email Actions
          • Send Email and Wait Actions
          • Start Case Actions
          • Approval Actions
          • Trigger External API Actions
          • IDP Data Extraction Actions
          • ABBYY OCR FlexiCapture Actions
          • Wait for Sub-Cases to Complete Actions
          • Adding Ad-hoc Actions
          • Adding Action Checklists
        • Case Conditionality
          • Case Conditionality - Formatting Examples
          • Conditionality Based on an Action's Checklist
          • Conditionality – Advanced Mode C# Tips
        • Merging Branches in a Case
        • Ending a Case Early
        • Setting a Case Live
      • Email Mailbox Configuration
        • Email Connectors
        • Email Routes
        • Microsoft Office 365 Email Integration with Enate via Graph API model
        • Setting up your Email Infrastucture
          • Inbound Email Setup
          • Outbound Email Setup
        • Incoming Emails - Processing Logic
          • Wildcard Routes for incoming BCC Emails
          • Wildcard Email Routes - Possible Scenarios
          • Subsequent Email Responses - Scenarios
        • Email Processing Modes - Options
        • Email Receipt & Deduplication
        • Dealing with Incoming Out of Office Emails
        • Enate via Graph API model
      • Email Template Configuration
        • Default Email Templates
        • Creating New Email Templates
        • 'Reply Instructions' Email Template - 'Expression of Intent' Instructions
        • Viewing Where Email Templates Are In Use
        • Comparing & Merging Email Templates
        • Canned Response Configuration
      • Custom Data and Custom Card Configuration
        • Creating Custom Data Fields
        • Creating a Custom Card
        • Importing / Exporting Custom Cards
        • Advanced Custom Cards
        • Linking Custom Cards to Cases / Tickets / Actions
        • Quickfind with Custom Data – Configuration and Rules
        • Extension Properties
      • Schedules and Triggers
        • Schedule Setup
          • Creating a Schedule Structure
          • Creating a Schedule
          • Linking a Schedule to a Case
        • Schedule Behaviour for Auto-Launching Cases
        • Triggers
          • Creating a New Trigger
          • Editing an Existing Trigger
          • Viewing Cases Launched by Triggers in Work Manager
      • Shared, Standardised Settings – ‘Flavours’
        • Due Date Flavours
        • Allocation Flavours
        • General Settings Flavours (Action Only)
        • Follow Up Settings
        • Exception Activities – Creating and Cloning New Flavours
      • Case and Ticket Configuration Validation
      • Approval Flows
      • Integrations - Marketplace
      • User Management
        • Service Agents
        • Robots
        • Self Service Users
        • User Groups & Data Permissions
        • User Roles & Feature Access
        • Application Credentials
      • Working Calendar Management
      • Adding Localizations
      • Viewing Deleted Items
      • System-Wide Settings
        • General Settings
        • Defect Parties
        • File Tags
        • Office 365 Integration
        • Suppliers
        • Queues
        • Contact Tags
        • Departments
        • Locations
        • Cost Centers
        • Password Policy
        • SSO Settings
        • Approval Settings
        • Privacy Policy Display
      • Maximum Limits in Enate
      • Useful Links
      • Validation Codes
      • Administration
        • Enate System Setup Requirements / Whitelisting
        • Binary Data Storage Options - 'Bring Your Own Bucket'
        • Files: Anti-Malware Scanning
        • Activities Audited in Enate
        • 2021.1 Engine Descriptions
        • Open Source Components
        • SSO Configuration
  • EnateAI
    • EnateAI
      • EnateAI for Email
        • Enate AI - Email Classification
        • EnateAI - Email Data Extraction
        • Enate AI Sentiment Analysis
        • EnateAI - 'Thank You' Email Evaluation
        • Email Connector-level control over Email Integrations
      • EnateAI - Document Classification
      • EnateAI for IDP - Document Extraction
      • EnateAI - AI Analyst (Beta)
        • AI Prompts
          • Bank File Reconciliation
          • Investment Case Content Creation
          • Credit Card Statement Reconciliation
      • Set Confidence Thresholds for your Integrations
  • Enate BI
    • Enate Data Dictionary
  • Integrations
    • Enate Integration Services powered by SnapLogic
      • SnapLogic Overview
        • Using SnapGPT to help you in SnapLogic
      • iPaaS Patterns
      • Build your Pipeline - Enate Integration Pattern 1
      • Enate Integration Services FAQs
      • Resources and Links
    • Enate Integrations
      • Set Confidence Thresholds for your Integrations
      • Email Connector-level control over Email Integrations
      • Auto-classify emails - Email Classification
      • Auto-populate Custom Cards with Email Info - Email Data Extraction
      • Analyse sentiment in emails - Sentiment Analysis
      • Auto-evaluate 'Thank You' emails -Thank You Email Evaluation
      • Auto-tag email attachments - Document Classification
      • Auto-extract document data - Document Extraction
      • Set up a Bot status monitor in Power Automate
      • Integrate third-party WebApps by Iframe with Enate's Advanced Custom Cards
      • Extract Emails & Attachments to SharePoint with Power Automate
      • Auto-notify other apps of new Cases, Tickets & comms with Enate's Webhooks
      • Auto-populate row data into an Enate Case with UiPath
      • Create a Webform that turns requests into Tickets with Enate's APIs
      • Default Current Date & Time into a Field with Enate's Advanced Custom Cards
      • GPT Providers
      • APIs
        • API Changes
        • API Enums
      • ABBYY FlexiCapture
        • Setting up Enate & ABBYY Integration
        • How ABBYY FlexiCapture Actions Work At Runtime
      • Webhooks
        • How to work with Enate's Webhooks
        • List of Enate's Webhooks
        • API Webhook Subscription
        • Webhook Troubleshooting
      • UiPath
        • Setting Up Enate & UiPath Integration
        • Enate UiPath Activity Libraries
        • Enate & UiPath Orchestrator Synchronization
          • UiPath Synchronization V4
          • UiPath Cloud Synchronization V3
          • UiPath Cloud Synchronization V2
          • General Questions and Issues, Debugging and Troubleshooting
      • UiPath Communications Mining
      • Blue Prism
        • Setting Up Enate & Blue Prism Integration
        • Enate Blue Prism Connectors
      • Automation Anywhere
        • Getting Started with Automation Anywhere
      • Power Automate
      • Advanced Custom Card Code
        • Custom Card Validation
        • Custom Card HTML
        • Custom Card CSS
  • WHITE PAPERS
    • Enate White Papers
  • Implementation
    • Enate Implementations
    • Enate Academy Training Courses
  • 📙Glossary of Enate Terms
  • 💬Feedback
Powered by GitBook
On this page
  • Register with Azure AD
  • Add Azure AD Data to Enate
  • Integrate with Office 365
  • Authentication with Certificate (recommended)
  • Authentication with Client Secret
  • Configuring Graph API Mailbox

Was this helpful?

Export as PDF
  1. Builder
  2. Builder
  3. Email Mailbox Configuration

Microsoft Office 365 Email Integration with Enate via Graph API model

PreviousEmail RoutesNextSetting up your Email Infrastucture

Last updated 3 years ago

Was this helpful?

You can sync Enate to Microsoft Office 365 email boxes and pull emails into Enate without needing to use POP3 or IMAP protocols via Graph API Integration. Read below to find out how to go about this.

Register with Azure AD

To configure integration between Enate and Office 365, each unique Enate instance must be registered with the Microsoft Identity Platform in the Azure AD of the Office 365 tenant to which you need to establish connectivity.

To create the “App Registration” please follow the guide from Microsoft at .

When configuring the Enate App Registration the supported account types option should be chosen based on the mailboxes you wish to access. No redirect URI is required.

Once the App Registration is complete you must add credentials and setup permissions.

To add the required permissions follow the guide at . The only required API permission is an Application permission of Microsoft Graph\Mail.ReadWrite. It is important to select an “Application permission” and not a “Delegated permission”. Be sure to grant admin consent for the permission within the Azure AD tenant.

To create a credential follow the guide at . Enate supports Client Secrets and Certificates.

Finally to restrict the App Registration to only accessing certain mailboxes (strongly recommended) follow the Microsoft guide at

Add Azure AD Data to Enate

After Azure AD has been configured to grant access, login to Enate Builder as a user with the “Can Edit Shared Configuration” permission.

Click the settings cog in the bottom left and open the “Office 365 Integration” pane and enter the details from your Azure AD App Registration.

The Tenant ID (aka Directory or Domain) and Application ID is shown on the Overview pane of the Azure AD App Registration; the client secret or certificate (and private key password) are supplied by you to both Azure AD and Enate.

Integrate with Office 365

You always use shared mailbox.

Click on the Office 365 Integration” pane and select whether you want to authenticate with a certificate (this is the recommended route as it is more secure), or whether you want to authenticate with client secret.

Authentication with Certificate (recommended)

As part of this set up, an Office365 Certificate would need to be generated - Generating a certificate is an activity for your Office365 Administrator to undertake, and is done completely independent of Enate. For your reference we have provided below a SAMPLE of the kind of PowerShell script that can be used to generate such a certificate. It will save the Certificate with the private key (for Enate) to a PFX file and without the private key (for Azure):

$pw = Read-Host -Prompt "Please enter a password for the Private Key" -AsSecureString
$name = Read-Host -Prompt "Please enter a name for the Certificate"
Write-Host "Creating Certifcate $Certname" -ForegroundColor Green
$Cert = New-SelfSignedCertificate -certstorelocation cert:\CurrentUser\my -Subject "CN=$name" -KeyExportPolicy Exportable -KeySpec Signature
$desktopPath = [Environment]::GetFolderPath("Desktop")
Write-Host "Exporting Certificate with Private Key to $desktopPath\$name.pfx" -ForegroundColor Green
Export-PfxCertificate -cert $Cert -FilePath $desktopPath\$name.pfx -Password $pw
Write-Host "Exporting Certificate with Public Key only to $desktopPath\$name.cer" -ForegroundColor Green
Export-Certificate -cert $Cert -FilePath $desktopPath\$name.cer

Enter the Tenant ID/Domain and the Application ID, select the 'Authentication with Certificate' option, add the certificate file ( Personal Information File, .pfx) and enter the password for the certificate file.

Then click to check the connection. Once the connection has been successfully tested, click to save.

You have now successfully configured your Office 365 integration.

Authentication with Client Secret

To authenticate with client secret code, enter the Tenant ID/Domain and the Application ID, select the 'Authentication with Client Secret' option, add the client secret code (this is generated by the network admin of your company).

Then click to check the connection. Once the connection has been successfully tested, click to save.

You have now successfully configured your Office 365 integration.

Configuring Graph API Mailbox

Enter the name and email address of the shared mailbox to be used.

Then click to test the connection. Once the connection has been successfully tested, click to enable the Graph API connector and click to save. Your Graph API connector is now set up.

If a new email arrives from one of the folders configured in the connector and it matches the folder path specified in the email route and it passes any other routing rules, it will launch the process specified in the route.

If you don't specify the folder path and leave it blank or use a wildcard '*', emails from any of the the folders configured in the connector will create the process specified in the route, as long as all the other routing rules are matched as well.

Once you have successfully configured your Office 365 integration, you can configure your Graph API Mailbox by going to the page and selecting to add a Graph API Connector.

You can now create different for the Graph API connector if you wish.

🛠️
Email Connectors
Email Routes
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis#add-permissions-to-access-web-apis
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis#add-credentials-to-your-web-application
https://docs.microsoft.com/en-us/graph/auth-limit-mailbox-access