I want to get the user list who are accessing the Office 365 Workwook by Microsoft Graph API.
I want to get the user list who are accessing the Office 365 Workwook by Microsoft Graph API.
You have to be a bit more specific here. If you are looking for the Office 365 usage reports, refer to this article: https://docs.microsoft.com/en-us/graph/reportroot-concept-overview
Dear michev,
Thanks for your reply.
II shared a workbook to my complany's users on Office 365 webpage and they will edit different cells of this workbook. Can I use the Graph api to get who are accessing this workbook at a specific time?
Yes, to an extent, via the unified audit log: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide
Keep in mind that the data is not realtime and it will not capture each individual edit.
Here's how to programmatically access the logs: https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference?view=o365-worldwide
2 people are following this question.