Installation

General

This document provides guidance on installing and configuring the OAuth2 Graph API App.

Prerequisites

System and Version

System
Version

Novacura Flow Server

6.14

Novacura Flow Studio

6.14

Connectors

REST Service

Installation Components

Azure Services

Microsoft Graph

Create an App Registration for reading emails and attachments in a unified inbox. The App Registration needs Mail.Read permissions to be able to access the mailbox.

circle-info

You will need to add additional permissions if you plan to utilize more functionality against the Graph API in other workflows.

Read more in the how-to guides Create App Registrationarrow-up-right and Limit Permissions to a Specific Mailboxarrow-up-right.

  • Navigate to the registered Microsoft Graph application's Authentication page

  • Add ncflow://authenticate value to Mobile and desktop applications' Redirect URIs' list

  • Add https://web.novacuraflow.com/ value to Mobile and desktop applications' Redirect URIs' list

circle-info

The ncflow://ncflowsuccess value is needed instead, if it is used External App Launcher integration call back.

Flow Connectors

REST Connector

Microsoft Graph API

A REST Connector Project must be set up to utilize Microsoft Graph APIs.

Create a new REST Service Connector named "Microsoft Graph REST" and import the configuration file "Microsoft Graph REST.ncrcp." For more information see Import a REST Configurationarrow-up-right.

  • Enter a Base Address https://graph.microsoft.com

  • Set up the parameters for OAuth2 authentication

Parameter
Value
Description
Required

Enabledb

Checked✔️

To enable OAuth2 Authentication in REST connector

Client ID

{client_id}

The Application (client) ID that the Azure portal – App registrationsarrow-up-right experience assigned to your app.

Client Secret

{client_secret}

The application secret that you created in the app registration portal for your app. You shouldn't use the application secret in a native app or single page app because client_secrets stored on devices or web pages are not reliable.

Scope

For ID tokens, must be updated to include the ID token scopes - openid, and optionally profile and email.

Extra query parameters

{"login_hint": "[email protected]", "prompt": "login"}

To add extra paramters if needed. It has to be in JSON format.

Installation

circle-exclamation

1. Import Workflows

Import workflows in the file "Outlook Attachment Component 2.0.0.wap".

For additional details see Import Workflowsarrow-up-right.

2. Setting Menu Roles

Together with the imported workflows there will also be a menu. Connect the menu to your roles to make them available for users.

For details see Setting Menu Rolesarrow-up-right.

3. Publishing Workflows

Within the Server Contents Window right-click on the Form Recognizer folder and select “Publish”. This process can take a few minutes but once complete, a Publish Successful message will be displayed.

If you receive any errors during the publication of the workflow. Please review the error detail and consult your support contact with the relevant information.

The workflows will now be available to execute on your chosen Flow client.

For details see Publishing Workflowsarrow-up-right.

Last updated

Was this helpful?