How to fetch CRM Dynamic Application Audit Logs from MS Purview through Azure Databricks?

Kalyani Bhumireddy 20 Reputation points
2025-01-12T09:56:08.6733333+00:00

Hi,

We are looking to fetch AuditLogs of Dynamics CRM from MS Purview through Azure Databricks. I know we can fetch through 'Microsoft Graph Rest API beta version' but in the page linked below it said it is not supported for Production environment.

https://learn.microsoft.com/en-us/graph/api/resources/security-auditlogquery?view=graph-rest-beta

I checked for the feature in Microsoft Graph API v1.0 and seems like its not available.
Please suggest me alternatives to fetch the CRM Application AuditLogs from MS Purview.
Also let me know if more details needed to understand and propose any approach.

Thanks
Kalyani

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,869 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,311 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,355 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 112.1K Reputation points MVP
    2025-01-12T16:05:05.36+00:00

    Your best option is the Management activities API: https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference

    If for some reason you need a PowerShell-based solution, use the Exchange Online module and the Search-UnifiedAuditLog cmdlet search instead of the Graph one: https://learn.microsoft.com/en-us/powershell/module/exchange/search-unifiedauditlog?view=exchange-ps

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.