OData Service to Sharepoint - Cannot acquire a managed connection from the run-time connection manager.

Vasantha Vasantha 16 Reputation points
2021-02-01T19:15:29.677+00:00

Hello,

I am trying to get the sharepoint list using oData Source service using Basic Authentication. The connection test okay and i can preview the data.

Connection String

https://XXXXXXXXXXXXXXXX/_vti_bin/listdata.svc/

But when i run the package, it will error with following error message

Information: 0x4004300A at LoadData, SSIS.Pipeline: Validation phase is beginning.
Error: 0xC020801F at LoadData, OData Source [23]: Cannot acquire a managed connection from the run-time connection manager.
Error: 0xC0047017 at LoadData, SSIS.Pipeline: OData Source failed validation and returned error code 0xC020801F.
Error: 0xC004700C at LoadData, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at LoadData: There were errors during task validation.

Any help is greatly appreciated!

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,450 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Rastogi, Aditya [ICG-IT] 1 Reputation point
    2021-04-09T17:16:24.843+00:00

    Hi @Vasantha Vasantha , Did you manger the solve the issue. I am facing the same issue. OData Connection was working in past and now suddenly it stopped working. I am getting same error as yours. Manual connection check works fine but when i try to run the package i get error.

    Thanks,
    Aditya


  2. ragavanrajan 1 Reputation point MVP
    2021-05-11T22:22:09.457+00:00

    95697-sharepoint-odata-ssis-issue-v1.jpgHello Folks,

    We were facing the same issue as @RiaanJ mentioned. I have created many new tenants but every single SharePoint site has ODATA issue. After serious research, I figured out this issue is either due to "Azure Security default settings" or "Conditional Access policy" has been created.

    Solution:

    Pre: Make sure you have proper Azure Active Directory access, if not contact your Azure Administrator or IT helpdesk.

    1. Log in to https://portal.azure.com/#home
    2. Select "Azure Active Directory"
    3. Click Properties > Manage Security Defaults
    4. Turn off the Enable Security Defaults > and Choose "Other" and add some appropriate comments or choose any other relevant option
    5. Press save and wait for few minutes to sync.

    Alternatively, if someone has created Conditional access policy to prevent SharePoint OData access. This error can occur.

    Now your SSIS can fetch data and it will also solve if you have any connection error.

    Hope it helps


  3. rdkn 41 Reputation points
    2021-05-12T05:20:22.283+00:00

    Ah, I just see the above solution indeed worked for you. I will keep this article bookmarked for sure :)

    0 comments No comments