provisioning
Creates, updates, deletes, gets or lists a provisioning resource.
Overview
| Name | provisioning |
| Type | Resource |
| Id | entra_id.audit_logs.provisioning |
Fields
The following fields are returned by SELECT queries:
- get
- list
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
activityDateTime | string (date-time) | Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. SUpports $filter (eq, gt, lt) and orderby. (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])$) |
changeId | string | Unique ID of this change in this cycle. Supports $filter (eq, contains). |
cycleId | string | Unique ID per job iteration. Supports $filter (eq, contains). |
durationInMilliseconds | number (int32) | Indicates how long this provisioning action took to finish. Measured in milliseconds. |
initiatedBy | | Details of who initiated this provisioning. Supports $filter (eq, contains). |
jobId | string | The unique ID for the whole provisioning job. Supports $filter (eq, contains). |
modifiedProperties | array | Details of each property that was modified in this provisioning action on this object. |
provisioningAction | | Indicates the activity name or the operation name. The possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). |
provisioningStatusInfo | | Details of provisioning status. |
provisioningSteps | array | Details of each step in provisioning. |
servicePrincipal | | Represents the service principal used for provisioning. Supports $filter (eq) for id and name. |
sourceIdentity | | Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. |
sourceSystem | | Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. |
targetIdentity | | Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. |
targetSystem | | Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. |
tenantId | string | Unique Microsoft Entra tenant ID. Supports $filter (eq, contains). |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
activityDateTime | string (date-time) | Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. SUpports $filter (eq, gt, lt) and orderby. (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])$) |
changeId | string | Unique ID of this change in this cycle. Supports $filter (eq, contains). |
cycleId | string | Unique ID per job iteration. Supports $filter (eq, contains). |
durationInMilliseconds | number (int32) | Indicates how long this provisioning action took to finish. Measured in milliseconds. |
initiatedBy | | Details of who initiated this provisioning. Supports $filter (eq, contains). |
jobId | string | The unique ID for the whole provisioning job. Supports $filter (eq, contains). |
modifiedProperties | array | Details of each property that was modified in this provisioning action on this object. |
provisioningAction | | Indicates the activity name or the operation name. The possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains). |
provisioningStatusInfo | | Details of provisioning status. |
provisioningSteps | array | Details of each step in provisioning. |
servicePrincipal | | Represents the service principal used for provisioning. Supports $filter (eq) for id and name. |
sourceIdentity | | Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. |
sourceSystem | | Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. |
targetIdentity | | Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. |
targetSystem | | Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. |
tenantId | string | Unique Microsoft Entra tenant ID. Supports $filter (eq, contains). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | provisioning_object_summary_id | ||
list | select | Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. | ||
insert | insert | |||
update | update | provisioning_object_summary_id | ||
delete | delete | provisioning_object_summary_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 |
|---|---|---|
provisioning_object_summary_id | string | The unique identifier of provisioningObjectSummary |
If-Match | string | ETag |
SELECT examples
- get
- list
Retrieved navigation property
SELECT
id,
activityDateTime,
changeId,
cycleId,
durationInMilliseconds,
initiatedBy,
jobId,
modifiedProperties,
provisioningAction,
provisioningStatusInfo,
provisioningSteps,
servicePrincipal,
sourceIdentity,
sourceSystem,
targetIdentity,
targetSystem,
tenantId
FROM entra_id.audit_logs.provisioning
WHERE provisioning_object_summary_id = '{{ provisioning_object_summary_id }}' -- required
;
Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
SELECT
id,
activityDateTime,
changeId,
cycleId,
durationInMilliseconds,
initiatedBy,
jobId,
modifiedProperties,
provisioningAction,
provisioningStatusInfo,
provisioningSteps,
servicePrincipal,
sourceIdentity,
sourceSystem,
targetIdentity,
targetSystem,
tenantId
FROM entra_id.audit_logs.provisioning
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.audit_logs.provisioning (
id,
activityDateTime,
changeId,
cycleId,
durationInMilliseconds,
initiatedBy,
jobId,
modifiedProperties,
provisioningAction,
provisioningStatusInfo,
provisioningSteps,
servicePrincipal,
sourceIdentity,
sourceSystem,
targetIdentity,
targetSystem,
tenantId
)
SELECT
'{{ id }}',
'{{ activityDateTime }}',
'{{ changeId }}',
'{{ cycleId }}',
{{ durationInMilliseconds }},
'{{ initiatedBy }}',
'{{ jobId }}',
'{{ modifiedProperties }}',
'{{ provisioningAction }}',
'{{ provisioningStatusInfo }}',
'{{ provisioningSteps }}',
'{{ servicePrincipal }}',
'{{ sourceIdentity }}',
'{{ sourceSystem }}',
'{{ targetIdentity }}',
'{{ targetSystem }}',
'{{ tenantId }}'
RETURNING
id,
activityDateTime,
changeId,
cycleId,
durationInMilliseconds,
initiatedBy,
jobId,
modifiedProperties,
provisioningAction,
provisioningStatusInfo,
provisioningSteps,
servicePrincipal,
sourceIdentity,
sourceSystem,
targetIdentity,
targetSystem,
tenantId
;
# Description fields are for documentation purposes
- name: provisioning
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: activityDateTime
value: "{{ activityDateTime }}"
description: |
Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. SUpports $filter (eq, gt, lt) and orderby.
- name: changeId
value: "{{ changeId }}"
description: |
Unique ID of this change in this cycle. Supports $filter (eq, contains).
- name: cycleId
value: "{{ cycleId }}"
description: |
Unique ID per job iteration. Supports $filter (eq, contains).
- name: durationInMilliseconds
value: {{ durationInMilliseconds }}
description: |
Indicates how long this provisioning action took to finish. Measured in milliseconds.
- name: initiatedBy
value: "{{ initiatedBy }}"
description: |
Details of who initiated this provisioning. Supports $filter (eq, contains).
- name: jobId
value: "{{ jobId }}"
description: |
The unique ID for the whole provisioning job. Supports $filter (eq, contains).
- name: modifiedProperties
description: |
Details of each property that was modified in this provisioning action on this object.
value:
- displayName: "{{ displayName }}"
newValue: "{{ newValue }}"
oldValue: "{{ oldValue }}"
- name: provisioningAction
value: "{{ provisioningAction }}"
description: |
Indicates the activity name or the operation name. The possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains).
- name: provisioningStatusInfo
value: "{{ provisioningStatusInfo }}"
description: |
Details of provisioning status.
- name: provisioningSteps
description: |
Details of each step in provisioning.
value:
- description: "{{ description }}"
details:
name: "{{ name }}"
provisioningStepType: "{{ provisioningStepType }}"
status: "{{ status }}"
- name: servicePrincipal
value: "{{ servicePrincipal }}"
description: |
Represents the service principal used for provisioning. Supports $filter (eq) for id and name.
- name: sourceIdentity
value: "{{ sourceIdentity }}"
description: |
Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
- name: sourceSystem
value: "{{ sourceSystem }}"
description: |
Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName.
- name: targetIdentity
value: "{{ targetIdentity }}"
description: |
Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
- name: targetSystem
value: "{{ targetSystem }}"
description: |
Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName.
- name: tenantId
value: "{{ tenantId }}"
description: |
Unique Microsoft Entra tenant ID. Supports $filter (eq, contains).
UPDATE examples
- update
No description available.
UPDATE entra_id.audit_logs.provisioning
SET
id = '{{ id }}',
activityDateTime = '{{ activityDateTime }}',
changeId = '{{ changeId }}',
cycleId = '{{ cycleId }}',
durationInMilliseconds = {{ durationInMilliseconds }},
initiatedBy = '{{ initiatedBy }}',
jobId = '{{ jobId }}',
modifiedProperties = '{{ modifiedProperties }}',
provisioningAction = '{{ provisioningAction }}',
provisioningStatusInfo = '{{ provisioningStatusInfo }}',
provisioningSteps = '{{ provisioningSteps }}',
servicePrincipal = '{{ servicePrincipal }}',
sourceIdentity = '{{ sourceIdentity }}',
sourceSystem = '{{ sourceSystem }}',
targetIdentity = '{{ targetIdentity }}',
targetSystem = '{{ targetSystem }}',
tenantId = '{{ tenantId }}'
WHERE
provisioning_object_summary_id = '{{ provisioning_object_summary_id }}' --required
RETURNING
id,
activityDateTime,
changeId,
cycleId,
durationInMilliseconds,
initiatedBy,
jobId,
modifiedProperties,
provisioningAction,
provisioningStatusInfo,
provisioningSteps,
servicePrincipal,
sourceIdentity,
sourceSystem,
targetIdentity,
targetSystem,
tenantId;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.audit_logs.provisioning
WHERE provisioning_object_summary_id = '{{ provisioning_object_summary_id }}' --required
AND If-Match = '{{ If-Match }}'
;