All Products
Search
Document Center

Bastionhost:VerifyInstanceADAuthServer

Last Updated:Apr 22, 2026

Tests the connectivity to the Active Directory (AD) authentication server configured for a Bastionhost instance. Use this operation to validate your AD settings before you save them.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the Bastionhost instance. You can call the DescribeInstances operation to obtain this parameter.

bastionhost-cn-st220aw****

RegionId

string

No

The region ID of the Bastionhost instance. For more information about the mapping between region IDs and region names, see Regions and zones.

cn-hangzhou

Server

string

Yes

The address of the server.

192.168.XX.XX

StandbyServer

string

No

The address of the standby server.

192.168.XX.XX

Port

string

Yes

The port.

389

IsSSL

string

Yes

Specifies whether SSL is supported. Valid values:

  • true: supported

  • false: not supported

true

BaseDN

string

Yes

The Base DN.

dc=test,dc=com

Domain

string

Yes

The domain on the Active Directory server.

domain

Account

string

Yes

The account of the server.

cn=Manager,dc=test,dc=com

Password

string

Yes

The password of the server account.

******

Filter

string

No

The filter condition for users.

(objectClass=top)

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request. This parameter can be used for troubleshooting and problem locating.

8F1085E3-F048-5F34-B650-F145216E4AA5

Examples

Success response

JSON format

{
  "RequestId": "8F1085E3-F048-5F34-B650-F145216E4AA5"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The argument is invalid. The argument is invalid.
500 InternalError An unknown error occurred. An unknown error occurred.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.