question

JonathanSHrang-1557 avatar image
0 Votes"
JonathanSHrang-1557 asked JonathanSHrang-1557 commented

How to retrieve or search Compliance audit log using Graph API?.

I'm using Graph Explore right now for testing queries before I actually start creating/coding application, and I'm just wondering if there is away that I can search Compliance Audit log and have the ability to change start date, end date, activities, and user..etc?.

azure-ad-audit-logsmicrosoft-graph-notificationsmicrosoft-graph-educationmicrosoft-graph-compliance
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

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered JonathanSHrang-1557 commented

You should be able to view these if Graph API supports the fetching the data and queries.

If you are looking for the audit logs under https://compliance.microsoft.com/auditlogsearch?viewid=Test%20Tab, AFAIK, this not yet available through Graph. You can create a feature request on Microsoft 365 Developer Platform

If this is not the audit logs you are looking to access through Graph, please point the location so that we can check if Graph supports it and get back to you.

· 1
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.

@Danstan-MSFT

Yes, that is the right Audit logs that I want to fetch the data through Graph API. I would be very appreciated if by any chance can you please confirm for me because my team are currently thinking about using Graph API and we want to make sure that your statement is 100% correct before we procced with our next steps.


I also create a new feature request here and it'll be great if you or one of the Microsoft team member can take a look at it,

https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/ability-to-fetching-the-data-and-queries-compliance-audit/idi-p/2915020


Thanks

0 Votes 0 ·