namedLocation resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

This is the base class that represents an Azure Active Directory named location. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy.

Methods

Method Return Type Description
List namedLocations namedLocation collection Get all the namedLocation objects in the organization.
Get namedLocation namedLocation Read the properties and relationships of a namedLocation object.
Delete namedLocation None Delete a namedLocation object.

Properties

Property Type Description
createdDateTime DateTimeOffset The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
displayName String Human-readable name of the location.
id String Identifier of a namedLocation object. Read-only.
modifiedDateTime DateTimeOffset The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "id": "String (identifier)",
  "modifiedDateTime": "String (timestamp)"
}