Skip to main content

synchronization_jobs_schema

Creates, updates, deletes, gets or lists a synchronization_jobs_schema resource.

Overview

Namesynchronization_jobs_schema
TypeResource
Identra_id.service_principals.synchronization_jobs_schema

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
directoriesarrayContains the collection of directories and all of their objects.
synchronizationRulesarrayA collection of synchronization rules configured for the synchronizationJob or synchronizationTemplate.
versionstringThe version of the schema, updated automatically with every schema change.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_principal_id, synchronization_job_idRetrieve the schema for a given synchronization job or template.
updateupdateservice_principal_id, synchronization_job_idUpdate the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.
deletedeleteservice_principal_id, synchronization_job_idIf-Match

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
service_principal_idstringThe unique identifier of servicePrincipal
synchronization_job_idstringThe unique identifier of synchronizationJob
If-MatchstringETag

SELECT examples

Retrieve the schema for a given synchronization job or template.

SELECT
id,
directories,
synchronizationRules,
version
FROM entra_id.service_principals.synchronization_jobs_schema
WHERE service_principal_id = '{{ service_principal_id }}' -- required
AND synchronization_job_id = '{{ synchronization_job_id }}' -- required
;

UPDATE examples

Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.

UPDATE entra_id.service_principals.synchronization_jobs_schema
SET
id = '{{ id }}',
synchronizationRules = '{{ synchronizationRules }}',
version = '{{ version }}',
directories = '{{ directories }}'
WHERE
service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_job_id = '{{ synchronization_job_id }}' --required
RETURNING
id,
directories,
synchronizationRules,
version;

DELETE examples

No description available.

DELETE FROM entra_id.service_principals.synchronization_jobs_schema
WHERE service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_job_id = '{{ synchronization_job_id }}' --required
AND If-Match = '{{ If-Match }}'
;