How to grant full access control to public folders
Problem:
You have insufficient access rights to migrate or back up public folders with CodeTwo software.
Solution:
The admin account used in CodeTwo software to connect to the source server needs to be manually granted the Full control permission to the root public folders tree. The solution depends on your environment:
Info
If you don’t have any public folders on your target server, you need to create an empty public folder tree first. Read this KB article to learn how to do so.
Exchange Server 2013, 2016, 2019 and Exchange Online
To grant full access permission to public folders, you need to:
- Log in to your Exchange admin center.
- Click public folders on the left pane.
Info
In the new Exchange admin center available in Exchange Online (Office 365), expand the Public folders item in the menu and select Public folders. Apart from this, the procedure is identical as described below.
- On the public folders tab, click the ellipsis (…) button and select Root permissions (Fig. 1.).
Fig. 1. Accessing public folders' root permissions.
- Click the plus (+) button to add a new user. The public folder permissions window will open.
- Click browse and select the user you want to provide with the access to public folders. Click OK to confirm.
- From the Permission level drop-down menu, select Owner (Fig. 2.). Click save to apply the settings.
Fig. 2. Setting up public folder permissions.
- Select the Apply changes to this public folder and all its subfolders checkbox (Fig. 3.).
Fig. 3. Selecting the checkbox that allows you to apply changes to all subfolders.
- Click save. A pop-up window with a progress bar will appear, as shown in Fig. 4.
Fig. 4. Applying changes to public folders.
- Once the operation is completed, click close.
You can now use this admin account to migrate or back up public folders with CodeTwo software.
Exchange Server 2010
To grant full access permission to public folders in Exchange 2010, you can use the ADSI Edit snap-in. Follow the steps below.
- Click Start > Run and type: ADSIEdit.msc
Info
If you have created a connection to the Configuration partition already, skip to step 4 below.
- Click Action on the menu bar, and then click Connect to.
In the Connection Point group box, click Select a well known Naming Context, and then select Configuration from the drop-down menu (Fig. 5.). Click OK.
Fig. 5. Connecting to the Configuration partition.
On the left pane, click Configuration and expand the following items:
and click CN=Folder Hierarchies (Fig. 6.).
Fig. 6. CN=Folder Hierarchies object in ADSI Edit.- CN=Configuration,DC=<Your_Domain_Name>,DC=<Domain>
- CN=Services
- CN=Microsoft Exchange
- CN=<Organization_Name>
- CN=Administrative Groups
- CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
- CN=Administrative Groups
- CN=<Organization_Name>
- CN=Microsoft Exchange
- CN=Services
- CN=Configuration,DC=<Your_Domain_Name>,DC=<Domain>
- On the central pane, right-click CN=Public Folders and select Properties.
On the Security tab, check if the user (i.e. the admin account used in CodeTwo Exchange Migration) to whom you want to give the full control over public folders is listed under Group or user name. If not, click Add, type the name of the user and click Check Names (Fig. 7.). Once the proper name is found and displayed, click OK.
Select this user and in the Allow column select the Full control checkbox (Fig. 8.). Click OK to confirm.
Fig. 8. Assigning full control permission to the selected user.
This user account will now have full access rights to the root Public Folders tree. Use this account to configure the connection to the target Exchange 2010 server in CodeTwo software.
Tip
Once you find the CN=Public Folders object in ADSI Edit, you can also note its GUID and use it in Exchange Management Shell as an alternative method to quickly assign full access permissions to public folders. To do so, follow these steps:
- In ADSI Edit, right-click CN=Public Folders and select Properties.
On the Attribute Editor tab, find objectGUID (Fig. 9.) and note its value.
- Open Exchange Management Shell and use the following cmdlet to assign full access permissions to public folders:
Add-ADPermission -Identity <GUID> -User <User_Name> -AccessRights GenericAll
where instead of <GUID> type the value from the CN=Public Folders Properties window, and instead of <User_Name> type the name of the admin account used to perform the migration or backup.
Related products: | CodeTwo Backup for Exchange, CodeTwo Backup for Office 365, CodeTwo Exchange Migration, CodeTwo Office 365 Migration |
Categories: | How-To |
Last modified: | June 1, 2021 |
Created: | October 25, 2017 |
ID: | 658 |