Microsoft Graph API / C# (.NET) Version of Office 365 Audit Log (compliance center)?

Ward Horsfall 101 Reputation points


Search the audit log in the compliance center


I would like to be able to use an API to do the "Run an audit log search" via Microsoft Graph or a C# Api.



Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,576 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JanardhanaVedham-MSFT 3,536 Reputation points

    Hi @Ward Horsfall ,

    Currently Microsoft Graph supports the below Azure AD activity logs or audit logs APIs and you can only be able to apply filter OData parameter with these APIs.

    GET tenant user activities :
    GET tenant user sign-ins :
    GET provisioning logs :

    In addtion to this, presently the below Microsoft Graph compliance and privacy APIs are available. The Microsoft Graph compliance and privacy APIs can be used to build applications that:

    1. Create and manage subject rights requests
    2. Automate common tasks in eDiscovery (currently this is only available in Beta API)

    You can also refer below documentation on Microsoft Graph compliance and privacy APIs for more information :

    V1.0 API :
    Beta API :

    Note: APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments