@Mark Summers Thank you for reaching out to us, As I understand you are looking for KQL to achieve this - when an Entra ID user account has been enabled and after that, the password has been reset on that account Worked with my colleague, here is the KQL query which can help you to achieve your ask
let EnableEvents = AuditLogs
| where OperationName == "Enable account"
| mv-expand TargetResources
| extend a = tostring(TargetResources.userPrincipalName)
| project TimeGenerated, a;
let ResetEvents = AuditLogs
| where OperationName in ("Change user password", "Change password (self-service)")
| extend b = tostring(InitiatedBy.user.userPrincipalName )
| project TimeGenerated, b;
EnableEvents
| where TimeGenerated > ago(7d)
| join kind=inner ResetEvents on $left.a == $right.b
| extend EnableTime = todatetime(TimeGenerated) , ResetTime = todatetime(TimeGenerated1)
| where TimeGenerated < TimeGenerated1
| project EnableTime, ResetTime,a
I have tested the same in my tenant and is working as expected. Let me know if you have any further questions feel free to post back. Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.