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.

I am still getting this issue with Microsoft O365 Scope → Find Files And Folder activity.
I need to authenticate using type “ApplicationIdAndSecret”.
The activity “Find Files And Folder” give below error:

Find Files And Folders: Code: AccessDenied
Message: Either scp or roles claim need to be present in the token.

I have checked with our security team, all the required accesses had been given and I am putting username and password as well.

Can anyone please help?

Hi @ameys have You figured it out?

I also encountered the same issue. How you solved the issue? If you have any idea about this issue, please provide me. Thanks