Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Search
Archives
Archives
April 2013
(1)
December 2012
(2)
August 2012
(3)
July 2012
(2)
May 2012
(2)
January 2012
(1)
December 2011
(2)
September 2011
(1)
August 2011
(1)
July 2011
(5)
June 2011
(5)
May 2011
(1)
April 2011
(3)
February 2011
(1)
November 2010
(2)
May 2010
(1)
March 2010
(7)
February 2010
(1)
January 2010
(2)
December 2009
(3)
September 2009
(3)
May 2009
(1)
April 2009
(1)
February 2009
(1)
January 2009
(1)
December 2008
(1)
November 2008
(4)
October 2008
(6)
August 2008
(6)
Tags
C#
CDOSYS
Deployment
DevMsgTeam
EWS Managed API
Exchange 2003
Exchange 2007
Exchange 2010
Exchange Web Services
HOWTO
Messaging Records Management
Outlook 2007
Outlook 2010
Powershell
PowerShell 2.0
SMTP
System.Net.Mail
Transport Agent
VB Script
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
VSTO
VSTO 3.0
WebDAV
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
Stamping Archive Policy Tag using EWS Managed API from PowerShell(Exchange 2010)
Akashb
In a previous post I had explained how to stamp a Retention Policy Tag using EWS Managed API , In this post I will explain the changes you will need to make to stamp an Archive Policy Tag. What’s the difference between these two? Retention Policies consist of delete tags, i.e. retention tags with either...
on
7 Dec 2012
Blog Post:
Using–Filter, Select-Object, ForEach-Object in C# – Exchange PowerShell Automation
Akashb
Have you ever tried migrating Exchange PowerShell script to be used from C# code? I needed to convert the following script to C# Get-Mailbox - filter {ResourceType -ne "Room" }| Select-object Alias,DistinguishedName,Identity | foreach -object {Get-MailboxFolderStatistics $_.Alias} ...
on
1 Aug 2012
Blog Post:
EWS Managed API is lying to me!
Akashb
I have been working with Exchange Web Services(EWS) for a long time and this is the first time I saw that the EWS was lying to me! The code was executing a FindItem call on a list of folders and all of a sudden it threw the following error: “Error occurred: The request failed. The remote server returned...
on
20 Jul 2012
Blog Post:
Unable to send Bcc using System.Net.Mail when specifying a Pickup Directory(Exchange 2007/Exchange 2010) in code
Akashb
Not sure developers using System.Net.Mail are not complaining about this issue? The issue is very easy to reproduce, all you need to do is create a new mail with someone on Bcc and drop it to the Pickup folder In Exchange. Most likely not to many people use Bcc or use Port instead of Pickup. MailMessage...
on
19 Jul 2012
Blog Post:
After installing KB 2553248, Outlook 2010 starts to crash when we open Meetings in the Calendar
Akashb
Here's a scenario we recently had reported: A customer running Outlook 2010 installs KB 2553248 , and now Outlook crashes when they try to open meetings that were created using Exchange Web Services (EWS). In fact there are a few other scenarios where Outlook crashes: 1) Create a Meeting request using...
on
11 May 2012
Blog Post:
Run-time error ‘-2147352567 (80020009) when trying to do SetColumns on a Items collection in Outlook
Akashb
Problem: SetColumns is failing on non-english versions of windows with the error message below. In fact it was even failing on a English version of windows with English Office 2010 installed. Why would this be happening? When I looked at the system where this code was failing, it looked as if the entire...
on
11 May 2012
Blog Post:
Stamping Retention Policy Tag on Items using EWS Managed API 1.1 from PowerShell(Exchange 2010)–Part 2
Akashb
Yes, this is similar to the script in my previous post but is also different in the following ways: This script searches the entire mailbox and looks for items in folders that contain mail items or in other words where the folders class is IPF.Note This scripts also shows how to use the Not, Exists the...
on
11 Jan 2012
Blog Post:
Stamping Retention Policy Tag on Items using EWS Managed API 1.1 from PowerShell(Exchange 2010)
Akashb
This post deals with a scenario where we need to stamp Retention Policy on specific items. In this case we wanted to stamp a policy on items with a specific message class. In my previous post I had explained about Messaging records management and how to stamp the policy on a folder. Please do read my...
on
30 Nov 2011
Blog Post:
Searching contacts using EWS Managed API 1.1 from PowerShell (Impersonation, SearchFilterCollection, ContainsSubstring)
Akashb
Here is another example of using EWS Managed API with PowerShell 2.0. In this case the requirement was to be able to find out all contacts that have Hotmail email address in any of the Email Address fields. This provided me to opportunity to demonstrate the use SearchFilterCollection and ContainsSubstring...
on
30 Nov 2011
Blog Post:
Unable to set the Folder Property in Outlook View Control–Getting error 8002801d (Library Not Registered)
Akashb
One of my customer ran into this issue with the Outlook View Control. All we were doing was trying to set the Folder property to the Contacts folder so that when the control loads it shows the contacts in that folder by default. In our case it gave the error 8002801d (Library Not Registered) and displayed...
on
2 Sep 2011
Blog Post:
Stamping Retention Policy Tag using EWS Managed API 1.1 from PowerShell(Exchange 2010)
Akashb
Exchange Web Services with PowerShell! In the last few days I have written quite a few scripts that use Exchange Web Services Managed API 1.1 with PowerShell, you will agree that it is not as easy as writing Exchange Web Services Managed API 1.1 with C# and it takes a bit of getting used to it. One of...
on
10 Aug 2011
Blog Post:
How to get information on Database Copies using Managed code and Remote Powershell(Exchange 2010)
Akashb
It all started with a customer who wanted to know which servers in the DAG setup have the copies for a specific Exchange database. There were other properties like Activation Preferences that he was interested in too. The easiest way to get the details about the copies for a database is by using the...
on
29 Jul 2011
Blog Post:
Another example of using EWS Managed API 1.1 from PowerShell (Impersonation, SearchFilter, FindItems, Paging)
Akashb
In this case the customer wanted to know the Item count, size of all the item in the Inbox that were older than 5 years. As usual, the requirement was to run the script against multiple mailboxes. I could have easily written this in C# in no time but preferred to do this in PowerShell as: I would not...
on
28 Jul 2011
Blog Post:
Exchange 2010 SP1 Rollup 4 re-released
Akashb
On Wednesday, 7/27, the Exchange Sustained Engineering team re-released Exchange 2010 SP1 RU4. This release is being tracked by KB 2579150 and will contain a download file that is unique from the previous release. This updated rollup contains all of the changes that were in the original rollup with the...
on
28 Jul 2011
Blog Post:
Creating folder using EWS Managed API 1.1 from PowerShell
Akashb
A customer of mine wanted to create a folder under Inbox for thousands of mailboxes. He also wanted to use PowerShell to do it. What better way that using Exchange Web Service(Managed API) with Impersonation to do the job. The list of the users are available in a text file. The First row denotes the...
on
22 Jul 2011
Blog Post:
Use Windows PowerShell in Exchange Online
Akashb
A few articles on working with Exchange Online (Office 365 for enterprises, Live@edu) with Windows Powershell. Install and Configure Windows PowerShell http://technet.microsoft.com/en-us/exchangelabshelp/cc952756 Connect Windows PowerShell to the Service http://technet.microsoft.com/en-us/exchangelabshelp...
on
20 Jul 2011
Blog Post:
Error: “Object reference not set to an instance of an object” when sending out mails using System.Net.Mail via Exchange 2007
Akashb
This was a fun issue to work on! Some background, the customer was using System.Net.Mail to send out mails via Exchange 2007 using port 25 and port 587, all was working fine and then some updates were installed and he was no longer able to send out mails via port 587. He started to get the following...
on
9 Jun 2011
Blog Post:
Pull Subscription request fails with error “The Mailbox database is temporarily unavailable” on Exchange 2010
Akashb
This is the first time I ran into this issue with Exchange Web Services while sending out a Pull Subscription request! The confusing part was that apart from the subscribe request everything else was working as expected. We could connect to the mailbox using EWS Editor, browse the Inbox and other folders...
on
3 Jun 2011
Blog Post:
Saving during send breaks relation between sent item and Voting responses in Outlook 2010–Updated
Akashb
Do you use the voting feature in Outlook 2010? Do you “Save” the item in the Application_ItemSend event? Does everything work as expected? Private Sub Application_ItemSend( ByVal Item As Object , Cancel As Boolean ) Item.Save End Sub I don’t think so. If you have not yet noticed, you loose the ability...
on
2 Jun 2011
Blog Post:
ExpandGroup method returns no results for Dynamic Distribution Group in Exchange 2010
Akashb
Strange but TRUE! This work in Exchange 2007 but does not in Exchange 2010. Below is the request and response that I get from a Exchange 2010 server for the ExpandGroup Exchange Web Services call: Request: <? xml version ="1.0" encoding ="utf-8" ? > < soap:Envelope xmlns:xsi ="http://www.w3...
on
2 Jun 2011
Blog Post:
Office 2010 PIA installer does not install the Word PIA if only Outlook 2010 is installed
Akashb
A few days ago I ran into an issue where the customer had written an add-in for Outlook 2010 and was working with the WordEditor property of the Inspector. The add-in was to be deployed to machines which had ONLY Outlook 2010 installed. Would this work? Yes, It should! In this case we got an exception...
on
13 Apr 2011
Blog Post:
Updating Recipients using Outlook Object Model
Akashb
One of my customers was migrating his Exchange Client Extension code to an Outlook add-in for Outlook 2010 and wanted to modify the recipient using Outlook Object Model(OOM) and ran into issues. What is the problem? In Exchange Client Extension you could hook into events like IExchExtMessageEvents::OnCheckNames...
on
13 Apr 2011
Blog Post:
Problems installing the Office 2010 PIA’s using the Microsoft Office 2010 Primary Interop Assemblies Bootstrapper Package
Akashb
Have you tried using the Microsoft Office 2010 Primary Interop Assemblies Bootstrapper Package ? Did you not run into any issues? Were you able to install the PIA’s with the default package? I was not so lucky! One of my customer had created an add-in for Outlook 2010 and had included the Microsoft Office...
on
13 Apr 2011
Blog Post:
Exchange 2007:Transport error when sending emails using TLS (0x80040213)
Akashb
Error: “The transport failed to connect to the server”, Code:80040213, Source:CDO.Message.1. Does that look familiar? This was something that I kept running into while trying to send mail using CDOSYS with SSL/TLS enabled. Vikas already has a post explaining some of the details that you could refer to...
on
25 Feb 2011
Blog Post:
Are you developing Solutions for Office 2010 solutions with Visual Studio 2010 and Targeting .NET 4.0?
Akashb
Deployment of VSTO add-ins have always been tricky. In Office 2007 we could deploy a VSTO Add-in for All users(after the hotfix) but if the assembly is not signed with a Trusted Publisher’s Certificate, each user sees the Microsoft Office Customization Installer dialog box (also know as the trust prompt...
on
18 Nov 2010
Page 1 of 3 (62 items)
1
2
3