allowing Exchange Online users to see on-premise public folders?

%3CLINGO-SUB%20id%3D%22lingo-sub-221215%22%20slang%3D%22en-US%22%3Eallowing%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-221215%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20I%20have%20been%20reading%20this%20document%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-modern-hybrid-public-folders%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-modern-hybrid-public-folders%3C%2FA%3E%20as%20we%20have%20on-premise%20public%20folders%20which%20we%20would%20like%20Exchange%20Online%20users%20to%20see.%20Our%20current%20environment%20is%20Exchange%202016%20but%20I%20believe%20that%20document%20is%20still%20applicable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHeres%20the%20problem%3A%3C%2FP%3E%3CP%3ENot%20all%20our%20public%20folders%20are%20mail-enabled..%20so%20I%20am%20wondering%20if%20this%20still%20works%3F%20another%20questions%20I%20have%20is%20regarding%20the%20command%20listed%20in%20that%20article%20%3CSTRONG%3E%22Set-OrganizationConfig%20-PublicFoldersEnabled%20Remote%20-RemotePublicFolderMailboxes%20PFMailbox1%2CPFMailbox2%2CPFMailbox3%22%26nbsp%3B%3C%2FSTRONG%3EAm%20I%20right%20in%20thinking%20that%20the%20command%20referes%20to%20the%20public%20folder%20%3CSTRONG%3Emailboxes%3C%2FSTRONG%3E%20and%20not%20the%20individual%20public%20folders%3F%20so%20for%20instance%20if%20I%20had%20a%20public%20folder%20mailbox%20called%20%22PFSales%22%20and%20another%20called%20%22PFMarketing%22to%20make%20this%20public%20folder%20viewable%20to%20Exchange%20online%20users%20I%20would%20run%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESet-OrganizationConfig%20-PublicFoldersEnabled%20Remote%20-RemotePublicFolderMailboxes%3CSPAN%3E%26nbsp%3BPFSales%2CPFMarketing%22%20%3F%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-221215%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-227256%22%20slang%3D%22en-US%22%3ERe%3A%20allowing%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-227256%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EIf%20the%20mailbox%20for%20the%20user%20was%20created%20in%20Exchange%20Online%20and%20doesn't%20have%20an%20associated%20on-premises%20user%20object%20for%20authentication%20to%20the%20public%20folder%20then%20the%20exchange%20online%20users%20won't%20be%20able%20to%20see%20on-premise%20public%20folders.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20order%20to%20allow%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%26nbsp%3BExchange%20Online%20mailbox%20must%20be%20linked%20to%20an%20on-premises%20user%20account.%20Please%20go%20through%20the%20below%20article%20to%20get%20this%20acheived%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2641663%2Fhow-to-use-smtp-matching-to-match-on-premises-user-accounts-to-office%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2641663%2Fhow-to-use-smtp-matching-to-match-on-premises-user-accounts-to-office%26nbsp%3B%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-226932%22%20slang%3D%22en-US%22%3ERe%3A%20allowing%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-226932%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20seems%20good%20but%20it%20can%20take%20a%20couple%20of%20hours.%3C%2FP%3E%0A%3CP%3EIf%20you%20connect%20from%20an%20external%20network%2C%20make%20sure%20MAPI%2Fhttp%20is%20configured%20and%20published%26nbsp%3Bcorrectly.%20The%20Autodiscover%20process%20from%20your%20Exchange%20Online%20organization%20will%20%22find%22%20the%20on-premises%20public%20folder%20mailboxes%20you%20configured%20in%20the%20Exchange%20Online%20Set-OrganizationConfig.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20using%20alternate%20login%20id%2C%20which%20means%20your%20UPN%20is%20not%20your%20primary%20smtp%20address%2C%20make%20sure%20modern%20authentication%20is%20enabled%20in%20Exchange%20Online%20for%20accessing%20public%20folders%20in%20your%20hybrid%20environment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-226682%22%20slang%3D%22en-US%22%3ERe%3A%20allowing%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-226682%22%20slang%3D%22en-US%22%3E%3CP%3EReferencing%20this%20document%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-modern-hybrid-public-folders%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EConfigure%20Exchange%202013%20public%20folders%20for%20a%20hybrid%20deployment%3C%2FA%3E%26nbsp%3Bwhich%20I%20have%20been%20told%20is%20applicable%20to%20Exchange%202016%20also.%20I%20am%20confused%20on%20these%20steps%20as%20i%20have%20found%20them%20not%20to%20work%2C%20so%20maybe%20I%20am%20doing%20something%20wrong%20so%20et%20me%20break%20down%20what%20I%20am%20doing%20step%20by%20step%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20download%20the%20script%20listed%20in%20that%20document%20and%20place%20if%20on%20my%20exchange%20server%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3ESync-MailPublicFolders.ps1%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20then%20run%26nbsp%3BSync-MailPublicFolders.ps1%20-Credential%20(Get-Credential)%26nbsp%3B%20-CsvSummaryFile%3Async_summary.csv%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20go%20to%20Exchange%20online%20powershell%20and%20run%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-OrganizationConfig%20-PublicFoldersEnabled%20Remote%20-RemotePublicFolderMailboxes%20PFMailbox1%2CPFMailbox2%2CPFMailbox3%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhere%20PFmailbox%20is%20the%20name%20of%20the%20mailboxes%20on-premise%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20results%20in%20absolutely%20nothing%20happening..%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222297%22%20slang%3D%22en-US%22%3ERe%3A%20allowing%20Exchange%20Online%20users%20to%20see%20on-premise%20public%20folders%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222297%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20it%20is%20still%20applicable%20for%20Exchange%202016%20as%20well.%20You%20don't%20have%20to%20mail-enable%20all%20your%20public%20folders%20for%20accessing%20them%20from%20an%20Exchange%20Online%20mailbox.%20The%20synchronization%20of%20mail-enabled%20public%20folders%20is%20only%20for%20mail%20flow%20purposes%2C%20like%20that%20your%20users%20can%20see%20them%20in%20the%20GAL.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Set-OrganizationConfig%20determines%20the%20public%20folder%20(proxy)%20mailboxes%20to%20get%20access%20through%20Autodiscover%20to%20your%20on-premises%20organization%2C%20right.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi I have been reading this document: https://docs.microsoft.com/en-us/exchange/hybrid-deployment/set-up-modern-hybrid-public-folders as we have on-premise public folders which we would like Exchange Online users to see. Our current environment is Exchange 2016 but I believe that document is still applicable.

 

