app_consent_app_consent_requests
Creates, updates, deletes, gets or lists an app_consent_app_consent_requests resource.
Overview
| Name | app_consent_app_consent_requests |
| Type | Resource |
| Id | entra_id.identity_governance.app_consent_app_consent_requests |
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. |
appDisplayName | string | The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. |
appId | string | The identifier of the application. Required. Supports $filter (eq only) and $orderby. |
pendingScopes | array | A list of pending scopes waiting for approval. Required. |
userConsentRequests | array | A list of pending user consent requests. Supports $filter (eq). |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
appDisplayName | string | The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. |
appId | string | The identifier of the application. Required. Supports $filter (eq only) and $orderby. |
pendingScopes | array | A list of pending scopes waiting for approval. Required. |
userConsentRequests | array | A list of pending user consent requests. Supports $filter (eq). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | app_consent_request_id | Read the properties and relationships of an appConsentRequest object. | |
list | select | Retrieve appConsentRequest objects and their properties. | ||
insert | insert | |||
update | update | app_consent_request_id | ||
delete | delete | app_consent_request_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 |
|---|---|---|
app_consent_request_id | string | The unique identifier of appConsentRequest |
If-Match | string | ETag |
SELECT examples
- get
- list
Read the properties and relationships of an appConsentRequest object.
SELECT
id,
appDisplayName,
appId,
pendingScopes,
userConsentRequests
FROM entra_id.identity_governance.app_consent_app_consent_requests
WHERE app_consent_request_id = '{{ app_consent_request_id }}' -- required
;
Retrieve appConsentRequest objects and their properties.
SELECT
id,
appDisplayName,
appId,
pendingScopes,
userConsentRequests
FROM entra_id.identity_governance.app_consent_app_consent_requests
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.identity_governance.app_consent_app_consent_requests (
id,
appDisplayName,
appId,
pendingScopes,
userConsentRequests
)
SELECT
'{{ id }}',
'{{ appDisplayName }}',
'{{ appId }}',
'{{ pendingScopes }}',
'{{ userConsentRequests }}'
RETURNING
id,
appDisplayName,
appId,
pendingScopes,
userConsentRequests
;
# Description fields are for documentation purposes
- name: app_consent_app_consent_requests
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: appDisplayName
value: "{{ appDisplayName }}"
description: |
The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.
- name: appId
value: "{{ appId }}"
description: |
The identifier of the application. Required. Supports $filter (eq only) and $orderby.
- name: pendingScopes
description: |
A list of pending scopes waiting for approval. Required.
value:
- displayName: "{{ displayName }}"
- name: userConsentRequests
description: |
A list of pending user consent requests. Supports $filter (eq).
value:
- id: "{{ id }}"
approvalId: "{{ approvalId }}"
completedDateTime: "{{ completedDateTime }}"
createdBy: "{{ createdBy }}"
createdDateTime: "{{ createdDateTime }}"
customData: "{{ customData }}"
status: "{{ status }}"
reason: "{{ reason }}"
approval: "{{ approval }}"
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.app_consent_app_consent_requests
SET
id = '{{ id }}',
appDisplayName = '{{ appDisplayName }}',
appId = '{{ appId }}',
pendingScopes = '{{ pendingScopes }}',
userConsentRequests = '{{ userConsentRequests }}'
WHERE
app_consent_request_id = '{{ app_consent_request_id }}' --required
RETURNING
id,
appDisplayName,
appId,
pendingScopes,
userConsentRequests;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.app_consent_app_consent_requests
WHERE app_consent_request_id = '{{ app_consent_request_id }}' --required
AND If-Match = '{{ If-Match }}'
;