Exchange 2007 - public folder mail-disabled

In Exchange 2007, there are public folders that are "Mail-enabled" and that I removed the "Mail-enabled" function with the following Powershell command:
Get-PublicFolder -Recurse -resultsize unlimited -Identity "\Secteur Opérations Régionales\Région 02\4210" | Disable-MailPublicFolder
After executing the PowerShell we noticed in the Public Folder Management console that the public folder is now "Mail-disabled":
But when I execute the following powershell command:
Get-MailPublicFolder -Filter {EmailAddresses-like '**'} | Format-List

The public folder has kept these SMTP addresses:
How to completely remove all SMTP addresses from this public folder which is "Mail-disabled"?
See the attach file for picture
Who is Participating?
Radhakrishnan RSenior Technical LeadCommented:

I believe it was a mail enabled public folder? if so, this will leave the smtp address as this would have created as part of email address policy. You need to edit the policy and remove the addresses.

Also, look at Active directory and see if the object present here? if so, remove it (Open AD>View menu>>Advanced features>>You will be able see an OU called 'Microsoft Exchnage system objects". Look for the mail enabled public folder. Remove.

If still doesn't work then Refer this article for forcefully removing secondary addresses which may be useful.
viktor grantExchange ServersCommented:

You have correctly disable the public folder...only with the command:

Disable-MailPublicFolder -Identity "\name"

If you send an email to the mail public folder, do you receive it or do you have NDR?

dgswinAuthor Commented:
When I write to the SMTP address, the email goes to the public folder.
dgswinAuthor Commented:
Thanks! Deleting the object in Active directory solves the problem.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.