Is there a way to pull the last 2 sign-ins for every user, then filter by users with multiple states? I had some help with this code, but am stuck on trying to dial this down.
SigninLogs
| project State = tostring(LocationDetails.state), UserDisplayName
| summarize States = make_set(State) by UserDisplayName, LocationDetails_countryOrRegion
| where array_length(States) > 1