2.2.3.177.1 Status (Autodiscover)

The Status element is an optional child element of the Error element in Autodiscover command responses that specifies a status code that corresponds to the error.

All elements referenced in this section are defined in the http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006 namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Autodiscover command response (section 2.2.1.1)

Error (section 2.2.3.63)

None

integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

The following table lists the status codes for the Autodiscover command. For status values common to all ActiveSync commands, see section 2.2.2.

Value

Meaning

1

Success. Because the Status element is only returned when the command encounters an error, the success status code is never included in a response message.

2

Protocol error

The client device can implement custom recovery logic pertaining to the status code. If an unknown status code is returned to the client, the client SHOULD have logic in place to handle the error by sending an error message to the user, resending the command with new settings, or custom logic.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes