We do have exchange 365 and exchange on premise configured to work on in hybrid mode. Initially we migrated public folder from exchange on prem to exchange online.
So Exchange on Prem remember info for all existing Public folders at time prior to migration.
Our MX record points to an SMTP email filter on Prem. SMTP filter delivers SMTP traffic to Exchange on Prem and 365 emails are properly forwarded.
Now I would like to create new mail enabled public folder say newpfmailto:newpublicfolder@mydomain.com.
Since I create new folder on 365 and there is no sync on public folders to on prem
exchange on prem don't know that mailto:newpublicfolder@mydomain.com is a valid email address on 365 and it will reject the email.
I do prefer public folder for this case vs shared mailbox cause Mail enabled public folder is much easier to use for my purposes :.
My question is ( please don't through any random answers)
how to configure new public folder so that email from outside of my domain hits SMTP gateway then Exchange On prem and gets forwarded to 365 newpf@mydomain.com t PF?
I do want to use email address to be mailto:newpf@mydomain.com i don't want to use newpf@mydomain.onmicrosoft.com
and I'd like to avoid creating another shared or user mailbox with a forward rule to a public folder.
“CompletedStatsCount = Total sync mail mail public folders created: {0}, updated: {1} and deleted: {2}.”
thank you for staying on it.
using this command:
Sync-MailPublicFoldersCloudToOnprem.ps1 -Credential (Get-Credential)
Credentials = 365 user/pass
as the web page states:
Note
We recommend that you run this script daily to synchronize your mail-enabled public folders.