Skip to main content

access_reviews_history_definitions

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

Overview

Nameaccess_reviews_history_definitions
TypeResource
Identra_id.identity_governance.access_reviews_history_definitions

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
createdByobject (x-ms-discriminator-value: #microsoft.graph.userIdentity, title: identity)
createdDateTimestring (date-time)Timestamp when the access review definition was created. (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])$)
decisionsarrayDetermines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. The possible values are: approve, deny, dontKnow, notReviewed, and notNotified.
displayNamestringName for the access review history data collection. Required.
instancesarrayIf the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance.
reviewHistoryPeriodEndDateTimestring (date-time)A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. (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])$)
reviewHistoryPeriodStartDateTimestring (date-time)A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. (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])$)
scheduleSettingsThe settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet.
scopesarrayUsed to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.
statusRepresents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccess_review_history_definition_idRetrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned.
listselectRetrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties.
insertinsertCreate a new accessReviewHistoryDefinition object.
updateupdateaccess_review_history_definition_id
deletedeleteaccess_review_history_definition_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
access_review_history_definition_idstringThe unique identifier of accessReviewHistoryDefinition
If-MatchstringETag

SELECT examples

Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned.

SELECT
id,
createdBy,
createdDateTime,
decisions,
displayName,
instances,
reviewHistoryPeriodEndDateTime,
reviewHistoryPeriodStartDateTime,
scheduleSettings,
scopes,
status
FROM entra_id.identity_governance.access_reviews_history_definitions
WHERE access_review_history_definition_id = '{{ access_review_history_definition_id }}' -- required
;

INSERT examples

Create a new accessReviewHistoryDefinition object.

INSERT INTO entra_id.identity_governance.access_reviews_history_definitions (
id,
createdBy,
createdDateTime,
decisions,
displayName,
reviewHistoryPeriodEndDateTime,
reviewHistoryPeriodStartDateTime,
scheduleSettings,
scopes,
status,
instances
)
SELECT
'{{ id }}',
'{{ createdBy }}',
'{{ createdDateTime }}',
'{{ decisions }}',
'{{ displayName }}',
'{{ reviewHistoryPeriodEndDateTime }}',
'{{ reviewHistoryPeriodStartDateTime }}',
'{{ scheduleSettings }}',
'{{ scopes }}',
'{{ status }}',
'{{ instances }}'
RETURNING
id,
createdBy,
createdDateTime,
decisions,
displayName,
instances,
reviewHistoryPeriodEndDateTime,
reviewHistoryPeriodStartDateTime,
scheduleSettings,
scopes,
status
;

UPDATE examples

No description available.

UPDATE entra_id.identity_governance.access_reviews_history_definitions
SET
id = '{{ id }}',
createdBy = '{{ createdBy }}',
createdDateTime = '{{ createdDateTime }}',
decisions = '{{ decisions }}',
displayName = '{{ displayName }}',
reviewHistoryPeriodEndDateTime = '{{ reviewHistoryPeriodEndDateTime }}',
reviewHistoryPeriodStartDateTime = '{{ reviewHistoryPeriodStartDateTime }}',
scheduleSettings = '{{ scheduleSettings }}',
scopes = '{{ scopes }}',
status = '{{ status }}',
instances = '{{ instances }}'
WHERE
access_review_history_definition_id = '{{ access_review_history_definition_id }}' --required
RETURNING
id,
createdBy,
createdDateTime,
decisions,
displayName,
instances,
reviewHistoryPeriodEndDateTime,
reviewHistoryPeriodStartDateTime,
scheduleSettings,
scopes,
status;

DELETE examples

No description available.

DELETE FROM entra_id.identity_governance.access_reviews_history_definitions
WHERE access_review_history_definition_id = '{{ access_review_history_definition_id }}' --required
AND If-Match = '{{ If-Match }}'
;