Dan's WebDAV 101

This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.

Browse by Tags

Tagged Content List
  • Blog Post: Showing custom properties or custom forms on an a device which uses EAS.

    I was recently asked by a customer if there was a way to get custom properties to be displayed in a message on EAS Devices. The short answer is no. First, a bit about ActiveSync... Exchange Server ActiveSync (EAS) is a low-level binary protocol which is heavily licensed. All commercialized development...
  • Blog Post: "Enhancing Exchange" via unsupported methods.

    Every so often we run into cases where customers try to augment the behavior of Exchange or otherwise integrate with it using some unsupported methodology. When this is done Exchange may become unstable and behave in unexpected ways. It’s extremely important to stick to what is supported. If you...
  • Blog Post: How to get OOF text from Exchange 2003 using WebDAV

    You may be able to get OOF text with WebDAV using a SEARCH. However, its not supported in any way and there is no guarentee that it will always work. The OOF text is stored inside of a hidden item in a mailbox. Below is a sample of the request which is for educational purposes only. Please note that...
  • Blog Post: OWA Single-sign-on support

    OWA 2010 and prior is considered non-extensible as far as Microsoft is concerned in the area of doing single-sign-on programmatically. The exception to this would be when a person is in-network and uses their existing network credentials to access OWA through Windows Authentication. Please understand...
  • Blog Post: OWA Web Part in an iFrame sample

    I have not seen any examples of using OWA parts in an iFrame. However, I wrote such a sample recently and wanted to share it. The full OWA UI in an iFrame is not supported and its expected that doing so may fail at any given point and at different points depending upon the service pack and hotfix...
  • Blog Post: How do I force OWA to only render the web page in Engish?

    There is no supported way to do this. OWA uses the IE language settings to decide which language to display. Remember that OWA is a web application and goes off of browser settings just like most every other web site out there. During the intial log-in to OWA you can set the language to use in OWA. You...
  • Blog Post: WebDAV FBA Authentication Sample Explained.

    Here is some basic information on how FBA authentication is done with WebDAV. To provide some insight into how this works, you should look at the sample code of KB891748 and review it with the explanation below. Note that if you are going against Exchange 2007, you should reconsider using FBA authentication...
  • Blog Post: WebDAV and OWA Authentication Settings

    With any login issue, it’s important to know which authentication protocols are valid. You have to code to an authentication protocol which can be used. The authentication settings for OWA and WebDAV are tied together under Exchange 2000 and 2003. Because of this, developers run into issues with...
  • Blog Post: WebDAV: XML DOM vs managed classes.

    I've seen a lot of issues with using the MSXML DOM when trying to get credentials from the owaauth.dll for FBA authentication. The managed classes seem to work all the time and in all versions. However, the MSXML DOM wont always reuturn cookies and sometimes just plain fails in the calls. Each version...
  • Blog Post: Why can't WebDAV read BCC?

    Using WebDAV to read BCC information on messages (even in the Drafts folder) will not work. The “urn:schemas:mailheader:bcc” will not return the BCC information using WebDAV - this is expected behavior. If you do a GET against the message to get the MIME, then you will also not get the BCC - this also...
  • Blog Post: Howto: Get Free/Busy Information with WebDAV/HTTP

    CDO 1.21, CDOEX, etc can get Free/Busy information, however WebDAV cannot directly. You may use a GET against OWA to get this information. A GET against an OWA URL is really not a WebDAV call… it’s really just plain HTTP GET call – you just need to be sure that the URL is correctly formatted. Most OWA...
  • Blog Post: Reading and changing OWA Settings

    In OWA 2003, there were OWA settings mirrored in properties on the root folder of mailboxes which WebDAV could get to. There was limited support for accessing a few of these properties with WebDAV. The online docs still state that these properties are there, however this is not really true for OWA 2007...
  • Blog Post: How to use WebDAV to access mailboxes across Exchange servers?

    If there is a front-end server setup, you can access by opening a connection using HTTP or HTTPS and to WebDAV they would seem seamless - i.e. one server. This is what I have seen used almost all of the time. Using Microsoft Exchange 2000 Front-End Servers http://www.microsoft.com/downloads...
  • Blog Post: Howto Delete Attachments with WebDAV

    The DELETE verb only works on Exchange 2003 SP1 - it will not work on any earlier version/service pack. CDOEX, CDO 1.21, Extended MAPI, etc can do this on Exchange 2000 or 2003. One possible work-around is to read the message stream using a WebDAV GET, modify the stream to remove the attachment...
  • Blog Post: How WebDAV - Use Basic Authentication with WebDAV even when FBA is enabled.

    Some customers (developers) wish to use Basic Authentication when Forms Based Authentication (FBA) is enabled for Outlook Web Access (OWA). If OWA's FBA is enabled, all WebDAV access needs to be FBA authenticated - which means significant changes need to be done to the code - not to mention the testing...
  • Blog Post: How to access or change OWA settings for Exchange 2007/2003/2000?

    There is no supported way of changing OWA settings using WebDAV for Exchange 2007. Under Exchange 2000 and 2003, there were properties on the mailbox root which could be changed via code. However OWA 2007 is a much different animal. Under Exchange 2000 and 2003, there are properties which you could...
  • Blog Post: Setting timezone options with CDO 1.21.

    CDO 1.21 Timezone information is stored in a a property inside of the user's mailbox and is CDO 1.21 specific. It is set any time a CDO 1.21 session sets the time zone and persists for that user until changed. This means it will be used by any subsequent CDO 1.21 session. OWA 5.5 will affect the timezone...
  • Blog Post: Using ISAPI Extensions to change-out OWA Credential is not supported

    Single sign-on applications usually use an ISAPI Extension on Exchange servers in order to swap-out credentials being passed to OWA. This type of manipulation is not supported by Microsoft. In fact any thing which augments the behavior in this way is not supported. While such filters/extensions may have...
Page 1 of 1 (18 items)