How to copy files from sharepoint into blob storage azure data factory v2 using Odata linked service

邮差的信 提交于 2019-12-13 23:42:25

问题


Can any one help in understanding procedure of copying excel file from share point to azure Blob storage through Azure Data Factory pipelines. I am struggling while creating Odata linked service. What is service url in odata linked service? I am using rest apis provided in link here as a service url :https://xxxxx.sharepoint.com/sites/xxx/_api/web/

authentication type: basic

when I test connection I outputs a weird error: here

I have tried the following articles so far. https://docs.microsoft.com/en-us/azure/data-factory/connector-odata

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest

Note: when I try these rest api urls from browser they work fine I can download files and so on. is there any other way of achieving this goal??


回答1:


Sharepoint online is supported by OData linked service through AAD SPN with Cert authentication type.

A cert using by OData connector can be created and configured by following the below article, which will guide you to connect the cert to an AAD app for invoking SPO Online with an app only access token.

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread



来源:https://stackoverflow.com/questions/54866849/how-to-copy-files-from-sharepoint-into-blob-storage-azure-data-factory-v2-using

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!