'upload & download files from OneDrive with Python, do I need an Azure account?

I have some files in my personal OneDrive account. I want to access some of these files with Python, make some updates & then upload back to OneDrive.

I have seen a few examples on here & some other sites, which seem to make sense. My question though is in order to download files & upload files to OneDrive programmatically whether I need a Azure account? My understanding is that I need this for the authentication part. I would happily create an Azure account however I see you have to pay. There is a free 12 month option but for what I would like to do, 12 months is not long enough.



Solution 1:[1]

My question though is in order to download files & upload files to OneDrive programmatically whether I need a Azure account?

Azure account is not mandatory when you need to access and read/write files from OneDrive.

With python-onedrive module, you can access personal OneDrive account.

To install, run: pip install python-onedrive

Refer this OneDrive SDK for Python GitHub repository to implement the same.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 UtkarshPal-MT