Riva CRM Integration - Documentation and Knowledge Base

Create a Multi-Tenant Graph Azure application for Riva

Article ID: 2324
Last updated: 29 Sep, 2022

Part 1: Create a multi-tenant app in Azure


Step 1: Register the App
Go to Azure > Azure Active Directory > App registrations > New Registration

Step 2: 
Step 2a. Add Name and click on the option - Accounts in any organizational directory (Any Azure AD directory - Multitenant)


Step 2b. Add a Redirect URI 
Add a Redirect URI e.g., myapp://auth
 
Step 2c. Click Register and app will be created.

Step 3: Setup Client secret
Step 3a. On the left, under Manage - click on Certificates & secrets > Click on New client secret


Step 3b. Add Description and Expires information.
Step 3c. Click Save and copy the Value of Client Secret. [This value won’t be seen after]


Step 4: Setup API permissions
Step 4a. On the left, under Manage – click on API permissions 
Step 4b. Click Add a permission and add following Riva recommended permissions –

Permission Permission Type Description
User.Read.All Application Read all users' full profiles.*
User.Read Delegated Sign in and read user profile. Azure automatically adds it on the App registration.*
Calendar.ReadWrite Application To sync calendar; Can be less like Calendar.Read
Mail.ReadWrite Application To sync mail; Can be less like Mail.Read

*Required

Please refer to following screenshot for User.Read.All permission

Step 5: Grant admin consent
As required, click on Grant admin consent for [username]
And set consent. Consent will be granted.

Part 2: Create connection from Riva App (On-premise)

Step I - On Riva App, click on Connections > Add Email > Microsoft Graph

Step II – Click on Next>
 
Step III – Fill in all the details, as shown below – For Tenand Id field, add organizations

Step IV: 
Sign in with admin credentials to set consent

Step V: 
Accept to set consent and connection will be created successfully.


Step VI: Check the consent
Login from customer Azure
The app should show under Enterprise Applications –

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2324
Last updated: 29 Sep, 2022
Revision: 3
Views: 0
Comments: 0