Canonical Ordering Of Mailbox Permissions In Exchange

An Access Control List, or ACL, is basically just a list of Access Control Entries, or ACEs. Each ACE contains a flag indicating whether it’s an Allow or a Deny ACE, a mask that shows which rights are being allowed or denied, and a SID to which those allow or deny rights are applied. Evaluating…


Get-PublicFolderStatistics Can’t Find A Folder

On Exchange 2010, when you use the Get-PublicFolderStatistics command to look for the statistics of a particular folder, you may see an error like this one: The cmdlet throws an InvalidOperationException saying that it “couldn’t find public folder”. However, if you look at the replica list, it clearly indicates that there is a replica on…


Cleaning Viruses In Public Folders Using OOM

In my previous post, I provided an example script that used EWS to delete items out of public folders. Of course, you can only use EWS if your public folders are on Exchange 2007 or 2010. The example script in this post uses Outlook Object Model instead. This means it has to be run from…


Cleaning Viruses In Public Folders Using EWS

As a result of last week’s virus outbreak, I’ve been getting some questions about how to clean viruses out of public folders. Unfortunately, there’s no equivalent of Export-Mailbox to pull infected messages out of public folders. However, it’s pretty easy to write a script to accomplish this through Exchange Web Services or Outlook Object Model…


ExFolders for Exchange 2010 Sp1

A few of you emailed me when you noticed an error running ExFolders on Exchange 2010 SP1, which was recently released. Attempting to navigate into a mailbox would throw an error stating, “Error: Method not found.” This was due to some changes in the DLLs that ExFolders relies on. We’ve just posted a new version…


How To Identify Bad Items In Public Folder Replication

As I’ve previously discussed here and here, there are various things that will prevent an item from replicating to an Exchange 2007 or Exchange 2010 public folder store – things like bad start/end dates on appointments, category names that contain certain characters, etc. However, once you’ve figured out that replication is failing because of one…


Fixing Public Folder Directory Objects That Aren’t Linked To The Hierarchy

In my recent post on the Exchange Team Blog, I briefly mentioned the dangers of forcibly removing an administrative group from ADSI Edit. The most common unintended consequence of this is a deletion of the directory object that represents the Public Folder Hierarchy. Deleting this object creates quite a mess, because all of your mail-enabled…


ExFolders Update

Due to a mix-up on my part, the April 13th update of ExFolders was actually missing some of the fixes from the previous release. Some of the bits included were from a preview build of ExFolders that was created prior to Exchange 2010 RTM. Oops! The web site was just updated with the proper bits,…


Ambiguous SID Error in PFDAVAdmin

May 13, 2010 Edit: The Download Center has been updated with the new build of PFDAVAdmin which contains the fix for this issue. With the release of the new PFDAVAdmin a few weeks ago, some customers started running into an “Ambiguous SID” error when trying to add the Everyone group or Anonymous group in the…