Chat now with support
Chat with Support

Reference Materials for Migration 8.15 - Public Folder Synchronization (MAgE)

About This Document How It Works Before You Begin Public Folder Synchronization Specific Case Workarounds Technical Reference

Office 365 account: Granting Public Folder Owner Permission

The administrative account should be granted by Owner permissions on all public folders. Grant this account Owner client permissions on all public folders you want to synchronize.

In the Office 365 Exchange admin center, do the following:

  1. Click public folders.
  2. Select the root folder.
  3. In the toolbar on the right, click the ellipsis icon and select Root permissions.
  4. Add the necessary account and assign it the Owner client permission. Select the Apply changes to this public folder and all its subfolders option and save your changes. In case the inheritance will be broken, the subfolders cannot be synchronized.

Office 365 account: Granting CreateSubfolders and FolderVisible access rights

To grant CreateSubfolders and FolderVisible permissions to the <User> (for example, LA\JohnSmith), run the following cmdlet in Exchange Management Shell:

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $session

Add-PublicFolderClientPermission -Identity "\" -User "LA\JohnSmith" -AccessRights "CreateSubfolders","FolderVisible"

Remove-PSSession $session

Using Task Scheduler to Automate Tasks

On the computer where the Migration Manager console is installed, you can create, edit, and delete scheduled tasks using Task Scheduler, and in this guide we'll show you how to do it. To create a scheduled task, perform the following:

  1. From the Start menu, select Run. In the Run dialog box, type taskschd.msc to start Task Scheduler. Click OK.
  2. Right-click the Task Scheduler Library and select Create Task….
  3. In the Create Task dialog box, name the task in Name field.
  4. (Optional) In the Description field, create a description for the task.
  5. Task Scheduler allows you to select from a number of triggers, including on a specific date, during startup, or when you or a particular user signs in. Depending on your requirements, you will need to configure additional parameters. Select desired security options: Run only when user is logged on or Run whether user is logged on or not.
  6. On Triggers tab, click the New button to create a trigger.
  7. In the New Trigger dialog box, schedule your task depending on how often your environment changes.
  8. Use Advanced settings to schedule a recurrence of a task. Confirm to proceed.
  9. On Actions tab, click the New button to create an action
  10. Select Start a program action in Action drop-down box
  11. In the Settings area provide the powershell.exe(x86) location, default location is C:\Windows\SysWOW64\WindowsPowerShell\v1.0.
  1. In the Add arguments(optional): field, you can enter script for your task.
  2. On Settings tab, specify additional settings for the task, select whether the task can be started in parallel. The Run a new instance in parallel setting would be useful for processing of multiple objects (e.g., more than 100 public folders).
  3. Confirm to save your automated task.

NOTE: A separate task should be created for every synchronized source public folder root.

Below you can find examples of the scripts you can use for specific purposes:

Automate mail-enabling of created public folders

Use the following script with your parameters to create your own script for Add arguments(optional): field to automate mail-enabling of created public folders:

Set-ExecutionPolicy RemoteSigned
cd "C:\Program Files (x86)\Quest Software\Migration Manager\Exchange Data\Tools\MMExPowerShell"
Import-Module "C:\Program Files (x86)\Quest Software\Migration Manager\Exchange Data\Tools\MMExPowerShell"
Get-MMExPublicFolderStatistics |Sort-Object -Property CollectionID | Sync-MailPublicFolder -ProxyAddresses -Permissions
Automate adding source legacyExchangeDN property as X500 in the target

Use the following script with your parameters to create your own script for Add arguments(optional): field to automate adding source legacyExchangeDN property as X500 in the target for group matching:

Set-MMExExecutionPolicy RemoteSigned
cd "C:\Program Files (x86)\Quest Software\Migration Manager\Exchange Data\Tools\MMExPowerShell"
Import-Module "C:\Program Files (x86)\Quest Software\Migration Manager\Exchange Data\Tools\MMExPowerShell"
Set-GroupMatching -SourceOrganization ‘My Source Organization’ -TargetOrganization ‘My Target Organization’
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating