Start a new App Registration
- Click into the search at the top
- Type in 'App registration'
- Select 'App registrations' from the list of results
- From the App registrations page, click on 'New registration'
Basic Information
- Fill out the Information for the new Entra Id App Registration so that it is clear that it is for use with Riva Insight
- Under 'Supported account types', select 'Single tenant only'
- Under 'Redirect URI', select 'Single-page Application (SPA)'
- Add the Redirect URI in format
brk-multihub://{insightFQDN}:{port}
For example:brk-multihub://riva.myorg.local:5001 - Click on 'Register' when complete
Note:
- The callback URLs must be all in lowercase
- Multiple callback urls can be added after completing the initial app registration (refer to next section: Adding Additional Redirect URIs)
-
dnsnameis fully qualified domain name (fqdn) -
portdefault is5001is (can be changed during the Insight setup) -
basepathdefault isinsight(can be changed during the Insight setup) - exclude the port if using
443as the Insight port
If behind a load balancer:
- Ensure the front-end Insight url is added (exclude the port if using
443) - After completing the initial app registration, add both the local server urls and load balancer urls to aid with validation/troubleshooting (refer to next section: Adding Additional Redirect URIs)
Adding Additional Redirect URIs
Add additional Redirect URIs for any other urls or ports that will be use to access Riva Insight.
- In the App registration, search for 'Authentication'
- Select 'Authentication' (or 'Authentication (Preview)')
- Select 'Single-page application'
- Add the additional Redirect URIs
- Click on 'Configure' when done adding all the additional Redirect URIs
Refer to the note under Basic Information for URI formating
- A confirmation dialog will be displayed after adding the redirect URIs
Optional - Adding URIs for validation and troubleshooting direct from browser
In order to sign into Riva Insight directly from a browser (outside of Outlook), additional redirect URIs are required. They are not required for normal operation of Riva Insight from a browser, however is useful for validation and troubleshooting of authentication related issues.
Add additional Redirect URIs for any other urls or ports that will be use to access Riva Insight.
- In the App registration, search for 'Authentication'
- Select 'Authentication' (or 'Authentication (Preview)')
- This time, select 'Web' instead of 'Single-page application'
- Add the Redirect URI in format
https://{insightFQDN}:{port}/{basepath}/graphfallback/authorize
For example:https://{insightFQDN}:{port}/insight/graphfallback/authorize- The basepath default is 'insight' and port default is '5100'
- Click on 'Configure' when done adding all the additional Redirect URIs
Refer to the note under Basic Information for URI formating
- A confirmation dialog will be displayed after adding the redirect URI
- Repeat the steps for any additional Redirect URIs
Add Microsoft Graph API Permissions
- In the App registration, search for 'API'
- Select 'API Permissions'
- Select 'Add a Permission'
- On the 'Select an API' page, under the 'Microsoft APIs' tab select 'Microsoft Graph'
- On the 'Microsoft Graph' page, select 'Delegated permissions'
- Under 'Select Permissions', search for and select the following permissions:
- OpenId Permissions
- offline_access
- openid
- profile
- User
- User.Read
- User.ReadBasic.All
- Calendars
- Calendars.ReadWrite.Shared
- Mail
- Mail.ReadWrite.Shared
- OpenId Permissions
- Once done selecting the permissions, click on 'Add permissions'
- The page will display the configured permissions
Provide Admin Consent
- On the same page, click on 'Grant admin consent for ...'
- If you navigated away you can get back to the page by searching for and clicking on 'API Permissions'
- A prompt will appear asking for confirmation to grant admin consent
- Click on 'Yes'
- A status message will be displayed confirming consent has been granted
Access Application (client) ID
- For the App Registration, click on 'Overview'
- Make Note of (Copy) the Application (client) ID as it will be used later in the Riva Insight configuration.