Shared Mailbox Migration Guide
Migrate shared mailboxes from one Microsoft 365 or Exchange tenant to another. Shared mailboxes are non-licensed accounts used by teams — they have a different provisioning process from regular user mailboxes.
Prerequisites
Source tenant
- Global Administrator or Exchange Administrator role
- Shared mailboxes must be active and not hidden from the Global Address List (GAL)
Destination tenant
- Global Administrator or Exchange Administrator role
- Shared mailboxes must be pre-created in the destination tenant before migration
- Shared mailboxes in Microsoft 365 do not require an Exchange licence (up to 50 GB storage limit); above that, an Exchange Online Plan 2 licence must be assigned
Step 1: Pre-Create Shared Mailboxes in the Destination
Aatrex migrates content into existing destination mailboxes. It does not create shared mailboxes — create them first.
Via Microsoft 365 admin centre:
- Sign in to admin.microsoft.com as a Global Administrator.
- Go to Teams & groups → Shared mailboxes.
- Click Add a shared mailbox and enter the Display name and Email address.
- Repeat for each shared mailbox to be migrated.
Via PowerShell (bulk):
New-Mailbox -Shared -Name "Finance Team" -DisplayName "Finance Team" -Alias "finance" -PrimarySmtpAddress "finance@yourtenant.com"
Step 2: Register an App in the Source Tenant
- Sign in to portal.azure.com as a Global Administrator on the source tenant.
- Go to Azure Active Directory → App registrations → New registration.
- Name it
Aatrex Sourceand click Register. - Copy the Application (client) ID and Directory (tenant) ID.
- Generate a Client secret and copy the value.
- Add the following Application permissions under Microsoft Graph:
| Permission | Why it is needed |
|---|---|
Mail.Read | Read source shared mailbox messages |
Calendars.Read | Read shared mailbox calendar events |
Contacts.Read | Read shared mailbox contacts |
MailboxSettings.Read | Read auto-reply and timezone settings |
User.Read.All | Enumerate shared mailboxes in the directory |
Also add the Graph mailbox permissions MailboxItem.Export.All, MailboxItem.Read.All and MailboxFolder.Read.All. Aatrex reads each mailbox item through the Microsoft Graph mailbox API; no Exchange Online permission is needed.
- Click Grant admin consent.
Step 3: Register an App in the Destination Tenant
- Sign in to portal.azure.com on the destination tenant.
- Create an app named
Aatrex Destination. - Add the following Application permissions:
| Permission | Why it is needed |
|---|---|
Mail.ReadWrite | Write messages into destination shared mailboxes |
Calendars.ReadWrite | Create calendar events in destination |
Contacts.ReadWrite | Create contacts in destination |
MailboxSettings.ReadWrite | Restore auto-reply settings |
User.Read.All | Resolve destination mailbox UPNs |
Also add the Graph mailbox permissions MailboxItem.ImportExport.All and MailboxFolder.ReadWrite.All. Aatrex writes each mailbox item through the Microsoft Graph mailbox API; no Exchange Online permission is needed.
- Click Grant admin consent.
Step 4: Create a Migration Project
- In Aatrex, click Projects → Create Project.
- Select Mailbox Migration as the migration type.
- Enter the source and destination credentials.
- Click Test Connection → Save Project.
Step 5: Discover Shared Mailboxes
- Open your project and click Scan → Discover Users.
- By default, Aatrex discovers all mailbox types including shared mailboxes.
- Filter the user list by Mailbox Type = Shared to isolate shared mailboxes from regular user mailboxes.
Step 6: Map Shared Mailboxes
- Click Auto Map — Aatrex matches by email alias (the part before
@). - For shared mailboxes with a different email address on the destination, click the row and set the Destination UPN manually.
- Ensure each source shared mailbox maps to a destination shared mailbox — not to a user mailbox.
Step 7: Start Migration
- Select the shared mailboxes and click Migrate.
- Choose Full for first pass, or Date range for incremental.
- Click Start Migration.
Post-Migration Verification
- Sign in to Outlook on the Web as a user who has access to the shared mailbox.
- Open the shared mailbox and verify the Inbox, Sent Items, and custom folders are present.
- Confirm delegates (users with Send As or Full Access rights) are re-assigned on the destination — delegate permissions are not migrated by Aatrex and must be configured manually.
Common Issues
Shared mailbox does not appear in discovery
The shared mailbox may be hidden from the GAL or disabled. In Exchange Online PowerShell: Get-Mailbox -Filter {HiddenFromAddressListsEnabled -eq $true} to locate hidden mailboxes.
Migration fails with "Mailbox not found" on destination The destination shared mailbox was not pre-created. Create it in the Microsoft 365 admin centre before retrying.
Delegate access lost after migration Delegate permissions (Full Access, Send As, Send on Behalf) must be reconfigured manually on the destination tenant after migration.