Hi @Anonymous ,
To get the users which a file or folder is shared with based on the audit logs report, you can follow these steps:
- Search the audit log for sharing events and export the results to a CSV file.
- Use the PowerQuery Editor in Excel to format the exported audit log.
- Filter the CSV file for resources shared with external users.
After filtering the CSV file for resources shared with external users, you can see the external user's email address in the "User" column. This email address can be used to identify the user who the file or folder is shared with.
For more details, please refer to:
https://learn.microsoft.com/en-us/purview/ediscovery-export-search-results?view=o365-worldwide
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.