list_ad_containers
Lists Active Directory OUs in a domain for pool provisioning, returning RDN values to set in customization settings to control where new computers are placed.
Instructions
List AD containers (OUs) available in a domain for pool provisioning.
The rdn (relative distinguished name) from these results is used as ad_container_rdn in create_desktop_pool's customization_settings (or create_rdsh_farm's automated_farm_settings.customization_settings) to control which OU newly provisioned computers are placed in — NOT provisioning_settings. This is the OU picker equivalent of what the Horizon Console shows during pool creation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_id": "<domain_id>"
},
"name": "list_ad_containers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | AD domain ID — obtain from list_ad_domains |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |