synchronization_templates_schema
Creates, updates, deletes, gets or lists a synchronization_templates_schema resource.
Overview
| Name | synchronization_templates_schema |
| Type | Resource |
| Id | entra_id.service_principals.synchronization_templates_schema |
Fields
The following fields are returned by SELECT queries:
- get
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
directories | array | Contains the collection of directories and all of their objects. |
synchronizationRules | array | A collection of synchronization rules configured for the synchronizationJob or synchronizationTemplate. |
version | string | The version of the schema, updated automatically with every schema change. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_principal_id, synchronization_template_id | Default synchronization schema for the jobs based on this template. | |
update | update | service_principal_id, synchronization_template_id | ||
delete | delete | service_principal_id, synchronization_template_id | If-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.
| Name | Datatype | Description |
|---|---|---|
service_principal_id | string | The unique identifier of servicePrincipal |
synchronization_template_id | string | The unique identifier of synchronizationTemplate |
If-Match | string | ETag |
SELECT examples
- get
Default synchronization schema for the jobs based on this template.
SELECT
id,
directories,
synchronizationRules,
version
FROM entra_id.service_principals.synchronization_templates_schema
WHERE service_principal_id = '{{ service_principal_id }}' -- required
AND synchronization_template_id = '{{ synchronization_template_id }}' -- required
;
UPDATE examples
- update
No description available.
UPDATE entra_id.service_principals.synchronization_templates_schema
SET
id = '{{ id }}',
synchronizationRules = '{{ synchronizationRules }}',
version = '{{ version }}',
directories = '{{ directories }}'
WHERE
service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_template_id = '{{ synchronization_template_id }}' --required
RETURNING
id,
directories,
synchronizationRules,
version;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.service_principals.synchronization_templates_schema
WHERE service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_template_id = '{{ synchronization_template_id }}' --required
AND If-Match = '{{ If-Match }}'
;