Hi Everyone,
I am attempting to upload a file onto SharePoint using the Find Files and Folders activity in the Microsoft Office 365 Package. I left the query field empty in the Find Files and Folders activity which told me that it will use the root folder. I can get back my files in my root folder but my root folder does not exist. I know this because I passed DriveItem.Folder into a message box and I get back "Object Reference not set to an instance of an object ". My root folder is null for some reason and that is preventing me from uploading files. I attempted to pass in my root folder name into the query field and that throws and “Access Denied, the user does not have right permissions” . This is odd because I have all the permissions in SharePoint. I can download files as well so I dont believe that I do not have the permissions because I can return all the files and list them in a message box. Does anyone have a clue on what is going on here? I may be passing in the wrong information to the fields. I have attached a photo below to show you guys what im passing in. Sorry, i can only upload one photo as i am a new user.