RecoveryTools
SharePoint

How to Migrate a SharePoint Library and Retain Its Metadata

Jamie Kaler
· 11 minute read
Quick Answer

Migrate SharePoint document library metadata in 8 steps. Inventory, term store, columns, types, hub, pilot, waves and defaults. Build the structure in the target before the files move. Content types retain their IDs only when you recreate parents first. Views are rebuilt so check every view after the move. RecoveryTools SharePoint Migrator carries managed metadata. Pilot one library first and compare the content type IDs.

What Moves With Document Library Metadata?

Folders and files exit a document library with almost nothing to think about. Document library metadata is the part that fails and it fails in a way that looks fine on the first screen.

Open a migrated document library and the documents are there, the counts match, the folder tree looks right. Then somebody sorts by Department and the column is empty. Or it shows a forty character string that nobody can decipher. The content arrived. The thing that made it findable did not.

That happens because SharePoint does not store the word Finance in your column. It stores a pointer to a term in the term store, identified by a GUID. It does not store a content type by name either. It stores a hierarchical ID. Move the files into a target where those identifiers do not exist and every managed metadata column has a reference with nothing on the other end.

Jamie Kaler

Every failed metadata migration I have seen had the same root cause. Somebody moved the document library first and planned to sort out the taxonomy afterwards. There is no afterwards.

Marketing Head and Content Strategist, RecoveryTools

Why does the Order Decide Whether Metadata Survives?

Because a document library is the last thing in the chain, not the first. Everything it refers to has to exist before the files arrive.

The dependency goes one way. Terms live in the term store. Site columns point at term sets. Content types group site columns and inherit from a parent. A document library then applies content types and columns to the files inside it. Reverse that order and the library arrives with references that resolve to nothing, which is why values come across blank.

Blank is the good outcome for document library metadata. The worse one is partially correct. A column that exists with the right name but was recreated as plain text instead of managed metadata will accept values and look healthy and it will never work with filters, refiners or anything taxonomy driven again. Nobody notices for months and by then the document library is in daily use.

So the sequence is fixed. Term store, site columns, content types in parent to child order, hub publishing, then the document library. The wider cutover sequence around it is in the Microsoft 365 migration planning checklist.

What Happens to Term Store Metadata Between Tenants?

Nothing automatic. The term store is a tenant level service so a second tenant starts empty and the terms have to be recreated there before any document library that uses them moves.

Three traps come with that.

  • Term GUIDs have to line up. A managed metadata value is a pointer to a term ID. Recreate the term by hand with the same label and you get a new ID so the pointer still fails. Values that arrive looking like long random strings are telling you exactly this.
  • Closed term sets reject anything they do not know. If the target term set is closed and the term is missing, the save fails rather than creating it. Open term sets hide the problem by adding terms you did not plan for.
  • Term groups need a Term Store Administrator. Microsoft lists creating or deleting term groups as a term store admin task so assign that role on the target before you rebuild the taxonomy.

Microsoft's own SPMT adds a condition for SharePoint Server sources. It accepts only one Managed Metadata Service term store set as the default for the site collection and if more than one is set as the default, it cannot decide which term store to migrate. The term store and its content remain behind and the managed metadata columns that referenced them can break. The fix sits in SharePoint Server 2013 Central Administration under Manage service applications. Open the properties of the Managed Metadata Service Connection and retain the setting for the default storage location of column specific term sets on one connection only.

Why do Content Types Break Metadata After the Files Arrive?

Because SharePoint identifies a content type by a hierarchical ID rather than by its name. Document is 0x0101 and a child type extends its parent's ID. Recreate a type by hand in the target and it gets a new ID so SharePoint treats it as a different type with the same name.

Everything downstream inherits that problem.

  • Parents first, always. A child type whose parent is missing or carries a different ID loses the inherited columns and the failure shows up only once content is uploaded.
  • Site columns match on internal name. The internal name and the field type both have to match so a column rebuilt with a friendly name that differs underneath will not bind.
  • Lookup columns store a list ID. That ID belongs to the source list so it needs remapping in the target or the lookup resolves to nothing.
  • Calculated columns break silently. Rename or drop a referenced column and the formula fails rather than warning.
  • The Content Type Hub is tenant level. Publish the hub types in the target and let them sync before the sites move or subscribing sites create disconnected duplicates instead of binding to the published type.

Tools that merge content types by name at the destination are the ones to watch. The result looks correct in library settings and skips column updates underneath so the document library reports a clean migration while half the document library metadata never bound.

Migrator options step showing the metadata checkbox for author, created and modified values
The Metadata checkbox covers the author, created and modified values and sits in the options step.

Move the Library Once the Structure is Already There

RecoveryTools SharePoint Migrator is an Easy to Use, graphical interface based utility and the software can copy document libraries between two Microsoft 365 accounts. RecoveryTools SharePoint Migrator is capable of carrying content types, managed metadata and version history so formatting and metadata are maintained and the migrated data is accessible.

Works on Windows 11, 10 and Windows Server.

How do You Migrate Document Library Metadata Step by Step?

Who it suits. Technical SharePoint admins and Term Store Administrators. Source file size limit. The list view threshold is about 5,000 items and a library takes 30 million items at most. Extra application. None, because a browser is enough.

