Create App Registration

This document describes how to create an app registration for use in a machine workflow for reading messages in a mailbox.

Create App Registration

  • Click on "New registration"

  • Enter an application name and select an account type and click on "Register". No Redirect URI is needed in this case.

  • After the new registration has been saved, navigate to "Certificates & secrets" and click on "New client secret"

  • Enter a name of the client secret and set an expiration, click "Add"

  • Copy the client secret value for later use in Flow Studio

Make sure to copy the value of the new secret, it can't be read after the leaving the page

  • Get the Client ID from the overview

  • Both Client ID and Client Secret are needed for the REST configuration in Flow

Set Permissions

This document describes how to set up read and write permissions for mailboxes.

Depending on the needs for the app registration you will add different permissions. Read more about all available permissions for Microsoft Graph at

  • Create permissions by navigating to "API permissions" and select "Add a permission"

  • Select Microsoft Graph

  • Select Application permissions

  • Search for "mail" and select "Mail.ReadWrite"

  • Select "Grant admin consent" to approve permissions

After the app registration is done and the permissions are set it is possible to read all mailboxes in the directory. Read more on how to Limit Permissions to a Specific Mailbox

Flow configuration

  • Navigate to the Graph REST connector in Flow Studio.

  • Open Global parameters and select the dots (...) in Edit parameters

  • Enter the values for Client ID and Client Secret from your new app registration

  • Click Save in the Global parameters dialog box

  • Save the new REST configuration

Last updated