Exchange 201x- No existing PublicFolder matches the identity '\'

On exchange server going on Public Folder snapin we got this error:

No existing 'PublicFolder' matches the following Identity: '\'. Make sure that you specified the correct 'PublicFolder' Identity and that you have the necessary permissions to view 'PublicFolder'.

The solution was got in this way


--------------------

Open ADSIEdit and connect to the Configuration context
Open Databases node
CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SxxxT),CN=Administrative Groups,CN=[ORG],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[DOMAIN],DC=[TLD]
Open the Properties of an Exchange 2010 database
View the distinguishedName property and copy the value to clipboard
Example: CN=E14MBXDB01,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SxxxT),CN=Administrative Groups,CN=[ORG],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[DOMAIN],DC=[TLD]
Close the Properties window and open the Servers node
CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SxxxT),CN=Administrative Groups,CN=[ORG],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[DOMAIN],DC=[TLD]
sotto pfex1

FOR DB-PBLCF03
CN=DB-PBLCF03,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SXXXT),CN=Administrative Groups,CN=PIPPO,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=pippo,DC=com

Expand the first Exchange 2010 server and open the Properties of the Microsoft System Attendant node
Ensure that the view is not filtered to Show only attributes that have values
Edit the homeMDB attribute and paste the distinguished name of the mailbox database copied in step 4
Apply the changes and close the properties window
Open the Properties windows of the Microsoft MTA of the same Exchange
View the distinguishedName property and copy the value to clipboard
Example: CN=Microsoft MTA,CN=E14MBXSRV01,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23XXXLT),CN=Administrative Groups,CN=[ORG],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[DOMAIN],DC=[TLD]
sotto pfex1 Microsoft MTA
CN=Microsoft MTA,CN=XXXXX-EX,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SXXXT),CN=Administrative Groups,CN=PIPPO,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=PIPPO,DC=com
Open the properties of the Microsoft System Attendant node for a second modification
Ensure that the view is not filtered to Show only attributes that have values
Edit the homeMTA attribute and paste the distinguished name of the mailbox database copied in step 10
Apply the changes and close the properties window
Repeat steps 4 to 13 for each Exchange 2010 server in your environment.
  •  Wait for Active Directory replication and retry to access the public folders using Get-PublicFolder in an Exchange Server 2007 Management Shell.
  •  It might be required to restart the Exchange 2007 Information Store and System Attendant service of the Exchange 2007 server in question

Use an administrative PowerShell

Noi copiamo questo in homemdb
CN=PFDB1,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SXXXT),CN=Administrative Groups,CN=PIPPO,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=PIPPO,DC=com

More articles:
No existing PublicFolder matches the identity '\'
Scripts for Public Folder Replica Management in Exchange 2010
How To Easily Add Public Folder Replicas To Exchange 2010
Move Public Folders All replica to Exchange 2010 Server PS Script
Exchange Server 2010 to 2013 Migration – Removing Legacy Servers
Public Folders–Moving form Exchange 2003 to Exchange 2010
Show and move “hidden” Arbitration mailboxes in Exchange Server 2010
Uninstalling Exchange Server 2010
Decommission Exchange 2010 Database Availability Group
Decommissioning Exchange 2010 DAG