Top 10 users with the most ips used to succesfully sign in
Description
Collect the top 10 user with the most IP used to succefully sign in to a tenant. This query displays the 10 users that have used the most IP addresses so sign in.
False positives can be a VPN that changes IP addresses, which results in a high number of IPs used to sign in.
Query · kql
AADSignInEventsBeta | summarize IPsUsed = make_set(IPAddress), locations = make_set(Country) by AccountObjectId | extend CountIP = array_length(IPsUsed) | project-reorder CountIP | top 10 by CountIP