Create a Multi-Tenant Graph Azure Application For Riva

  • Updated

Part 1: Create a multi-tenant app in Azure


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

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

Picture2.png


Step 2b. Add a Redirect URI 
Add a Redirect URI e.g., myapp://auth
Picture3.png
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
Picture4.png


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
Picture5 (1).png

 

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

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

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

Step II – Click on Next>
Picture8.png 
Step III – Fill in all the details, as shown below – For Tenant ID field, add organizations
Picture9.png

Step IV: 
Sign in with admin credentials to set consent

Picture10.png

Step V: 
Accept to set consent and connection will be created successfully.
Picture11.pngStep VI: Check the consent
Login from customer Azure
The app should show under Enterprise Applications –

Picture12.png

 
 
 

Was this article helpful?

/

Comments

0 comments

Article is closed for comments.