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.

No Supported Way to Deploy Outlook VBA Projects

Distributing the VBA macro by replacing the VbaProject.OTM file on target Workstation is not...

Author: Webdav101 Date: 03/05/2019

Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send. while using PowerShell

If you have gotten the "Invoke-RestMethod : The underlying connection was closed: An unexpected...

Author: Webdav101 Date: 02/28/2019

The problem with modifying the iterating object in a “foreach”

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

OOM.NET - Outlook Crashes When Using Outlook Object Model in Multiple Threads

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

OOM.NET - Like a good standup comic – use scope and have good timing…

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

OOM.NET Part 4 – Don’t Thread On Me

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

Part 3 – Back to the Basics, MSDN Must Reads

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

OOM.NET Part 2 – Outlook Item Leaks

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

OOM.NET Part 1 – Introduction and Why Events Stop Firing…

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM)...

Author: Webdav101 Date: 02/15/2019

Breaking change to on-premises EWS Push Notifications

There is a change being introduced to on-premises Exchange servers 2010, 2013, 2016 and 2019 through...

Author: Webdav101 Date: 02/14/2019

Stand up and be heard!!!

You can voice your suggestions and ideas for Office development to Microsoft through the Office...

Author: Webdav101 Date: 10/30/2018

Articles on using REST with PowerShell

I was recently asked for information on using REST with PowerShell. I've assembled some links on...

Author: Webdav101 Date: 10/02/2018

About: Using REST with PowerShell

PowerShell can be used with REST to work with the content of mailboxes and perform the many of the...

Author: Webdav101 Date: 09/20/2018

Backup of Individual mailbox items

There are a lot of well -written and well-behaved item level backup applications. If you are writing...

Author: Webdav101 Date: 09/05/2018

EWS calls for dealing with people

One area of development has to do with finding and dealing with information about people. EWS...

Author: Webdav101 Date: 08/29/2018

EWS Subscription Error: One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request.

So, you got this error: One or more subscriptions in the request reside on another Client Access...

Author: Webdav101 Date: 08/27/2018

About: Using EWS and PowerShell

Exchange PowerShell cmdlets are used for Administrative work on a server and with mailboxes....

Author: Webdav101 Date: 06/19/2018

How-to: Basic check for Exchange Web Services connectivity using code

When a program is about to start talking to Exchange there is the chance of some sort of...

Author: Webdav101 Date: 06/16/2018

Best Practices: Important and critical headers for EWS

It's important to set several headers in your code help assure calls will work and to provide...

Author: Webdav101 Date: 06/16/2018

How-to: Accessing other mailbox calendars with Graph

Accessing calendars with Graph requires some configuration in permissions before the Graph call will...

Author: Webdav101 Date: 06/15/2018

You are doing too much at one time: EWSMaxConcurrency – “too many concurrent connections opened”

At any given time, you can have up to a specific amount of connections involving an Exchange mailbox...

Author: Webdav101 Date: 06/02/2018

APIs for sending meeting invitations

Microsoft APIs which send meeting invitations start their work at the mailbox calendar of the...

Author: Webdav101 Date: 05/30/2018

EWSEditor 1.20 released.

EWSEditor 1.20 – 10/31/2017 – 5/9/2018:  This release has new features and some fixes.  Updated...

Author: Webdav101 Date: 05/10/2018

EwsEditor 1.19 Released - 3/16/2017 – 10/30/2017

I had missed putting out release notes for 1.19, so here they are: Fixed issues with properties...

Author: Webdav101 Date: 05/10/2018

About: EWS/REST/Graph and MSG files

EWS, REST and Graph can save and load MSG file attachments to items such as email. However, they...

Author: Webdav101 Date: 05/01/2018

Dealing with control/junk characters in the message body using code

Emails, meeting invitations and NDR messages sometimes may have control characters. Those characters...

Author: Webdav101 Date: 03/28/2018

Can you create a mailbox with REST, Graph, EWS, OOM or MAPI?

I get asked questions like this about once a month or so. From Exchange 2007 to 2016, which is the...

Author: Webdav101 Date: 03/22/2018

