Hi,
We need to check what's being shared with who for all One drive for business users.
Is there any script or report to get these information?
Thanks.
Hi,
We need to check what's being shared with who for all One drive for business users.
Is there any script or report to get these information?
Thanks.
Hi @KavinduAsangaDayananda-1079 ,
You can use sharing auditing in Microsoft 365 to get all information about which user shared what resource with whom and when.
Sign in using your work or school account.
In the left pane of the Microsoft 365 compliance center, click Audit.
Under Activities, check Shared file, folder or site under Sharing and access request activities to search for sharing events.

Select a date and time range to find the sharing events that occurred within that period.
Click Search to run the search and you will get the sharing audit report in the upcoming page.
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.
@KavinduAsangaDayananda-1079 ,
Is there any update on this thread? I'm looking forward to your reply.
@KavinduAsangaDayananda-1079 ,
Please feel free to let me know if you still need any help.
Here's a script I wrote a while back: https://practical365.com/reporting-on-onedrive-for-business-shared-files/
7 people are following this question.