Skip to main content

Outlook Integration Setup

This page explains how to register an application in Microsoft Azure Active Directory (Entra ID) to enable Docflo to read Outlook mailboxes. This process is essential for setting up email extraction from Outlook accounts.

What You'll Get

At the end of this process, you will have the following credentials needed to connect Outlook to Docflo:

  • Tenant ID - Your organization's unique identifier in Azure
  • Client ID - The unique identifier for your registered application
  • Client Secret - The authentication key for your application

Prerequisites

  • Administrative access to your organization's Microsoft Azure/Entra ID
  • Permissions to register applications and grant admin consent

Step-by-Step Setup Process

Step 1: Get Your Tenant ID

  1. Navigate to the Azure portal or Microsoft 365 admin center
  2. Click on your profile/settings menu in the top right corner
  3. Note down your Tenant ID from the organization information

Step 2: Register Your Application

  1. Follow the official Microsoft documentation to register a new application:

    📖 How to register an app - Microsoft Learn

    Important steps during registration:

    • Choose a meaningful name for your application (e.g., "Docflo Email Integration")
    • Select the appropriate account types (typically "Accounts in this organizational directory only")
    • Note down the Application (Client) ID once the app is created
    • Don't forget to grant admin consent for the required permissions

Step 3: Create a Client Secret

  1. After registering your application, you need to create a client secret for authentication:

    📖 Add credentials to your application - Microsoft Learn

    Key points:

    • Choose an appropriate expiration period for the secret
    • Copy and securely store the Client Secret value immediately (it won't be shown again)
    • Note the secret's expiration date for future renewal

Step 4: Configure Outlook Credentials in Docflo

  1. Log into your Docflo account
  2. Navigate to Credentials
  3. Add a new credential entry with the following information:
    • Name: Give it a descriptive name (e.g., "Company Outlook Integration")
    • Tenant ID: Enter the tenant ID from Step 1
    • Client ID: Enter the application (client) ID from Step 2
    • Client Secret: Enter the client secret from Step 3

SAP Public Cloud Credentials

Step 5: Add Outlook Mailbox as Source

  1. Go to Sources in the Docflo interface
  2. Click Add New Source
  3. Select Outlook/Exchange as the source type
  4. Choose the credentials you created in Step 4
  5. Enter the specific mailbox address you wish to connect to Docflo

SAP Public Cloud Credentials

Important Security Notes

  • Keep your Client Secret secure - treat it like a password
  • Set appropriate expiration dates for your client secrets
  • Regularly rotate secrets before they expire
  • Use principle of least privilege - only grant necessary permissions
  • Monitor application usage through Azure logs

Troubleshooting

If you encounter issues:

  1. Authentication failures: Verify all credentials are entered correctly
  2. Permission denied: Ensure admin consent has been granted
  3. Expired secrets: Check if your client secret needs renewal
  4. Mailbox access issues: Confirm the specified mailbox exists and is accessible

Next Steps

Once your Outlook integration is set up, you can:

  • Set up approval workflows
  • Monitor email ingestion through logs and document lists

For additional support with Outlook integration, contact your Docflo administrator or support team.