Follow this order for document library metadata. Steps one to four are the project. Step seven is the part people think the project is.

  1. Inventory the document library structure, not the files. List the content types with their IDs and parent IDs, the site columns with internal names and field types and which sites subscribe to hub types. Numbers of documents matter less than this list.
  2. Recreate the term store in the target. Term groups, term sets and terms, with IDs preserved rather than retyped. Set the default storage location on one connection only.
  3. Rebuild the site columns. Matching internal names and matching field types and managed metadata columns bound to the new term sets rather than created as text.
  4. Recreate the content types parent to child. Preserve the original IDs. A type rebuilt with a fresh ID is a different type to SharePoint even when the name is identical.
  5. Publish the hub types and wait for the sync. Subscribing sites need the published type available before they receive content, otherwise they bind to a local copy.
  6. Pilot one real document library. One with unique permissions, a managed metadata column and at least one custom view. Time it and check the columns before scaling.
  7. Migrate the document library in waves. Off peak, with incremental passes for the delta. Large libraries also attract throttling.
  8. Set content types and defaults on the library. Default content type, column order, required fields and the views, because views are rebuilt rather than carried and nobody checks them until Monday.

Permissions follow a separate track from metadata and need their own mapping, described in how to migrate SharePoint permissions to another tenant. The links people already have to those files are a third track again, set out in what happens to SharePoint sharing links after migration.

Which Library Limits Affect a Metadata Migration?

Platform ceilings, not tool ceilings, set these limits so no product removes them. Read them before sizing the document library waves.

LimitValueWhat it means in a migration
List view thresholdAbout 5,000 itemsCannot be edited in SharePoint. Views and some operations block above it
Threshold warning3,000 itemsList settings can warn you here, which is your cue to index and filter
Items per list or library30 millionThe hard ceiling. Reached only by document libraries nobody has pruned
Unique permissions50,000 supportedMicrosoft recommends staying under 5,000. Flatten before moving
Lookup join threshold12 joinsLookup, Person and workflow status columns all count toward it
Query columnsOver 8 is blockedA view packed with lookups fails after migration rather than during it

The threshold is the one that bites. A document library of 40,000 files migrates without complaint and then refuses to show a sorted view, because the view was never indexed and the source farm happened to be more forgiving. Index the columns people sort on and build document library views that filter rather than views that scroll.

Timing for libraries at that size is worth calculating rather than guessing, which is covered in how long does a SharePoint move take and the licensing around it in SharePoint move cost.

How do You Verify Document Library Metadata Landed?

Who it suits. Site owners and admins who check the result. Extra application. None, because a browser is enough.

Counting files proves the copy completed. It proves nothing about document library metadata and the columns are what the business will judge.

  • Sort and filter by a managed metadata column. If it sorts, the binding is real. If it shows blanks or long random strings, the term IDs did not match.
  • Open the document library settings and read the content type IDs. Compare them with the source list you built in step one. Same name with a different ID is a failed migration wearing a good disguise.
  • Check one document of every content type. Required fields populated, inherited columns present, default values applied.
  • Open every custom view. Views are rebuilt, not carried and a view that lost a column looks like missing data to the person using it.
  • Test one lookup column. Lookups point at a list ID so this is where remapping failures surface first.
  • Compare version counts on a known file. Version history is its own question, answered in does SharePoint version history migrate between tenants.

Lists carry pointers a library does not, covered in how to migrate a SharePoint list to another tenant.

Frequently Asked Questions

Does Metadata Migrate With a SharePoint Document Library?

No. Metadata moves only if the structure exists in the target first. Managed metadata values are pointers to term GUIDs and content type IDs so the term store, site columns and content types have to be built before the document library moves.

Do Content Types Migrate Between Tenants?

No. SharePoint identifies a content type by a hierarchical ID, with Document as 0x0101 and child types extending the parent. A type rebuilt with a new ID is a different type so preserve the IDs and create parents before children.

Does SharePoint Block Views Above 5,000 Items?

Yes. The list view threshold blocks views and some operations above roughly 5,000 items and cannot be edited in SharePoint. A single document library can store 30 million items.

Does the Target Tenant Need a Term Store Administrator?

Yes. Microsoft says a term store admin can create or delete term set groups. Assign the admin role on the target tenant before you rebuild the taxonomy.

Do Empty Managed Metadata Columns Mean the Term IDs did Not Match?

Yes. Terms recreated by hand in the target get new GUIDs so the pointer in every migrated item resolves to nothing. Values that appear as long random strings are the same fault showing a raw ID instead of a label.

Do Views Move With the Library?

No. Views are rebuilt rather than carried so expect to recreate custom views, column order, required fields and default values after the content arrives. Put it in the plan instead of discovering it from a user on day one.

Can You Verify Metadata by Sorting a Column?

Yes. If a managed metadata column sorts, the binding is real. Blanks or long random strings mean the term IDs did not match so compare the content type IDs with the source list too.

Where Should You Start With Metadata Migration?

Export your content types with their IDs. Not the file counts, the IDs and the site columns with their internal names beside them.

That export is how you migrate document library metadata. Everything after it is copying and copying a document library is the part a tool does for you. If the IDs on the target match the IDs on that sheet, the metadata arrives. If they do not, no second copy of the document library will fix it.

Most teams discover this backwards, after the content is already in the new tenant and the columns are empty. Spend the week on the taxonomy instead and the document library becomes the easy part it should have been.

Jamie Kaler
Jamie Kaler Marketing Head and Content Strategist, RecoveryTools

Jamie blends strategic marketing insight with technical writing, turning migration and recovery topics into guidance that works for technical and general readers alike.

Published 9 October 2026. Term store conditions and library limits come from managed metadata migration and list view threshold for large lists and libraries.