feature_rollout_policies_applies_to
Creates, updates, deletes, gets or lists a feature_rollout_policies_applies_to resource.
Overview
| Name | feature_rollout_policies_applies_to |
| Type | Resource |
| Id | entra_id.policies.feature_rollout_policies_applies_to |
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 | feature_rollout_policy_id | Nullable. Specifies a list of directoryObject resources that feature is enabled for. | |
add_ref | insert | feature_rollout_policy_id | Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. | |
remove_ref | delete | feature_rollout_policy_id, directory_object_id | If-Match | Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. |
remove_ref_2 | delete | feature_rollout_policy_id | If-Match | Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. |
create_applies_to | exec | feature_rollout_policy_id | Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. |
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 |
|---|---|---|
directory_object_id | string | The unique identifier of directoryObject |
feature_rollout_policy_id | string | The unique identifier of featureRolloutPolicy |
If-Match | string | ETag |
SELECT examples
- list
Nullable. Specifies a list of directoryObject resources that feature is enabled for.
SELECT
id,
deletedDateTime
FROM entra_id.policies.feature_rollout_policies_applies_to
WHERE feature_rollout_policy_id = '{{ feature_rollout_policy_id }}' -- required
;
INSERT examples
- add_ref
- Manifest
Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.
INSERT INTO entra_id.policies.feature_rollout_policies_applies_to (
directoryObjectId,
feature_rollout_policy_id
)
SELECT
'{{ directoryObjectId }}',
'{{ feature_rollout_policy_id }}'
;
# Description fields are for documentation purposes
- name: feature_rollout_policies_applies_to
props:
- name: feature_rollout_policy_id
value: "{{ feature_rollout_policy_id }}"
description: Required parameter for the feature_rollout_policies_applies_to 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 an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.
DELETE FROM entra_id.policies.feature_rollout_policies_applies_to
WHERE feature_rollout_policy_id = '{{ feature_rollout_policy_id }}' --required
AND directory_object_id = '{{ directory_object_id }}' --required
AND If-Match = '{{ If-Match }}'
;
Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.
DELETE FROM entra_id.policies.feature_rollout_policies_applies_to
AND feature_rollout_policy_id = '{{ feature_rollout_policy_id }}' --required
AND If-Match = '{{ If-Match }}'
;
Lifecycle Methods
- create_applies_to
Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.
EXEC entra_id.policies.feature_rollout_policies_applies_to.create_applies_to
@feature_rollout_policy_id='{{ feature_rollout_policy_id }}' --required
@@json=
'{
"id": "{{ id }}",
"deletedDateTime": "{{ deletedDateTime }}"
}'
;