title: How to call Exchange Web Services GetUserAvailabilityRequest when current timezone does not observe daylight savings time?
body: <p>I am attempting to call <a href="http://msdn.microsoft.com/en-us/library/exchange/aa564001%28v=exchg.140%29.aspx" rel="noreferrer"><code>GetUserAvailabilityRequest</code></a> from South Africa Standard Time which does not observe daylight savings time, however, the TimeZone element requires StandardTime and DaylightTime sub-elements which require details about the cutover to or from DST.  Omitting these elements results in an error, as does submitting arbitrary data.  Does anyone know the proper way to make this call?</p>
  
  <p>More detail based on comments from @jan-doggen.  In this example, user is based in South Africa Standard Time</p>
  
  <p>request (with arbitrary ST and DST change date of January 1)</p>
  
  <pre><code>&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
  &lt;soap:Body&gt;
      &lt;GetUserAvailabilityRequest xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
          &lt;t:TimeZone xmlns="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
              &lt;Bias&gt;-120&lt;/Bias&gt;
              &lt;StandardTime&gt;
                  &lt;Bias&gt;0&lt;/Bias&gt;
                  &lt;Time&gt;00:00:00&lt;/Time&gt;
                  &lt;DayOrder&gt;1&lt;/DayOrder&gt;
                  &lt;Month&gt;1&lt;/Month&gt;
                  &lt;DayOfWeek&gt;Wednesday&lt;/DayOfWeek&gt;
              &lt;/StandardTime&gt;
              &lt;DaylightTime&gt;
                  &lt;Bias&gt;0&lt;/Bias&gt;
                  &lt;Time&gt;00:00:00&lt;/Time&gt;
                  &lt;DayOrder&gt;1&lt;/DayOrder&gt;
                  &lt;Month&gt;1&lt;/Month&gt;
                  &lt;DayOfWeek&gt;Wednesday&lt;/DayOfWeek&gt;
              &lt;/DaylightTime&gt;
          &lt;/t:TimeZone&gt;
          &lt;MailboxDataArray&gt;
              &lt;t:MailboxData&gt;
                  &lt;t:Email&gt;
                      &lt;t:Address&gt;test1@domain.com&lt;/t:Address&gt;
                  &lt;/t:Email&gt;
                  &lt;t:AttendeeType&gt;Organizer&lt;/t:AttendeeType&gt;
                  &lt;t:ExcludeConflicts&gt;false&lt;/t:ExcludeConflicts&gt;
              &lt;/t:MailboxData&gt;
              &lt;t:MailboxData&gt;
                  &lt;t:Email&gt;
                      &lt;t:Address&gt;test2@domain.com&lt;/t:Address&gt;
                  &lt;/t:Email&gt;
                  &lt;t:AttendeeType&gt;Required&lt;/t:AttendeeType&gt;
                  &lt;t:ExcludeConflicts&gt;false&lt;/t:ExcludeConflicts&gt;
              &lt;/t:MailboxData&gt;
          &lt;/MailboxDataArray&gt;
          &lt;t:FreeBusyViewOptions&gt;
              &lt;t:TimeWindow&gt;
                  &lt;t:StartTime&gt;2013-05-13T00:55:11&lt;/t:StartTime&gt;
                  &lt;t:EndTime&gt;2013-05-27T00:55:11&lt;/t:EndTime&gt;
              &lt;/t:TimeWindow&gt;
              &lt;t:MergedFreeBusyIntervalInMinutes&gt;15&lt;/t:MergedFreeBusyIntervalInMinutes&gt;
              &lt;t:RequestedView&gt;FreeBusyMerged&lt;/t:RequestedView&gt;
          &lt;/t:FreeBusyViewOptions&gt;
      &lt;/GetUserAvailabilityRequest&gt;
  &lt;/soap:Body&gt;
  </code></pre>
  
  <p></p>
  
  <p>Response:</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;s:Body&gt;
      &lt;s:Fault&gt;
          &lt;faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types"&gt;a:-2146233088&lt;/faultcode&gt;
          &lt;faultstring xml:lang="en-US"&gt;The specified time zone isn't valid.&lt;/faultstring&gt;
          &lt;detail&gt;
              &lt;m:ErrorCode xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"&gt;-2146233088&lt;/m:ErrorCode&gt;
          &lt;/detail&gt;
      &lt;/s:Fault&gt;
  &lt;/s:Body&gt;
  </code></pre>
  
  <p></p>