Skip to main content

remote_desktop_security_configuration_target_device_groups

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

Overview

Nameremote_desktop_security_configuration_target_device_groups
TypeResource
Identra_id.service_principals.remote_desktop_security_configuration_target_device_groups

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
displayNamestringDisplay name for the target device group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_principal_id, target_device_group_idRead the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal.
listselectservice_principal_idGet a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO.
insertinsertservice_principal_idCreate a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguration object on the servicePrincipal.
updateupdateservice_principal_id, target_device_group_idUpdate the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal.
deletedeleteservice_principal_id, target_device_group_idIf-MatchDelete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts.

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
service_principal_idstringThe unique identifier of servicePrincipal
target_device_group_idstringThe unique identifier of targetDeviceGroup
If-MatchstringETag

SELECT examples

Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal.

SELECT
id,
displayName
FROM entra_id.service_principals.remote_desktop_security_configuration_target_device_groups
WHERE service_principal_id = '{{ service_principal_id }}' -- required
AND target_device_group_id = '{{ target_device_group_id }}' -- required
;

INSERT examples

Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguration object on the servicePrincipal.

INSERT INTO entra_id.service_principals.remote_desktop_security_configuration_target_device_groups (
id,
displayName,
service_principal_id
)
SELECT
'{{ id }}',
'{{ displayName }}',
'{{ service_principal_id }}'
RETURNING
id,
displayName
;

UPDATE examples

Update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal.

UPDATE entra_id.service_principals.remote_desktop_security_configuration_target_device_groups
SET
id = '{{ id }}',
displayName = '{{ displayName }}'
WHERE
service_principal_id = '{{ service_principal_id }}' --required
AND target_device_group_id = '{{ target_device_group_id }}' --required
RETURNING
id,
displayName;

DELETE examples

Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts.

DELETE FROM entra_id.service_principals.remote_desktop_security_configuration_target_device_groups
WHERE service_principal_id = '{{ service_principal_id }}' --required
AND target_device_group_id = '{{ target_device_group_id }}' --required
AND If-Match = '{{ If-Match }}'
;