Jun 12 2019
12:46 AM
- last edited on
Feb 01 2023
01:20 PM
by
TechCommunityAP
Jun 12 2019
12:46 AM
- last edited on
Feb 01 2023
01:20 PM
by
TechCommunityAP
Hello,
We want to fetch details of externally shared files from each user's onedrive in Office 365, to know which files are shared externally and to which users. Is there any API available to fetch these details?
Thanks,
Anna Jhaveri
Jun 12 2019 01:58 AM - edited Jun 12 2019 02:14 AM
You can easily see how people in your business are using One Drive. Activity Reports in the Microsoft 365 admin center helps you to get a report of activites and usage.
Please refer to below link for instruction.
Please also refer to step by step instruction explained here : https://www.c-sharpcorner.com/article/get-all-onedrive-users-activity-details-using-microsoft-graph-...
API URL : https://graph.microsoft.com/v1.0/reports/getOneDriveActivityUserDetail(period='D7')
Thank you
Dav,
Jun 12 2019 03:45 AM
Thanks @Deleted for the response.
I reviewed the API https://graph.microsoft.com/v1.0/reports/getOneDriveActivityUserDetail(period='D7') but it gives details of Shared Externally File Count, i would like to get more detailed report, i.e. which files are externally shared with which users. I want to generate a detailed report specifically for files shared externally.
Thanks,
Anna Jhaveri
Jun 12 2019 03:55 AM
I think to some extent you will be able to view the detailed activity of the users. It is all to do with privacy and data protection rules (GDPR).
Thank you
Dav,