Hello @Peter Snydert ,
I Understand you need help to create KQL query to find out when and who created a new user.
Here is the KQL query which can help you to achieve your ask.
AuditLogs
| where OperationName == "Add user"
| project TimeGenerated, InitiatedBy = tostring(InitiatedBy.user.userPrincipalName),
CreatedUser = tostring(TargetResources[0].userPrincipalName),
CreatedUserDisplayName = tostring(TargetResources[0].displayName),
ActivityDisplayName
| sort by TimeGenerated desc
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.