Skip to main content
Back to Actions Integrations Connect Microsoft Graph to create, view, and update events and to-do lists, and send emails. See Microsoft Graph for more information.

Authorizations Supported

The XO Platform supports basic authentication for Microsoft Graph. See App Authorization Overview for details.
Microsoft Graph integration can only be authorized for Developer and Enterprise editions — not Trial. See Microsoft Graph documentation for account types.
Authorization TypeBasic OAuth
Pre-authorize the IntegrationYes
Allow Users to Authorize the IntegrationYes

Step 1: Enable the Microsoft Graph Action

Prerequisites:
  • Create a developer account in Microsoft Graph. See Microsoft Graph Documentation.
  • Copy the Client ID, Client Secret Key, Authorization URL, and Callback URL.
Steps:
  1. Go to App Settings > Integrations > Actions.
  2. In the Available region, select Microsoft Graph.

Pre-authorize the Integration

System Authorization
  1. Go to App Settings > Integrations > Actions and select Microsoft Graph.
  2. In Configurations, select the Authorization tab.
  3. Set Authorization Type to Pre-authorize the Integration > OAuth. Authorization type-OAuth
  4. Select the System card and click Authorize. Enable the Kore.ai's preconfigured Microsoft Graph app
  5. You are redirected to https://login.microsoftonline.com/. Enter your credentials and click Allow Access.
Custom Authorization
  1. Select Custom and click Select Authorization > Create New. Create new authorization
  2. Select OAuth v2. See Setting Up Authorization Using OAuth v2. Auth mechanism type
  3. Enter the OAuth v2 credentials:
    FieldDescription
    Call back URLKore.ai XO Platform callback URL
    Identity Provider NameName of your custom auth profile
    Client IDClient ID from Azure Portal
    Client Secret KeyClient secret value from Azure portal
    Authorization URLMicrosoft Azure Portal authorization URL
    Token Request URLMicrosoft Azure Portal token request URL
    Scopeemail Mail.ReadWrite Mail.Send offline_access openid profile User.Read Tasks.ReadWrite Calendars.ReadWrite MailboxSettings.Read
    Refresh Token URLMicrosoft Azure Portal refresh token URL
    To register an Azure App, see Adding the Microsoft Teams Channel. Auth credentials
  4. Click Save Auth, then select the new profile. Select auth profile to enable integration
  5. Click Authorize, enter credentials at https://login.microsoftonline.com/, and click Allow Access.
  6. Click Enable. Integration enabled
The Microsoft Graph action moves from Available to Configured after enabling.

Allow End User to Authorize

  1. Go to App Settings > Integrations > Actions and select Microsoft Graph.
  2. In Configurations, select the Authorization tab.
  3. Set Authorization Type to Allow Users to Authorize the Integration > OAuth. Auth type - OAuth
System Authorization
  1. Select the System card. Enable the Kore.ai's preconfigured Microsoft Graph
  2. Click Enable. A link is sent to the end user to authorize.
Custom Authorization
  1. Select Custom and click Select Authorization > Create New, following the Custom Authorization steps above.
  2. You can also select an existing profile: Existing auth profile
  3. Click Enable.

Step 2: Install the Microsoft Graph Action Templates

  1. On the Integration Successful dialog, click Explore Templates. Explore templates
  2. Click Install to begin installation. Begin installation
  3. Once installed, click Go to Dialog. A dialog task for each template is auto-created. Dialog task for each template
  4. Select the desired dialog task and click Proceed. Select desired dialog task
  5. The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts. Canvas