Heres the problem:

Not all our public folders are mail-enabled.. so I am wondering if this still works? another questions I have is regarding the command listed in that article "Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PFMailbox1,PFMailbox2,PFMailbox3" Am I right in thinking that the command referes to the public folder mailboxes and not the individual public folders? so for instance if I had a public folder mailbox called "PFSales" and another called "PFMarketing"to make this public folder viewable to Exchange online users I would run 

Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PFSales,PFMarketing" ?

4 Replies
Highlighted

Hi,

 

Yes, it is still applicable for Exchange 2016 as well. You don't have to mail-enable all your public folders for accessing them from an Exchange Online mailbox. The synchronization of mail-enabled public folders is only for mail flow purposes, like that your users can see them in the GAL.

 

The Set-OrganizationConfig determines the public folder (proxy) mailboxes to get access through Autodiscover to your on-premises organization, right.

Highlighted

Referencing this document: Configure Exchange 2013 public folders for a hybrid deployment which I have been told is applicable to Exchange 2016 also. I am confused on these steps as i have found them not to work, so maybe I am doing something wrong so et me break down what I am doing step by step

 

I download the script listed in that document and place if on my exchange server:

 

  • Sync-MailPublicFolders.ps1



I then run Sync-MailPublicFolders.ps1 -Credential (Get-Credential)  -CsvSummaryFile:sync_summary.csv

 

I then go to Exchange online powershell and run

 

Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PFMailbox1,PFMailbox2,PFMailbox3

 

where PFmailbox is the name of the mailboxes on-premise

 

this results in absolutely nothing happening..

Highlighted

It seems good but it can take a couple of hours.

If you connect from an external network, make sure MAPI/http is configured and published correctly. The Autodiscover process from your Exchange Online organization will "find" the on-premises public folder mailboxes you configured in the Exchange Online Set-OrganizationConfig.

 

If you are using alternate login id, which means your UPN is not your primary smtp address, make sure modern authentication is enabled in Exchange Online for accessing public folders in your hybrid environment.

Highlighted

If the mailbox for the user was created in Exchange Online and doesn't have an associated on-premises user object for authentication to the public folder then the exchange online users won't be able to see on-premise public folders.

 

In order to allow Exchange Online users to see on-premise public folders Exchange Online mailbox must be linked to an on-premises user account. Please go through the below article to get this acheived:

 

https://support.microsoft.com/en-us/help/2641663/how-to-use-smtp-matching-to-match-on-premises-user-...