4.2.2 Response - Case Error

The following example shows an Autodiscover command response (section 2.2.1.1) sent from the server to the client when an error occurred. In this example, the error is that the directory service could not be reached.

 <?xml version="1.0" encoding="utf-8"?>
 <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
     <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006">
         <Culture>en:us</Culture>
         <User>
            <EMailAddress>chris@woodgrovebank.com</EMailAddress>
        </User>
        <Action>
            <Error>
                <Status>2</Status>
                <Message>The directory service could not be reached</Message>
                <DebugData>MailUser</DebugData>
            </Error>
        </Action>
     </Response>
 </Autodiscover>