
As of my last knowledge update in January 2022, directly detecting ongoing upload sessions in SharePoint using the Microsoft Graph API can be challenging. The observed behavior of a file's size changing after upload completion might provide an indirect signal, but distinguishing between an ongoing upload and an empty file is not straightforward. Consider exploring alternative strategies such as monitoring file changes or implementing delays before moving folders to address potential issues with ongoing uploads. Always stay updated with the latest Microsoft Graph API documentation for any new features or improvements.