Getting a 401 with EWS? Read this before opening a support case!

If your getting a 401 with an API going against Exchange or basically anything then the issue is...

Author: Webdav101 Date: 03/21/2018

How to take a ProcDump

ProcDump is a command line debugger tool which will dump the in-memory contents of the process of an...

Author: Webdav101 Date: 03/20/2018

EWS ServerBusyException - The server is too busy - for you

So… you got an ServerBusyException, eh? You might have seen it thrown as this in your code:...

Author: Webdav101 Date: 03/20/2018

Where to get EWSEditor

A while back EWSEditor check-ins were moved to GitHub. Below are the links for download: Here is the...

Author: Webdav101 Date: 03/12/2018

Updating Visual Studio generated proxy classes for EWS development.

Something I would like to highlight are issues with generated proxy classes for EWS development. We...

Author: Webdav101 Date: 12/15/2017

About: Exchange service XSD and WSDL

Some developers use tools which work against XSD and WSDL.  Below is some information on the...

Author: Webdav101 Date: 12/15/2017

About: Exchange Reporting Services

Exchange Reporting Services provides programmatic access to admin reports with Exchange in O365. The...

Author: Webdav101 Date: 12/14/2017

About: Office 365 Management Activity API

The Office 365 Management Activity API pull information on Exchange and non-Exchange activity across...

Author: Webdav101 Date: 12/14/2017

CBA and Kerberos authentication and developer support with EWS

There is a key article which points out what is supported for authenticating with EWS. I have put in...

Author: Webdav101 Date: 11/16/2017

Sample: C# code to have EWS Managed API code go through Fiddler on the same machine.

Having calls done with the EWS Managed API go through Fiddler is very easy. Below is an example....

Author: Webdav101 Date: 09/29/2017

Want to set Retention tags with EWS?

I put together some information to help with writing code to set retention tags on a folder.  The...

Author: Webdav101 Date: 09/16/2017

When a certain time zone does not work with the EWS Managed API…

When using EWS with some time zones you might run into issues with getting to work.  As an example,...

Author: Webdav101 Date: 09/16/2017

EWSEditor 1.18 Released

This new release has a lot of new features which have been needed and requested countless times....

Author: Webdav101 Date: 03/15/2017

EWSEditor 1.17 Released

1.17 - 6/30/2016 – 10/20/2016 Added setting of Post Address Index to the Contacts window....

Author: Webdav101 Date: 10/20/2016

Access Denied - Checking Registry and File Access permissions

Permission issues related to accessing files, folders and the registry can cause applications to...

Author: Webdav101 Date: 09/27/2016

Subscriptions with EWS and EAS don’t get notifications when read status is changed.

This is known behavior. If another activity happens which triggers a notification, then you would...

Author: Webdav101 Date: 09/19/2016

About: VSTO for Outlook

API Type:  UI Customization API Interface: .NET Business Logic: Adds features to the Outlook UI and...

Author: Webdav101 Date: 08/08/2016

OOM.NET – The problem with modifying the iterating object in a “foreach”

Ahhh "foreach". Usage of foreach can be either a blessing or a curse. Unfortunately, a lot of...

Author: Webdav101 Date: 07/27/2016

Building messaging applications with “Any CPU”

When building pure .NET applications doing builds using Any CPU usually go pretty smoothly. Even...

Author: Webdav101 Date: 07/26/2016

Sample – Detecting installed Outlook and its bitness

Here is a sample which detects the installed Outlook versions and their bitness.  using System;...

Author: Webdav101 Date: 07/26/2016

EWSEditor 1.16 Released

I've done a lot of clean-up in EWSEditor and added a few needed features for this release. I would...

Author: Webdav101 Date: 06/29/2016

HowTo: Set a reference to CDOSYS

You could set a reference directly to the CDOSYS file. However, there this is a more elegant way...

Author: Webdav101 Date: 06/28/2016

EWS and Inline Attachments

I keep seeing a lot of questions on inline attachments being accessed by EWS being asked on our...

Author: Webdav101 Date: 06/21/2016

Next>