| title | expirationPattern resource type |
|---|---|
| description | The expiration pattern in a request schedule can be included in an access package assignment request and is present in an access package assignment. |
| ms.localizationpriority | medium |
| author | markwahl-msft |
| ms.subservice | entra-id-governance |
| doc_type | resourcePageType |
| ms.date | 07/23/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
In Microsoft Entra entitlement management, a user creates an access package assignment request to obtain an access package assignment. This request can include a schedule for when the user would like to have an assignment. An access package assignment that results from such a request also has a schedule. The expiration field of a requestSchedule indicates when the access package assignment should expire.
| Property | Type | Description |
|---|---|---|
| endDateTime | DateTimeOffset | Timestamp of 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. |
| duration | Duration | The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime shouldn't be present and the type property should be set to afterDuration. |
| type | expirationPatternType | The requestor's desired expiration pattern type. |
| Member | Value | Description |
|---|---|---|
| notSpecified | 0 | No expiration schedule was specified. |
| noExpiration | 1 | The requestor didn't wish the access to expire. |
| afterDateTime | 2 | Access expires after a specified date and time. |
| afterDuration | 3 | Access expires after a specified duration relative to access being granted. Required when the duration property is specified. |
None.
The following JSON representation shows the resource type.
{
"endDateTime": "2020-09-10T23:06:53.307Z",
"type": "afterDateTime"
}