Download File from SharePoint - Error Message: You can only call view.sharedWithMe on a drive you own. Inner error

Im Using Microsoft Office 365 Scope Activity and flow instruction https://docs.uipath.com/integrations/docs/office365-download-file

I created a SharePoint view Shared With and add [Me] filter, but still getting Errors below in Find Files And Folders Activity

Find Files And Folders: Code: accessDenied
Message: You can only call view.sharedWithMe on a drive you own.
Inner error

All AppID and TenantID and Direct/Reply URL are set!

I cannot find anyone here has discussed this error/problem

Help Please :wink:

Thanks,

Okay - I found the answer - I need to leave the Query Blank :wink:

Hey Arash,
what is the application ID and the tenant Id that has to be provided while working with sharepoint ?

thanks @AshleyP - It fixed now :slight_smile:

Hey Arash,
I wanted to know how u did it bcoz I m not able to send the request to Sharepoint using the Find Files and Folders activity (Microsoft Office 365 package)

You need to register an App in Azure and get that IDs - did you get those?

No I didnt
I gave the sharepoint ID

You need to Register App in Azure Portal … same ID with API call

I was able to create a folder and upload a file for one time but after that it didnt work