authentication_operations
Creates, updates, deletes, gets or lists an authentication_operations resource.
Overview
| Name | authentication_operations |
| Type | Resource |
| Id | entra_id.users.authentication_operations |
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. |
createdDateTime | string (date-time) | The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. (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])$) |
lastActionDateTime | string (date-time) | The time of the last action in the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. (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])$) |
resourceLocation | string | URI of the resource that the operation is performed on. |
status | | The status of the operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. |
statusDetail | string | Details about the status of the operation. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
createdDateTime | string (date-time) | The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. (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])$) |
lastActionDateTime | string (date-time) | The time of the last action in the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. (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])$) |
resourceLocation | string | URI of the resource that the operation is performed on. |
status | | The status of the operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. |
statusDetail | string | Details about the status of the operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | user_id, long_running_operation_id | Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. | |
list | select | user_id | Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. | |
insert | insert | user_id | ||
update | update | user_id, long_running_operation_id | ||
delete | delete | user_id, long_running_operation_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 |
|---|---|---|
long_running_operation_id | string | The unique identifier of longRunningOperation |
user_id | string | The unique identifier of user |
If-Match | string | ETag |
SELECT examples
- get
- list
Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states.
SELECT
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail
FROM entra_id.users.authentication_operations
WHERE user_id = '{{ user_id }}' -- required
AND long_running_operation_id = '{{ long_running_operation_id }}' -- required
;
Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states.
SELECT
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail
FROM entra_id.users.authentication_operations
WHERE user_id = '{{ user_id }}' -- required
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.users.authentication_operations (
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail,
user_id
)
SELECT
'{{ id }}',
'{{ createdDateTime }}',
'{{ lastActionDateTime }}',
'{{ resourceLocation }}',
'{{ status }}',
'{{ statusDetail }}',
'{{ user_id }}'
RETURNING
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail
;
# Description fields are for documentation purposes
- name: authentication_operations
props:
- name: user_id
value: "{{ user_id }}"
description: Required parameter for the authentication_operations resource.
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: createdDateTime
value: "{{ createdDateTime }}"
description: |
The start time of the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
- name: lastActionDateTime
value: "{{ lastActionDateTime }}"
description: |
The time of the last action in the operation. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
- name: resourceLocation
value: "{{ resourceLocation }}"
description: |
URI of the resource that the operation is performed on.
- name: status
value: "{{ status }}"
description: |
The status of the operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue.
- name: statusDetail
value: "{{ statusDetail }}"
description: |
Details about the status of the operation.
UPDATE examples
- update
No description available.
UPDATE entra_id.users.authentication_operations
SET
id = '{{ id }}',
createdDateTime = '{{ createdDateTime }}',
lastActionDateTime = '{{ lastActionDateTime }}',
resourceLocation = '{{ resourceLocation }}',
status = '{{ status }}',
statusDetail = '{{ statusDetail }}'
WHERE
user_id = '{{ user_id }}' --required
AND long_running_operation_id = '{{ long_running_operation_id }}' --required
RETURNING
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.users.authentication_operations
WHERE user_id = '{{ user_id }}' --required
AND long_running_operation_id = '{{ long_running_operation_id }}' --required
AND If-Match = '{{ If-Match }}'
;