on-internet
← Community

Python to SharePoint SPO, upload files, what is authentication flow

Stack Overflow ·

I'd like to create a script to upload files (or single file to start) to SPO from //network drive, and just realized that MS made big changes for Auth. What are some packages/approach to do this? Is this using MSAL library? I thought that I know enough for API, but dealing with SPO looks special. I was able to get my token, but can't go further target folder on SPO: https://cbx28.sharepoint.com/sites/MySite/SitePages/CollabHome.aspxShared Documents/Reports I did my homework in Azure with app registration, but probably missed something? import os import msal from office365.sharepoint.client_con

Comments

Sign in or sign up to comment and upvote.

No comments yet.