How to identify Public Folder by GUID

by jduehmig at 2012-09-27 05:45:26

I’m getting the following error on my Exchange 2010 server:

The delivery of a message sent by public folder 8AE710B921FD9D40B688A09AAF3F288B-000000793A86 has failed.

I’m trying to find what public folder is being referenced, as none of the public folders should be sending any mail! When I use the following command:

Get-MailPublicFolder -Identity 8AE710B921FD9D40B688A09AAF3F288B-000000793A86

I get the error:

The operation couldn’t be performed because object ‘8AE710B921FD9D40B688A09AAF3F288B-000000793A86’
couldn’t be found on ‘domaincontroller.domain.com’.
+ CategoryInfo : NotSpecified: (:slight_smile: [Get-MailPublicFolder], ManagementObjectNotFoundEx
ception
+ FullyQualifiedErrorId : 87272E96,Microsoft.Exchange.Management.MapiTasks.GetMailPublicFolder

Is there another way to find this GUID reference on the server?
Thanks,
Joe
by poshoholic at 2012-09-27 08:22:21
It looks to me like the portion of the string before the hyphen is the GUID. You can convert that into a GUID like this:
PS C:> [System.Guid]'8AE710B921FD9D40B688A09AAF3F288B'

Guid
----
8ae710b9-21fd-9d40-b688-a09aaf3f288b

Try calling Get-MailPublicFolder by passing in just that portion of the string, or by passing in the string Guid that is output by this command, and see if that helps you identify the public folder.
by jduehmig at 2012-09-28 07:21:00
I did run the command with no parameters. I got a list of public folders but none of the GUID’s matched that in the error. So I’m confused how to track this down.
by Helmto108 at 2012-09-30 15:24:44
Hello, I do not think that is the GUID being reported in your error message. I found a similarly formatted string of numbers applied to the LegacyExchangeDN of one of my Mail enabled public folders.

See if you can find it by using the following:

Get-MailPublicFolder | Where {$.LegacyExchangeDN -match "8AE710B921FD9D40B688A09AAF3F288B"}

Regards,

Helmto108
by jduehmig at 2012-10-02 05:31:40
Helmto108,
Thanks for the tip. Your suggestion produced some results. However, it brought back a list of 14 different folders. Any thoughts on how I can narrow this down?

Thanks,
Joe
by Helmto108 at 2012-10-02 16:24:35
Hi Joe, Glad you got some results.

Since we only matched against the first part of the value, let’s try matching against the whole value.

Get-MailPublicFolder | Where {$
.LegacyExchangeDN -match "8AE710B921FD9D40B688A09AAF3F288B-000000793A86"}

Hope this helps,
Helmto108
by jduehmig at 2012-10-03 05:16:57
Helmto108,
That did the trick! Thanks much for the timely help.
Joe