Exchange 2010: Finding the location of a public folder

Senario

A user reports an address listed in your GAL does not work. The icon suggests it’s a public folder, but when browsing through your Public Folders in Outlook it’s not in the root and it’s not obvious where it might be located.

Solution

Bring out PowerShell!

1. Using Outlook, from the GAL, obtain the PF’s Primary SMTP address – The email address shown in the GAL.

2.  From an Exchange server or server with EMS installed, run the following cmdlet:

The output will list the location of the public folder. You can now drill down to this from Outlook.

 

If you wish to hide the PF from the GAL:

1. Run the following PowerShell cmdlet:

 

Error

If like me, running these cmdlets you get a lot of lovely yellow warnings, or trying the above cmdlet, it fails, the chances are, there’s an error in the email object’s Alias. This PF was imported from Exchange 2003 and where 2003 allowed spaces in the alias, 2010 does not. The space is considered an illegal character.

Simply set the alias to a new legal name:

Error 2

An issue I came across today was a NDR when sending to a mail-enabled public folder:

<SNIP>

#554 5.2.0 STOREDRV.Deliver.Exception:AccessDeniedException.MapiExceptionNotAuthorized; Failed to process message due to a permanent exception with message Cannot complete delivery-time processing

</SNIP>

This particular Public Folder is configured so that Anonymous and Default cannot send to it. i.e, a user has to be explicitly defined on the permissions tab. The story from the user was that nobody could send to this Public Folder. All my tests worked as one would hope and after a lot of head scratching, a call to the user revealed that this was incorrect, and in fact, only one user couldn’t send to it. We added the user and hey presto. It worked. Moral of the story: Don’t believe users! 🙂

Please feel free to leave a comment...