An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hi,
I think something like this would do the work:
let Events = WVDConnections ;
Events
| where State == "Connected"
| project CorrelationId , UserName, ResourceAlias , StartTime=TimeGenerated
| join (Events
| where State == "Completed"
| project EndTime=TimeGenerated, CorrelationId, UserName)
on CorrelationId, UserName
| project Duration = EndTime - StartTime, ResourceAlias, UserName
| sort by Duration asc
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.