The remote server returned an error: (400) Bad Request error in SSIS OData source connector with SharePoint Online

This SharePoint tutorial, we will see how to resolve an error The remote server returned an error: (400) Bad Request error in SSIS data source connector with SharePoint online.

The error look like below:

The remote server returned an error: (400) Bad Request error in ssis odata source connector

The remote server returned an error: (400) Bad Request

Once you install the OData Source, you open up SQL Server Data Tools, open an SSIS project, and add or edit a data flow task. In the SSIS Toolbox, You should see the OData Source.

Drag the tool on to the design surface, and double-click to configure it. You’ll first need to configure an OData Connection Manager, and you’ll do that by clicking the new button.

The remote server returned an error: (400) Bad Request

Give the connection a name. The connection will be common to all lists and libraries within a site, so something based on the name of the site is likely appropriate.

ssis odata source connector with sharepoint online

If you are using Office 365, and you click Test Connection at this point, you’ll receive an error “Test connection failed –> the remote server returned an error: (400) Bad Request.”

using the ssis odata source connector with sharepoint online

This is due to Office 365’s “unique” authentication mechanism. In order to authenticate to Office 365, you must first select the “All” button in the toolbar and set the value of “Microsoft Online Services Authentication” to true.

ssis using odata source connector with sharepoint

Once you have change option for Microsoft online services Authentication False to True.

Then try to connect again, Click on test connection and see the result.

ssis odata source connector with sharepoint online

You may like following SharePoint tutorials:

This tutorial, we learned how to solve error Test connection failed –> the remote server returned an error: (400) Bad Request error which comes in SSIS OData source connector with sharepoint online.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>