Forum Discussion

jw9jwang's avatar
Dec 10, 2021
Solved

SharePoint list as OData Source forbidden error

I want to connect to SharePoint list as OData source in SSIS, But it always occurs an error and the error message as the following:   =================================== Test connection failed ==...
  • jw9jwang's avatar
    jw9jwang
    Feb 17, 2022

    hi AmosK1855 

     

    I am not sure have you encountered the same situation as me; 

    I have solved by connect to  our tenant M365 admin  to enable legacyauthprotocol; Refer to the following picture which provide by Microsoft Engineer:

    If unfortunately your M365 admin not cooperate well, You also call have a try with Graph API to write code to achieve this goal, which also need app registrations in AAD

    FYI : https://docs.microsoft.com/en-us/graph/api/list-get?view=graph-rest-1.0&tabs=http

     

    Hope it's can help u;

Resources