Skip to main content

extension_properties

Creates, updates, deletes, gets or lists an extension_properties resource.

Overview

Nameextension_properties
TypeResource
Identra_id.applications.extension_properties

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
namestringName of the extension property. Not nullable. Supports $filter (eq).
appDisplayNamestringDisplay name of the application object on which this extension property is defined. Read-only.
dataTypestringSpecifies the data type of the value the extension property can hold. Following values are supported. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximumNot nullable. For multivalued directory extensions, these limits apply per value in the collection.
deletedDateTimestring (date-time)Date and time when this object was deleted. Always null when the object hasn't been deleted. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
isMultiValuedbooleanDefines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of string types such as 'extensionb7b1c57b532f40b8b5ed4b7a7ba67401jobGroupTracker': ['String 1', 'String 2']. The default value is false. Supports $filter (eq).
isSyncedFromOnPremisesbooleanIndicates if this extension property was synced from on-premises active directory using Microsoft Entra Connect. Read-only.
targetObjectsarrayFollowing values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectapplication_id, extension_property_idRead a directory extension definition represented by an extensionProperty object.
listselectapplication_idRetrieve the list of directory extension definitions, represented by extensionProperty objects on an application.
insertinsertapplication_idCreate a new directory extension definition, represented by an extensionProperty object.
updateupdateapplication_id, extension_property_id
deletedeleteapplication_id, extension_property_idIf-MatchDelete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application_idstringThe unique identifier of application
extension_property_idstringThe unique identifier of extensionProperty
If-MatchstringETag

SELECT examples

Read a directory extension definition represented by an extensionProperty object.

SELECT
id,
name,
appDisplayName,
dataType,
deletedDateTime,
isMultiValued,
isSyncedFromOnPremises,
targetObjects
FROM entra_id.applications.extension_properties
WHERE application_id = '{{ application_id }}' -- required
AND extension_property_id = '{{ extension_property_id }}' -- required
;

INSERT examples

Create a new directory extension definition, represented by an extensionProperty object.

INSERT INTO entra_id.applications.extension_properties (
id,
deletedDateTime,
appDisplayName,
dataType,
isMultiValued,
isSyncedFromOnPremises,
name,
targetObjects,
application_id
)
SELECT
'{{ id }}',
'{{ deletedDateTime }}',
'{{ appDisplayName }}',
'{{ dataType }}',
{{ isMultiValued }},
{{ isSyncedFromOnPremises }},
'{{ name }}',
'{{ targetObjects }}',
'{{ application_id }}'
RETURNING
id,
name,
appDisplayName,
dataType,
deletedDateTime,
isMultiValued,
isSyncedFromOnPremises,
targetObjects
;

UPDATE examples

No description available.

UPDATE entra_id.applications.extension_properties
SET
id = '{{ id }}',
deletedDateTime = '{{ deletedDateTime }}',
appDisplayName = '{{ appDisplayName }}',
dataType = '{{ dataType }}',
isMultiValued = {{ isMultiValued }},
isSyncedFromOnPremises = {{ isSyncedFromOnPremises }},
name = '{{ name }}',
targetObjects = '{{ targetObjects }}'
WHERE
application_id = '{{ application_id }}' --required
AND extension_property_id = '{{ extension_property_id }}' --required
RETURNING
id,
name,
appDisplayName,
dataType,
deletedDateTime,
isMultiValued,
isSyncedFromOnPremises,
targetObjects;

DELETE examples

Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD).

DELETE FROM entra_id.applications.extension_properties
WHERE application_id = '{{ application_id }}' --required
AND extension_property_id = '{{ extension_property_id }}' --required
AND If-Match = '{{ If-Match }}'
;