Per my test, I could reproduce this issue on my end. And when I add sites/{siteID}
in the endpoint, like https://graph.microsoft.com/v1.0/sites/{siteID}/ drives/{drive ID}/root:{folder path}:/children
. The result is different, I could only get content in the 25th subfoler.
Conclusion: Graph has number restriction for slash character(/) in the endpoint. And per my test the max number is about 30. Currently this may be a restriction, you can open a support ticket to resolve this issue.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.