MS O365 Scope - Find Files And Folders issue

I am getting an issue with Microsoft Office 365 Scope → Find Files And Folders Activity.
I am using Authentication type “UsernameAndPassword” for scope and its going inside as well, but the activity under this scope i.e. “Find Files And Folders” is giving error while executing.
Below is error message:
Find Files And Folders: Code: generalException
Message: An error occurred sending the request.

Can anyone please help me with this urgent issue?

Hi, I had the same issue and I changed the authentication type to Interactive token and it worked. But still gave the username and password. It might take you to login page for the first run, but worked fine later.