entitlement_management_resources_scopes_resource_roles_resource_environment
Creates, updates, deletes, gets or lists an entitlement_management_resources_scopes_resource_roles_resource_environment resource.
Overview
| Name | entitlement_management_resources_scopes_resource_roles_resource_environment |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_resources_scopes_resource_roles_resource_environment |
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. |
connectionInfo | | Connection information of an environment used to connect to a resource. |
createdDateTime | string (date-time) | The date and time that this object was created. The DateTimeOffset type 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. (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])$) |
description | string | The description of this object. |
displayName | string | The display name of this object. |
isDefaultEnvironment | boolean | Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications. |
modifiedDateTime | string (date-time) | The date and time that this object was last modified. The DateTimeOffset type 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. (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])$) |
originId | string | The unique identifier of this environment in the origin system. |
originSystem | string | The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq). |
resources | array | Read-only. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | access_package_resource_id, access_package_resource_scope_id, access_package_resource_role_id | Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. |
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 |
|---|---|---|
access_package_resource_id | string | The unique identifier of accessPackageResource |
access_package_resource_role_id | string | The unique identifier of accessPackageResourceRole |
access_package_resource_scope_id | string | The unique identifier of accessPackageResourceScope |
SELECT examples
- get
Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand.
SELECT
id,
connectionInfo,
createdDateTime,
description,
displayName,
isDefaultEnvironment,
modifiedDateTime,
originId,
originSystem,
resources
FROM entra_id.identity_governance.entitlement_management_resources_scopes_resource_roles_resource_environment
WHERE access_package_resource_id = '{{ access_package_resource_id }}' -- required
AND access_package_resource_scope_id = '{{ access_package_resource_scope_id }}' -- required
AND access_package_resource_role_id = '{{ access_package_resource_role_id }}' -- required
;