The Wild

Migrate Global Address List to Office 365?

· 5 min read · Mammals

In this article
  1. What Exactly Is the Global Address List?
  2. Why You Can't Just "Migrate" the GAL Directly
  3. Step-by-Step: Migrating Your GAL to Office 365
  4. Common Problems and How to Avoid Them
  5. Hybrid vs. Full Migration: Which Is Right for You?
  6. Costs and Licensing Considerations
  7. Frequently Asked Questions

Yes, you can migrate your on-premises Global Address List (GAL) to Office 365, but it's not a direct copy-paste; it involves syncing your on-premises Active Directory with Azure AD using Azure AD Connect, then ensuring your Exchange Online directory is populated correctly. The GAL in Exchange Online is automatically generated from the synced user, group, and contact objects, so the real work is in preparing and syncing your on-premises directory.

What Exactly Is the Global Address List?

The Global Address List is a directory of all mail-enabled objects in your organization—users, groups, distribution lists, rooms, and equipment mailboxes. In on-premises Exchange, it's stored in Active Directory and managed via Exchange Admin Center or PowerShell. In Office 365 (Exchange Online), the GAL is built automatically from Azure AD, which in turn gets its data from your on-premises AD if you're using directory synchronization. There's no separate "GAL file" to upload; it's a dynamic view of your directory.

Why You Can't Just "Migrate" the GAL Directly

A common misconception is that the GAL is a standalone list you can export and import. In reality, it's a virtual container that reflects your directory schema. If you move to Office 365 without syncing, you'll have to recreate every mail-enabled object manually—a huge effort. The proper approach is to synchronize your on-premises AD with Azure AD, which then populates Exchange Online's GAL. This is also why planning your attribute mapping (like display names, email addresses, and proxy addresses) is critical before migration.

Step-by-Step: Migrating Your GAL to Office 365

  1. Prepare your on-premises AD: Clean up stale objects, ensure all mail-enabled users have correct SMTP addresses, and verify that your UPN (User Principal Name) matches your primary email domain.
  2. Install and configure Azure AD Connect: Choose the right sign-in method (Password Hash Sync, Pass-through Authentication, or Federation) and select the OUs you want to sync. Enable Exchange Hybrid if you plan to have a coexistence period.
  3. Run a full synchronization: After initial sync, verify in Azure AD that all users, groups, and contacts appear correctly. Use the Azure AD Connect Health tool to monitor sync errors.
  4. Assign Exchange Online licenses: Users need an Exchange Online license to appear in the GAL. Unlicensed users won't be visible, even if synced.
  5. Verify the GAL in Exchange Online: Use Exchange Admin Center to check that the GAL is populated. You can also use PowerShell to compare counts between on-premises and cloud.
  6. Cut over or coexist: If you're fully migrating, decommission on-premises Exchange after the cutover. If you're in hybrid, the GAL will be merged via the Exchange Hybrid wizard.

Common Problems and How to Avoid Them

  • Duplicate or missing objects: Often caused by incorrect filtering in Azure AD Connect or mismatched anchor attributes. Ensure your source anchor is set to a stable attribute like objectGUID.
  • GAL not updating: The GAL updates every 24-48 hours, so don't panic if changes don't appear instantly. Force a sync with Start-ADSyncSyncCycle if needed.
  • Proxy address conflicts: If a user has the same email address as a cloud-only object, sync will fail. Resolve conflicts by updating the on-premises proxyAddresses attribute.
  • Hidden mailboxes: If a user is hidden from the GAL in on-premises, you must also set msExchHideFromAddressLists to true in AD—it won't sync automatically.

Hybrid vs. Full Migration: Which Is Right for You?

If you're keeping some mailboxes on-premises while moving others to Exchange Online, a hybrid deployment is the way to go. The Hybrid Configuration Wizard creates a shared GAL that includes both on-premises and cloud objects. This is ideal for phased migrations. If you're moving everything at once, you can skip hybrid and just sync all objects to Azure AD, then decommission on-premises Exchange. However, even in a full migration, Microsoft recommends keeping a minimal on-premises Exchange server for management purposes, as some attributes can only be edited on-premises.

Costs and Licensing Considerations

There's no separate cost for the GAL itself—it's part of Exchange Online. However, each user who needs to appear in the GAL must have an Exchange Online license (e.g., Microsoft 365 E3 or Business Premium). If you have shared mailboxes, they don't require a license but still appear in the GAL if they're mail-enabled. Azure AD Connect is free, but if you need advanced features like password writeback, you'll need Azure AD Premium P1. Plan for these costs before migration.

Frequently Asked Questions

Will my on-premises GAL be overwritten when I sync?

No, the sync is one-way from on-premises to Azure AD. Changes made in on-premises AD will propagate to the cloud, but changes made directly in Exchange Online (like modifying a user's display name) will be overwritten on the next sync unless you enable Exchange hybrid writeback.

Can I migrate the GAL without moving my mailboxes?

Yes, you can sync your directory to Azure AD and use Exchange Online for a new tenant while keeping mailboxes on-premises. This is common in hybrid scenarios. The GAL will show both on-premises and cloud mailboxes if you configure the Hybrid Configuration Wizard.

How long does the GAL take to appear in Office 365?

After the first full sync, the GAL is usually available within a few hours, but it can take up to 48 hours for all changes to propagate. If you need it faster, you can trigger a delta sync.

What if I have multiple on-premises forests?

Azure AD Connect supports multi-forest synchronization, but you'll need to ensure that each forest has a unique anchor and that there are no conflicts. You may also need to configure a common UPN suffix.

Do I need to keep my on-premises Exchange server after migration?

Microsoft recommends keeping at least one Exchange server for management, even after full migration, because some attributes (like offline address book settings) can only be edited via Exchange Management Shell. If you remove it, you may lose the ability to manage certain recipient properties.