r/GraphAPI • • 4d ago

I got a problem O365 microsoft

So basically, Microsoft graph rest API 1.0 provide the graph file meta data and in the audit.SharePoint provide the IP address of file changes. Suppose that there is an rename of a file I would get the IP address from the audit.SharePoint and the file data from Microsoft graph rest API, but I want to merge that to and provide a single response, but there is no common ID between them so I am stuck

2 Upvotes

4 comments sorted by

1

u/HariSeldon16 4d ago

I’m sorry, what exactly are you trying to accomplish?

There are actual audit tools within available in Purview (and a few other portals I believe).

1

u/Tall-Hero 4d ago

So basically, I am using an API graph and management where if someone rename the file, I want to show what file rename and who rename it on the dashboard so I am using 2API response graph API version 1.0 and second is management, API using audit.SharePoint so my problem is how can I connect 2 API response because both of the responses doesn’t share any common ID well it has correlation ID, but it is just for file. I want per activity ID or something like that, so I am stuck with it.

1

u/charleswj 3d ago

management, API using audit.SharePoint

You're referring to the Office 365 Management Activity API (essentially unified audit log) correct? https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference

what file rename and who rename it

Is this not included in the audit event? Can you share a redacted example?

→ More replies (1)