Forum Discussion
Bhavi2803
Sep 29, 2023Copper Contributor
Accessing file from sharepoint using python
Hi SharePoint community, I am new to SharePoint, I need your help to read SharePoint file like excel or csv through python script from my local machine. I have used below libraries from offic...
Oct 02, 2023
First off, Python isn't really supported for this, it's better you use powershell or C#.
With that being said, your problem is authentication which means you need to make sure you've registered an app in Azure, gave it the right permission and used a token to authenticate:
You can start here:
https://learn.microsoft.com/en-us/graph/auth/auth-concepts?view=graph-rest-1.0
https://github.com/O365/python-o365#authentication
With that being said, your problem is authentication which means you need to make sure you've registered an app in Azure, gave it the right permission and used a token to authenticate:
You can start here:
https://learn.microsoft.com/en-us/graph/auth/auth-concepts?view=graph-rest-1.0
https://github.com/O365/python-o365#authentication