For client secret-based OAuth connections to Office 365 (Riva 2.4.45 or higher) and client secret-based Dynamics CRM OAuth connections (Riva 2.4.50 or higher), the following procedures are the last preparations to make in Microsoft Azure.
Obtain the Home Page URL
Applies to:
- Client secret-based OAuth connections to Office 365.
- Client secret-based Dynamics CRM OAuth connections.
To obtain the Home Page URL:
-
In the Microsoft Azure Portal for your organization, navigate to Azure Active Directory.
-
In the left menu, under Manage, select App Registrations.
-
On the App Registrations page that appears, in the right pane, select the application that is used for the connection.
-
On the application pane, look up the Redirect URls, and select the link to its right.
-
In the Redirect URIs right pane that appears, copy the Redirect URI.
The Redirect URI displayed on the screenshot is only an example.
It will be used as the Reply URL in the connection.
Generate a Key to Use as the Client Secret in the Connection
Applies to:
- Client secret-based OAuth connections to Office 365.
- Client secret-based Dynamics CRM OAuth connections.
To obtain the Client's Secret:
-
In the Microsoft Azure Portal for your organization, navigate to App Registrations.
-
On the App Registrations page that appears, select the application that is used for the connection.
-
On the left menu, under Manage, select Certificates & Secrets.
-
On the Certificates & Secrets page that appears, under Client Secrets, select New Client Secret.
-
In the Add a client secret right pane that appears, enter a Description. Under Expires, select in 1 year. At the bottom, select Add.
Result: The client's secret is created. It is displayed on the Certificates & secrets page, under Client Secrets, in the Value column.
WARNING: This is the only time the key will ever be displayed in its entirety. Save it in a secure location. (Afterwards, most of the characters are displayed as asterisks (*).)The key will be used as the Client Secret in the connection.