Office 365 activity - Find Files and Folders

I am facing the problem with Office 365 activity “Find Files and Folders”. It is returning the files correctly sometimes and most of the times it is failing and returning 0 files.

Any ideas to fix this issue?