MSGraph copying large files in OneDrive

Grady Seaward 0 Reputation points
2023-05-31T17:26:51.8566667+00:00

I've written a script that copies over a hundreds of files that can possibly be in excess of 100MB. The program batches the instructions into batches of 20 copy requests. Copying becomes inconsistent in large quantities, if I only do a single batch, it finishes copying all the subfolders in a few minutes, but otherwise some folders will be copied over without any files inside, while others will be complete. Is there a limit to copying files in OneDrive? Do my instructions interfere with each other? I would love to find a work around for this issue.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,492 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
796 questions
0 comments No comments
{count} votes