One of the worst things about Exchange is dealing with public folders. Has many of you know sometimes you will come into a situation where you need to delete a Public Folder from ADSIEdit. I have been working with Exchange for a long time and have had the opportunity to work in some large and very complex environments and situations but, to this day nothing gets my heart racing like messing around with Public Folders in ADSIEdit. I have put together a lab to show you some of the steps needed to make sure you remove the public folder from you environment successfully using ADSIEdit and what to monitor on the server to ensure if something does go wrong you are aware of the problem

Test Lab for public folder replication

Enviroment

1 – Domain Controller

3 – Exchange Servers (EX1, EX2, EX3)

The Exchange servers EX1 and EX3 are in the same administrative group “First Storage Group”

The Exchange server EX2 is in administrative group “CLT”

EX2 holds the public folder content for all users

We will be using EX as our test server to remove the public folder data. We will EX1 to re-import the public folder data

There is a Routing Group between the two administative groups called test

adsi1

adsi2

As you can tell the public folder information is stored on the EX2 public folder database

adsi3

Here is a screenshot of the public folder tree

adsi4

All public folders only have one replica of the public folder data

adsi5

The mailbox store on EX2 is using the EX2 public folder database as the default

adsi6

This is a screenshot of the public folder tree within Outlook

adsi7

The connection status shows that we are connect to both EX1 and EX2. This is because the free/busy data for the mailbox users are located on EX1

adsi8

I copied the data from the public folder database on EX2 to a PST on the local client

adsi9

I removed the routing group connector to segregate the two administrative groups

adsi10 adsi11

Dismounted and deleted the public folder database on EX2

adsi12

Screenshot from Outlook

adsi13

Mounted a blank public folder database on EX2

b1

I lost my public folder instances

b2

Pointed the users on EX2 to EX1 public folder database

b3

Changed the replicas from EX2 to EX1

Outlook can see the folder but there is not content

b4

You can also tell the public folder data is coming from EX1

I imported the data copied over by the PST file

I removed the public folder database from ADSIEdit

Monitored the queues

Before removing database via ADSIEdit

b5 b6

After removing the database (I cleared the queue)

ON EX1 after the removal I get some wacky email messages

Envelope Recipients:

SMTP:IMCEAex-_O=FIRST+20ORGANIZATION_OU=CLT_CN=CONFIGURATION_CN=SERVERS_CN=EX2_CN=MICROSOFT+20PUBLIC+20MDB@ccfive.com;

b7