Hi @SolderMetal-4533
Restriction:
We are unable to block or limit access to specific folders, the limitation can be specified to domains, IP address, users and .etc. For more, you may refer to: Limit sharing in Microsoft 365.
Reports:
According to "Report on file and folder sharing in a SharePoint site", it says "additional reporting options are available with Microsoft Graph Data Connect."
Since the development issue is out of our support scope on Q&A, I suggest you post a new thread on OneDrive developer community: https://techcommunity.microsoft.com/t5/onedrive-developer/bd-p/OneDriveDeveloper
The references link: https://www.c-sharpcorner.com/article/get-all-onedrive-users-activity-details-using-microsoft-graph-api/
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.