OneDrive Drive and DriveItem #891
Luca (LuchiLucs)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm new to the msgraph-sdk-python library. After logging in with a corporate user to provision OneDrive, I am able to see a page of my corporate that I believe is OneDrive for Business but the url and the page seems like a sharepoint library. The url format is:
corporatename-my.sharepoint.com/my under "My Files" tab.
I tried creating a folder named "test".
Now I wish to use the SDK, for instance, to do the following tasks:
to see the folder, create a new folder, list files, upload/download a file, and convert a .docx into a .pdf
My attempt so far is something like this:
and I am able to properly see two Drives object, one is named "OneDrive", the other is named "PersonalCacheLibrary".
I selected the id of the "OneDrive" Drive, and now I am trying to list or create a new folder without success.
My tries:
The problem is that when I get the drive by its id, the returned object have the root, items, and other attributes set to None, and I am not able to chain the desired methods.
I don't know what to try
All reactions