Note: Once the tool is complete, you must run the migration from the new project, and can then delete the original project.
set-MailPublicFolder -Identity PFAlias -PrimarySmtpAddress email@example.com –emailaddresspolicy $false
get-publicfolder -identity "\PFAlias" | Add-PublicFolderClientPermission -User Anonymous -AccessRights CreateItems
get-publicfolder -recurse | Add-PublicFolderClientPermission -User Anonymous -AccessRights CreateItems
Note: This step is important if external domains cannot send mail to the mail-enabled Public Folder email addresses.
Note: Without setting this, Office 365 bounces the message before it even checks whether a valid Public Folder address exists.
Note: This is important, in order to migrate any residual items that were sent to the Source Public Folders after the second migration pass began, when the Organization Configuration was set to remote, during migration.