Microsoft Outlook

A BDK Book containing procedures for integrating with Microsoft Outlook.

These procedures are part of the Microsoft Outlook Book (BDK). To use this book, you must first learn it in your agent.

Overview

The Outlook Book (BDK) enables users to interact with and manage their email, calendar, contacts, and tasks via the Microsoft Graph API.

Prerequisites

Books Needed

The following Books need to be learned in your agent :

  • Outlook (BDK)

  • Office 365 (BDK)

Refer to Connectivity for information on configuration details when learning these Books.

Permissions

If connecting using client credentials authentication, you need to have at least one of the following application permissions on the Microsoft Graph API to be able to read and/or access users:

  • User.Read.All

  • User.ReadWrite.All

  • Directory.Read.All

  • Directory.ReadWrite.All

These permissions must be granted by an administrator in your Microsoft organization. For additional details, refer to Microsoft's guides.

Connectivity

This Book supports the connectivity methods described in this section.

Connect using Client ID, Client Secret and Tenant ID

Establishes a connection to the Microsoft Graph API using the provided client credentials.

Label
Description
Type

Client ID

The client ID of the application registered in Azure AD.

text

Client Secret

The client secret of the application registered in Azure AD.

text

Tenant ID

The tenant ID of the Azure AD directory.

text

Sample Automation Workflow

get users from office365 whose mail is "blahblah"
use the first user as the user
retrieve the user's email folders whose "displayName" is "blah1"
get the first email folder
use the above as the folder
get the folder's emails
use the above as the emails
forget the user's email folders
forget the first email folder
retrieve the user's email folders whose "displayName" is "blah"
get the first email folder
use the above as the target folder
move the emails to the target folder

The following procedures are used in this automation:

Last updated

Was this helpful?