entitlement_management_connected_organizations_external_sponsors
Creates, updates, deletes, gets or lists an entitlement_management_connected_organizations_external_sponsors resource.
Overview
| Name | entitlement_management_connected_organizations_external_sponsors |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_connected_organizations_external_sponsors |
Fields
The following fields are returned by SELECT queries:
- list
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
deletedDateTime | string (date-time) | Date and time when this object was deleted. Always null when the object hasn't been deleted. (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])$) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | connected_organization_id | ||
add_ref | insert | connected_organization_id | Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. | |
remove_ref | delete | connected_organization_id, directory_object_id | If-Match | Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. |
remove_ref_2 | delete | connected_organization_id | If-Match | Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. |
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 |
|---|---|---|
connected_organization_id | string | The unique identifier of connectedOrganization |
directory_object_id | string | The unique identifier of directoryObject |
If-Match | string | ETag |
SELECT examples
- list
Retrieved collection
SELECT
id,
deletedDateTime
FROM entra_id.identity_governance.entitlement_management_connected_organizations_external_sponsors
WHERE connected_organization_id = '{{ connected_organization_id }}' -- required
;
INSERT examples
- add_ref
- Manifest
Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization.
INSERT INTO entra_id.identity_governance.entitlement_management_connected_organizations_external_sponsors (
directoryObjectId,
connected_organization_id
)
SELECT
'{{ directoryObjectId }}',
'{{ connected_organization_id }}'
;
# Description fields are for documentation purposes
- name: entitlement_management_connected_organizations_external_sponsors
props:
- name: connected_organization_id
value: "{{ connected_organization_id }}"
description: Required parameter for the entitlement_management_connected_organizations_external_sponsors resource.
- name: directoryObjectId
value: "{{ directoryObjectId }}"
description: |
The id of the directory object to reference (a user, group, service principal, device, ...). Sent on the wire as '@odata.id': 'https://graph.microsoft.com/v1.0/directoryObjects/{id}'.
DELETE examples
- remove_ref
- remove_ref_2
Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization.
DELETE FROM entra_id.identity_governance.entitlement_management_connected_organizations_external_sponsors
WHERE connected_organization_id = '{{ connected_organization_id }}' --required
AND directory_object_id = '{{ directory_object_id }}' --required
AND If-Match = '{{ If-Match }}'
;
Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization.
DELETE FROM entra_id.identity_governance.entitlement_management_connected_organizations_external_sponsors
AND connected_organization_id = '{{ connected_organization_id }}' --required
AND If-Match = '{{ If-Match }}'
;