Queries for the PowerPlatformDlpActivity table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Power Platform DLP events filtered by by activity type

Display events from more than one day ago, filtered by CreateDlpPolicy activity type and summarized by user ID, policy name and policy type.

PowerPlatformDlpActivity
| where EventOriginalType == "CreateDlpPolicy"
| extend PolicyType = tostring(AdditionalInfo.policyType)
| summarize count() by EventOriginalType, ActorName, PolicyName, PolicyType