Find Files And Folders: Code: generalException

Hi Team,

I have registered the app in azure portal and used it in other process to upload the file into sharepoint, when i try to use the same code to download the file i am getting Find Files And Folders: Code: generalException error. Any suggestions here. I tried retry scope, try catch but not working. I am currently using Integrated windows authentication and i gave app id, tenant id and the services. i dont see any issue with the 365 scope because i used the same way as in the before process which is working very fine.

Hi @Madhups

The reason of this error might be , In Aunthentication property of Microsoft Office 365 Scope activity, Check if the account having access for both (Files and Shared). Please check below thread for more information

Yeah Pradeep my application have access only to sites so i kept option as shared only. But my doubt is the same code it worked in the different process when i use the sequence here it is failing any idea on that?

@Madhups

Could you please check once whether that the file or folder you’re trying to download actually exists and is accessible with the provided credentials.

Yes pradeep it exists

@Madhups

Please show a screenshot of how you have configured

Verify locals panel exception details to know the detailed exception while running in debug mode

Also to check runtime values …run in debug and open locals pane check current activity values

Cheers

Hi @pradeep931 ,

We did experience this sometime before and when investigated the below solution seemed to work.

The xaml file had to be edited.

Hi all,

Thank you for the help after checking we understood that, 365 activities are supporting windows, cross-platform but mine is windows legacy so i changed the project to windows and checked the same flow in new xaml it is working fine now.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.