Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

How do you download files from a sharepoint folder hosted by a tenant organisation that you are not a part of?

Open HOZHENWAI opened this issue 4 years ago • 0 comments

I have to download a huge set of files from a sharepoint directory.

The links looks something like this. https://tenant.sharepoint.com/personal//_layouts/15/onedrive.aspx?originalPath=&id=****** .

Now, I don't belong to the organisation. I tried with the credential approach to download the file then I got an error.

I also tried to open private tab in a webbrowser to access the link to check the process. I got welcomed by a login page that I completed with my login and password. Finally, I received a webpage where it was written that my account didn't belong to the organisation.

Any clue on what can I do?

HOZHENWAI avatar May 11 '21 12:05 HOZHENWAI