Query Details
let VPNRanges = externaldata (IpRange:string) [@'https://raw.githubusercontent.com/X4BNet/lists_vpn/main/output/vpn/ipv4.txt'] with (format=txt); SigninLogs | where isnotempty(IPAddress) | evaluate ipv4_lookup(VPNRanges, IPAddress, IpRange) | project TimeGenerated, UserPrincipalName, IPAddress, UserAgent
This query looks at a list of VPN IP ranges and matches them with IP addresses in SigninLogs data. It then shows the time, user, IP address, and user agent for each match.

@jbaz_t
Released: June 7, 2024
Tables
Keywords
Operators