The driver supports OAuth 2.0 to access SharePoint resources. Before you can configure the driver for OAuth 2.0, you must register your application as an Azure Active Directory application and obtain the client information required for the OAuth flow or grant type you want to use for authentication.

The driver supports the following OAuth 2.0 flow and grant types for accessing web instances of SharePoint services.

The following workflow describes the process for setting up OAuth 2.0 access.
  1. Register your application on the Azure portal: If it is not already registered, you need to register your application as an Azure Active Directory application to implement an OAuth 2.0 flow or grant and run the application against a SharePoint web instance.
  2. Obtain application client information and endpoints: To configure the driver for an OAuth 2.0 implementation, you need client credentials and endpoints related to your registered application.
  3. Obtain access and refresh tokens using the Configuration Manager: When using the access token flow or refresh token grant, you can obtain the access or refresh tokens using the Progress DataDirect Microsoft SharePoint Configuration Manager.
  4. Determine the scope: Scope refers to the permissions associated with an application. See this topic to know how to determine the scope for your application and specify it using the Scope connection option.
  5. Configure the driver to use OAuth 2.0: You can configure the driver to access SharePoint resources using any of the flow or grant types described in this topic.