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

circle-exclamation
  • 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.

circle-info

Depending on the needs for the app registration you will add different permissions. Read more about all available permissions for Microsoft Graph at https://docs.microsoft.com/en-us/graph/permissions-referencearrow-up-right

  • 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

circle-exclamation

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

Was this helpful?