When using the ‘For Each File/Folder’ activity inside the Microsoft Office 365 scope, it is unable to read document libraries from the SharePoint site’s root contents when subsites exist. For example, there is a document library under ‘Contents’ named ‘Reports’ and multiple subsites under ‘Subsites’.
When I use https://org.sharepoint.com/teams/site as the SharePoint URL, I receive the following Drive Items: https://org.sharepoint.com/teams/site/subsite1, https://org.sharepoint.com/teams/site/subsite2, https://org.sharepoint.com/teams/site/subsite3, etc. but I do not receive https://org.sharepoint.com/teams/site/Reports