Query Details
//Identifies who added new Datasources to the client configuration for the Log Analytics workspace AzureActivity | where OperationNameValue has "DATASOURCES/WRITE" | where ResourceProviderValue has "MICROSOFT.OPERATIONALINSIGHTS" | project TimeGenerated, Caller, CallerIpAddress
This query identifies the users who added new datasources to the client configuration for the Log Analytics workspace. It filters the Azure activity logs for operations related to writing datasources and the resource provider being Microsoft Operational Insights. The resulting table includes the time the activity occurred, the user who performed the action, and their IP address.

Rod Trent
Released: January 15, 2021
Tables
Keywords
Operators