Read and write files to sharepoint

Santhi Dhanuskodi 325 Reputation points
2023-12-04T06:03:31.4633333+00:00

Hi,

I want to read and write files from/to sharepoint server. As of my knowledge we cannt use ADF to write back to sharepoint server, but we can read from sharepoint.

How we can achieve both reading and writing using azure cloud services? Please suggest best possible solutions for this.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,929 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,527 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Nandan Hegde 36,151 Reputation points MVP Volunteer Moderator
    2023-12-04T06:14:51.3266667+00:00

    Hey,

    You are right, ADF supports only reading from sharepoint via web activity and doesnt support write back as REST end point is not supported as sink.

    In case if you need low code technology, then Azure logic is the best fit which supports reading and writing back into sharepoint.

    Others Azure offerings like Azure functions, Azure databricks, Azure automation and Azure batch support custom code and based on custom logics , you can read and write from sharepoint based on the code you write


  2. MikeUrnun 9,777 Reputation points Moderator
    2023-12-07T23:38:11.86+00:00

    Hello @Santhi Dhanuskodi - I wanted to weigh in on this thread with @Nandan Hegde and address your follow-up question:

    Yes, it should be possible to accomplish this through Python code.

    Similar/related post: https://learn.microsoft.com/en-us/answers/questions/78034/how-to-connect-python-program-to-sharepoint-rest-a

    I hope these resources help you get started. If you run into issues, feel free to make new posts here on MS Q&A and we'd be happy to assist.


    Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.