You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GetFolderByServerRelativeUrlAsync will not play well with the async foreach constructor.
In a subfolder that has > 100 files, the iteration will be limited to 100 only.
Steps to reproduce
var result = await context.Web.GetFolderByServerRelativeUrlAsync(folderPath);
c = 0;
await foreach(var folder in result.Folders)
{
c++;
}
//c will be 100, even in a larger set, even though everything should be loaded.
How can I retrieve all items?
Category
Describe the bug
GetFolderByServerRelativeUrlAsync will not play well with the async foreach constructor.
In a subfolder that has > 100 files, the iteration will be limited to 100 only.
Steps to reproduce
//c will be 100, even in a larger set, even though everything should be loaded.
How can I retrieve all items?
Environment details (development & target environment)
I am using PnP.Core 1.14.97-nightly
The text was updated successfully, but these errors were encountered: