signInLocation resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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. This is calculated 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

The following JSON representation shows the resource type.

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