User Tools

Site Tools


microsoft_365:exchange_online:hybrid_public_folders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microsoft_365:exchange_online:hybrid_public_folders [2021/09/24 18:56] – [Public Folders on on-premise Exchange, hybrid access for Exchange Online users] admintomimicrosoft_365:exchange_online:hybrid_public_folders [2021/10/28 16:50] (current) – [Public Folders on on-premise Exchange, hybrid access for Exchange Online users] admintomi
Line 20: Line 20:
 </code> </code>
  
-If you have Exchange 2010 and legacy public folder databases, better to read MS article of the setup: [[https://docs.microsoft.com/en-us/exchange/collaboration/public-folders/configure-legacy-public-folders-for-hybrid?view=exchserver-2019|Configure legacy on-premises public folders for a hybrid deployment | Microsoft Docs]]+If you have Exchange 2010 and legacy public folder databases, better to read MS article of the setup: [[:https:docs.microsoft.com_en-us_exchange_collaboration_public-folders_configure-legacy-public-folders-for-hybrid?view=exchserver-2019|[[https://docs.microsoft.com/en-us/exchange/collaboration/public-folders/configure-legacy-public-folders-for-hybrid]]|https://docs.microsoft.com/en-us/exchange/collaboration/public-folders/configure-legacy-public-folders-for-hybrid]]]]|Configure legacy on-premises public folders for a hybrid deployment | Microsoft Docs]]
  
 === Sync mail-enabled Public Folders to Exchange Online === === Sync mail-enabled Public Folders to Exchange Online ===
  
-AD Connect or Exchange Hybrid actually does not synchronize mail enabled Public Folders to Exchange Online and if EXO user tries to send email to Public Folder it will fail. Public Folders needs to be synced with specific powershell scripts from Microsoft, [[https://www.microsoft.com/en-us/download/details.aspx?id=54855|Link]] . These script will create mail contacts for each mail-enabled public folder.+AD Connect or Exchange Hybrid actually does not synchronize mail enabled Public Folders to Exchange Online and if EXO user tries to send email to Public Folder it will fail. Public Folders needs to be synced with specific powershell scripts from Microsoft, [[:https:www.microsoft.com_en-us_download_details.aspx?id=54855|[[https://www.microsoft.com/en-us/download/details.aspx]]|https://www.microsoft.com/en-us/download/details.aspx]]]]|Link]] . These script will create mail contacts for each mail-enabled public folder.
  
 Extract Sync-ModernMailPublicFolders.ps1 and Sync-ModernMailPublicFolders.psd1 to some folder on Exchange server. Then run Sync-ModernMailPublicFolders in Exchange powershell. You will also need Global Admin credentials. Script does not support MFA, not sure if it can be modified. Run it first with -Whatif option to catch any errors. Extract Sync-ModernMailPublicFolders.ps1 and Sync-ModernMailPublicFolders.psd1 to some folder on Exchange server. Then run Sync-ModernMailPublicFolders in Exchange powershell. You will also need Global Admin credentials. Script does not support MFA, not sure if it can be modified. Run it first with -Whatif option to catch any errors.
Line 65: Line 65:
  
 If try to add users to Public Folder from GUI, you cannot add ones that are remote mailboxes. So it needs to be done from PS. Note that Set-MailPublicFolder owerwrites previous value so you need to user @{add= feature. If try to add users to Public Folder from GUI, you cannot add ones that are remote mailboxes. So it needs to be done from PS. Note that Set-MailPublicFolder owerwrites previous value so you need to user @{add= feature.
 +
 +=== Removing Public Folder aliases from hybrid ===
 +
 +After Public Folder migration, if you want to migrate public folder email address to shared mailbox, alias on-premise is still reserved for mail-enabled public folder even if its disabled. So use powershell to remove public folder mail properties:
 +
 +<code>
 +Disable-MailPublicFolder -Identity "MyPublicFolder"
 +
 +</code>
 +
 +You cannot refer to folder path since public folders don't exist anymore but use Get-MailPublicFolder or Get-Recipient to figure name of public folder holding name. Then change the address to shared mailbox and run adsync to update changes immediately. Also remove mail features from public folder from Exchange online, same command.
  
  
microsoft_365/exchange_online/hybrid_public_folders.1632498972.txt.gz · Last modified: 2021/09/24 18:56 by admintomi