Upload file/data to Sharepoint/OneDrive

Hi all

I was wondering, if it was somehow possible to upload a file (Excel) to Sharepoint/OneDrive after the execution of my main script?

I know it’s possible to do with Python (Automate your work with the Microsoft Graph API and Python | Keath Milligan), but it requires different packages and not sure if these can be loaded in Dynamo. I would also like to avoid other people having to download packages, when they use the script.

Is it possible to include the packages and is there a way of getting around the authentication?

Hope someone can help or point me in the right direction.

Thanks alot in advance