Skip to content

How to use NextPageRequest for Microsoft graph client drive items. #20

Open
@Bharani-K

Description

@Bharani-K

In my one drive files and folder, one subfolder are having 450 files are exist, but I am unable to get all the 450 files. only 200 files are returning. I want to get all the files from my subfolder.

sample code:

DriveItem folder;
string expandString = "thumbnails,children($expand=thumbnails)";
folder = objGraphClient.Me.Drive.Items[folderId].Request().Expand(expandString).GetAsync().Result;

it returns the folder.children. a current page only
how to send the next page request and getting all the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions