question

Thomas-1003 avatar image
0 Votes"
Thomas-1003 asked

Microsoft Graph API to get users who are accessing office365.

I want to get the user list who are accessing the Office 365 Workwook by Microsoft Graph API.

microsoft-graph-users
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

michev avatar image
0 Votes"
michev answered Thomas-1003 commented

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

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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?

0 Votes 0 ·

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

0 Votes 0 ·

Thx a lot.

0 Votes 0 ·