OData


OData


Setup Guide

Follow these steps to connect OData to your CData Connect Cloud account:

  1. Open the Connections page of the CData Connect Cloud dashboard.

  2. Click + Add Connection in the upper-right corner.

  3. Type OData into the search field, then click the data source name.

  4. On the Basic Settings tab of the new connection, enter a connection name or keep the default name.

  5. Select an Auth Scheme and follow the relevant instructions below.

Authentication Methods

None

None is when no authentication is required.

  1. Enter the following information:

    • URL—the root URL of the OData service (for example, http://MySite/*MyOrganization*).
  2. At the top of the CData Connect Cloud Add OData Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

AzureAD

AzureAD is a form of OAuth that goes through Azure.

  1. Enter the following information:

    • Azure Tenant—the Microsoft Online tenant that you use to access data. If you leave this field blank, the account’s default tenant is used.

    • OAuth Client Id—assigned when you registered your OData account for OAuth.

    • OAuth Client Secret—for your OData account for OAuth.

    • URL—the root URL of the OData service (for example, http://MySite/*MyOrganization*).

  2. At the top of the CData Connect Cloud Add OData Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

Basic

Basic is basic user name and password authentication.

  1. Enter the following information:

    • User—the user name for the OData service.

    • Password—the password for the OData service.

    • URL—the root URL of the OData service (for example, http://MySite/*MyOrganization*).

  2. At the top of the CData Connect Cloud Add OData Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

OAuth

  1. Enter the following information:

    • OAuth Client Id—assigned when you registered your OData account for OAuth.

    • OAuthClient Secret—for your OData account for OAuth.

    • OAuth Authorization URL—(optional) the URL where the user logs into the service.

    • OAuth Access Token URL—(optional) the URL where the request for the access token is made.

    • OAuth Refresh Token URL—(optional) the URL where refresh tokens can be exchanged for access tokens when old access tokens expire.

    • URL—the root URL of the OData service (for example, http://MySite/*MyOrganization*).

  2. At the top of the CData Connect Cloud Add OData Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

SharePointOnline

  1. Enter the following information:

    • User—your SharePoint Online user account.

    • Password—your SharePoint password.

    • URL—the root URL of the OData service (for example, http://MySite/*MyOrganization*).

  2. At the top of the CData Connect Cloud Add OData Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

More Information

For more information about interactions between CData Connect Cloud and OData, see this information page.