Skip to content

Latest commit

 

History

History
73 lines (61 loc) · 3.53 KB

File metadata and controls

73 lines (61 loc) · 3.53 KB

title: "ipNamedLocation resource type" description: "Represents a Microsoft Entra ID named location defined by IP ranges. Named locations are custom rules that define network locations that can then be used in a Conditional Access policy." author: "ashyasingh" ms.date: 08/11/2025 ms.localizationpriority: medium ms.subservice: "entra-sign-in" doc_type: resourcePageType

ipNamedLocation resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Represents a Microsoft Entra ID named location defined by IP ranges. Named locations are custom rules that define network locations that can then be used in a Conditional Access policy.

Inherits from namedLocation.

Methods

Method Return type Description
List ipNamedLocation collection Get all the ipNamedLocation objects in the organization.
Create ipNamedLocation Create a new ipNamedLocation object.
Get ipNamedLocation Read the properties and relationships of an ipNamedLocation object.
Update ipNamedLocation Update an ipNamedLocation object.
Delete None Delete an ipNamedLocation object.
Restore ipNamedLocation Restore a deleted ipNamedLocation 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 is 2014-01-01T00:00:00Z. Read-only. Inherited from namedLocation.
displayName String Human-readable name of the location. Required.
id String Identifier of a namedLocation object. Read-only. Inherited from namedLocation.
ipRanges ipRange collection List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required.
isTrusted Boolean true if this location is explicitly trusted. Optional. Default value is false.
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 is 2014-01-01T00:00:00Z. Read-only. Inherited from namedLocation.
deletedDateTime DateTimeOffset Shows the last date and time the named location was deleted.Inherited from policyDeletableItem.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.ipNamedLocation",
  "deletedDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "displayName": "String",
  "createdDateTime": "String (timestamp)",
  "modifiedDateTime": "String (timestamp)",
  "ipRanges": [
    {
      "@odata.type": "microsoft.graph.iPv6Range"
    }
  ],
  "isTrusted": "Boolean"
}