signInLocation resource type

Namespace: microsoft.graph

Provides the city, state and country/region from where the sign-in happened.

Properties

Property Type Description
city String Provides the city where the sign-in originated and is determined using latitude/longitude information from the sign-in activity.
countryOrRegion String Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.
geoCoordinates geoCoordinates Provides the latitude, longitude and altitude where the sign-in originated.
state String Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.

JSON representation

Here's a JSON representation of the resource.

{
  "city": "String",
  "countryOrRegion": "String",
  "geoCoordinates": {"@odata.type": "microsoft.graph.geoCoordinates"},
  "state": "String"
}