Specifies the organizational unit (OU) and the administrator for an Active Directory (AD) workspace.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ConfigADConnectorUser

The operation that you want to perform. Set the value to ConfigADConnectorUser.

DomainPassword String Yes testPassword

The password of the AD user that has the permissions to join computers to domains.

DomainUserName String Yes Administrator

The username of the AD user that has the permissions to join computers to domains.

After the username is configured, the cloud desktops in the same AD workspace are joined to the specified OU.

OfficeSiteId String Yes cn-hangzhou+dir-778418****

The ID of the AD workspace.

OUName String Yes example.com/Domain Controllers

The name of the OU in the AD domain. You can call the ListUserAdOrganizationUnits to obtain the OU name.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String BB4B415B-A9CA-5A13-8E52-D6D3C24BE140

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=ConfigADConnectorUser
&DomainPassword=testPassword
&DomainUserName=Administrator
&OfficeSiteId=cn-hangzhou+dir-778418****
&OUName=example.com/Domain Controllers
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ConfigADConnectorUserResponse>
      <RequestId>BB4B415B-A9CA-5A13-8E52-D6D3C24BE140</RequestId>
</ConfigADConnectorUserResponse>

JSON format

{
    "RequestId": "BB4B415B-A9CA-5A13-8E52-D6D3C24BE140"
}