In this How To you'll learn how to connect your conversational AI to Office 365 and integrate email capability via the Microsoft Graph API and Azure.

Implementing this requires an Application Registration in Azure with relevant permissions configured. The tenantid, clientid and clientsecret from the Azure Application are used to provide connectivity between your conversational AI, Office 365 and Graph API to provide email capability.

The 3 high level steps are as follows:

  1. Create and configure an Azure Application Registration
  2. Generating an Access Token for the Graph API to make authenticated requests
  3. Creating a request to send an email

To implement this capability perform the following steps:

Step 1- Azure Configuration

The first step involves creating a new Azure App Registration in the Azure Portal, creating and granting the relevant permissions.

  1. Browse to your Azure Portal and search for App Registrations:

Untitled

  1. Select New Registration: