Skip to main content

settings

Creates, updates, deletes, gets or lists a settings resource.

Overview

Namesettings
TypeResource
Identra_id.groups.settings

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
displayNamestringDisplay name of this group of settings, which comes from the associated template.
templateIdstringUnique identifier for the tenant-level groupSettingTemplates object that's been customized for this group-level settings object. Read-only.
valuesarrayCollection of name-value pairs corresponding to the name and defaultValue properties in the referenced groupSettingTemplates object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectgroup_id, group_setting_idRetrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting.
listselectgroup_idRetrieve a list of tenant-level or group-specific group settings objects.
insertinsertgroup_idCreate a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings.
updateupdategroup_id, group_setting_idUpdate the properties of a groupSetting object for tenant-wide group settings or a specific group setting.
deletedeletegroup_id, group_setting_idIf-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.

NameDatatypeDescription
group_idstringThe unique identifier of group
group_setting_idstringThe unique identifier of groupSetting
If-MatchstringETag

SELECT examples

Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting.

SELECT
id,
displayName,
templateId,
values
FROM entra_id.groups.settings
WHERE group_id = '{{ group_id }}' -- required
AND group_setting_id = '{{ group_setting_id }}' -- required
;

INSERT examples

Create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings.

INSERT INTO entra_id.groups.settings (
id,
displayName,
templateId,
values,
group_id
)
SELECT
'{{ id }}',
'{{ displayName }}',
'{{ templateId }}',
'{{ values }}',
'{{ group_id }}'
RETURNING
id,
displayName,
templateId,
values
;

UPDATE examples

Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting.

UPDATE entra_id.groups.settings
SET
id = '{{ id }}',
displayName = '{{ displayName }}',
templateId = '{{ templateId }}',
values = '{{ values }}'
WHERE
group_id = '{{ group_id }}' --required
AND group_setting_id = '{{ group_setting_id }}' --required
RETURNING
id,
displayName,
templateId,
values;

DELETE examples

No description available.

DELETE FROM entra_id.groups.settings
WHERE group_id = '{{ group_id }}' --required
AND group_setting_id = '{{ group_setting_id }}' --required
AND If-Match = '{{ If-Match }}'
;