Skip to content
All articlesSharePoint

SharePoint Document Management Best Practices: 10 Rules to Follow

Ten SharePoint document management best practices from Microsoft's guidance: sites, libraries, metadata, folders, permissions, versions, limits and retention.

2 Dec 202613 min read
SharePoint Document Management Best Practices: 10 Rules to Follow

SharePoint document management best practices

The practices Microsoft's own guidance supports are: create one site for each topic or unit of work, add topic-specific libraries in place of one large Documents library, organize with columns and content types before folders, keep folders to one or two levels, grant access to groups and let permissions inherit, keep unique permissions under 5,000 in a library, plan views around the 5,000-item list view threshold, set version limits, and review, retain and archive content on a schedule.

Each rule below comes from Microsoft's documentation, most of it written for SharePoint in Microsoft 365, with the page of ours that covers the detail.

RuleMicrosoft's number or wording
1. One site per topic or unit of work"plan to create one site for each discrete topic, task, or unit of work"
2. Topic-specific libraries"you aren't limited to just one library"
3. Metadata before folders"Rely on metadata, rather than on folders, to define a hierarchy of content"
4. Shallow foldersMore than "one or two levels of nesting" should be avoided
5. Content types defined onceUse "the root site of a site collection"
6. Groups and inheritance"avoid granting permissions to individuals, instead work with groups"
7. Few unique permissionsUp to 50,000 in a library, "keep it under 5,000"
8. Views built for large libraries30 million items in a library, 5,000 in a view
9. Version limits and check outVersion limits set; required check out off where people co-author
10. Review, retain, archiveReview sites and content "at least once a year"

1. Create one site for each topic or unit of work

Document management starts with where a document lives. Microsoft's information architecture guidance says: "In the new "flat" world of modern SharePoint, plan to create one site for each discrete topic, task, or unit of work." The reason it gives is ownership: "This allows you to easily distribute management and accountability for each content collection and support your ability to move sites around in your navigational architecture without breaking links."

The older pattern of subsites is no longer the recommendation. Microsoft: "In the modern SharePoint experience, subsites aren't recommended." Related sites are connected with hubs: "Connect families of related sites using hubs." SharePoint hub sites covers how, and what is a SharePoint site collection covers how sites and subsites relate.

2. Add topic-specific libraries

Microsoft: "Every site comes with one document library - but you aren't limited to just one library." Its advice for sites with a lot of content is: "Instead of using the one default Documents library on your intranet sites, consider adding topic-specific libraries and add site columns to organize your content within the libraries to avoid creating multiple levels of nested folders."

A library is also the natural boundary for settings. Versioning, required check out, columns, views and permissions are all set per library, so documents that need different rules belong in different libraries. SharePoint document libraries covers library structure.

3. Organize with columns and content types before folders

Microsoft: "Columns and content types are the two most important metadata elements that you can use to organize documents and pages in your SharePoint site." It explains why: "Metadata helps your users filter and sort content within a list or library - but also helps with search." Its enterprise content management guidance puts it as a rule: "Rely on metadata, rather than on folders, to define a hierarchy of content".

In practice:

  1. Add columns for the things people look for, such as department, project, document type or year.
  2. Build views that filter, sort and group on those columns. SharePoint views covers how.
  3. Use the same site columns across libraries, so a filter means the same thing everywhere.

Metadata reaches further than the library. Microsoft: "Metadata impacts search and browsing structure as well as compliance and retention policies."

4. Keep folders to one or two levels

Microsoft does not rule folders out. Its wording: "Folders are another way to organize document content, but folders are a physical construct with limited flexibility." And: "Folders aren't necessarily bad - they can help you manage performance and security in your document libraries - but folder structures with more than one or two levels of nesting create a significant discoverability burden for users and should be avoided."

Two jobs suit a folder:

JobWhy a folder fits
Sharing a set of files with the same peopleOne shared folder is one permission scope, where many shared files are many (rule 7)
Keeping a view under the list view thresholdMicrosoft lists folders among the ways to manage the number of items a view returns (rule 8)

Deep paths have a hard stop as well: the folder path and file name together are limited to 400 characters. SharePoint Online limits lists it with the other numbers.

5. Define content types once, at the top

A content type is how SharePoint treats a category of document consistently. Microsoft's planning article, written for SharePoint Server, defines it as "a reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents", and says each content type can specify metadata, document templates, workflows and information management policies. Content types inherit: "Content types are organized into a hierarchy that lets one content type inherit its characteristics from another content type."

Microsoft's guidelines for content management solutions add three rules:

  • "Avoid declaring Site Columns and Content Types in sub-sites, rather use the root site of a site collection to store all the Site Columns and Content Types of a hierarchy".
  • "Avoid renaming native fields like the Title field of items, rather use a custom column with a custom name as a suitable alternative".
  • "If your deployment is in SharePoint Online, prefer using Microsoft Flow to design business processes", the product now called Power Automate.

For documents that belong together, such as everything for one contract or one project, Microsoft describes a Document Set as "a group of related documents that you can manage as a single entity." SharePoint document sets covers them.

6. Grant access to groups and let permissions inherit

Microsoft's guidance for site owners:

PracticeMicrosoft's wording
Use the default groups"Give people access by adding them to standard, default groups (such as Members, Visitors, and Owners)."
Few owners"Make most people members of the Members or Visitors groups, and limit the number of people in the Owners group."
Groups, not individuals"avoid granting permissions to individuals, instead work with groups."
Least privilege"Give people the lowest permission levels they need to perform their assigned tasks."
Inheritance"Use permissions inheritance to create a clean, easy-to-visualize hierarchy."
Sensitive documents"Create a site or a library specifically for sensitive documents rather than having them scattered in a larger library and protected by unique permissions."

The last row is the one most often skipped. Putting sensitive documents in their own site or library keeps the permissions readable. SharePoint permission levels explains what each level allows.

7. Keep unique permissions low: share folders, not files

Every file or folder with its own permissions is what Microsoft calls a permission scope: "A permission scope is a uniquely secured object." A library starts with one, and "Breaking inheritance on a file or folder creates a new permission scope, increasing the scope count by 1."

LimitMicrosoft's wording
Unique permissions in a library"You can have up to 50,000 unique ACLs within a document library, but for best performance it's recommended that you keep it under 5,000."
Folder size"A folder can only break its inheritance if it has 100,000 or fewer items."

Microsoft's tips follow from those two numbers:

  1. "Minimize the number of unique permission scopes by leveraging inheritance."
  2. "Share folders instead of individual files to reduce the number of unique scopes."
  3. "Ensure folders that need unique permissions are shared before they exceed 100,000 items." Microsoft adds: "Ideally, share a folder when it contains zero items if you know it needs unique sharing."

Its own example shows the cost of sharing file by file: "If you have 10,000 files that you want to share with a user and you share each file individually, that will cost 10,000 scopes, degrading performance as you have exceeded the recommended 5,000 limit."

8. Build views for large libraries

Microsoft: "You can store up to 30 million items or files in a list or library." The constraint is on views: "When a list view shows more than 5,000 items, you might run into a list view threshold error." That number is fixed in Microsoft 365: "For SharePoint, the LVT limit can't be changed".

Microsoft's list of ways to manage the number of items a view returns includes indexing, filtering, folders and search. For a document library that means:

  1. Index the columns your views filter on. Microsoft says the first column in a filter must be indexed for a view to filter quickly through many items.
  2. Filter every large view on an indexed column, so each view returns fewer than 5,000 items.
  3. Use the modern experience. Microsoft: "Views showing many items work best in the modern experience."

SharePoint list view threshold covers the error messages, how to add an index and the fixes.

9. Set version limits, and think before requiring check out

Version history is what makes a mistake recoverable, and it is also storage. New libraries use Automatic version limits, and older ones may still keep up to 500 versions of every file. Decide the limit per library. Managing version history covers the settings and version history and storage covers what versions cost.

Required check out suits controlled documents and gets in the way elsewhere. Microsoft states that users cannot work simultaneously on documents when required check out is turned on, so leave it off in libraries where people co-author. Check out, check in and locked files covers the setting.

10. Review, retain and archive on a schedule

Microsoft's guidance for site owners is direct about upkeep: "It's a good idea to set a schedule for reviewing sites and their contents (at least once a year)". It also says: "Establish an audit schedule and assign content owners for large lists and libraries."

A document's life has three decisions:

DecisionTool
How long it must be keptRetention policies and retention labels. SharePoint document retention covers both
What happens when it is no longer in useArchiving. Squirrel moves inactive files into Azure Blob Storage in your own subscription and leaves a stub with the original name, so the library keeps its structure
What happens when the whole topic is finishedMicrosoft: "when a topic is no longer needed, you can easily archive or delete a site with minimal impact."

The third row is a benefit of rule 1. A site built for one topic can be closed as a unit. SharePoint archiving compares the options for files, sites and libraries.

Frequently asked questions

What are the best practices for document management in SharePoint?

Create one site per topic or unit of work, add topic-specific libraries, organize with columns and content types before folders, keep folders to one or two levels, grant access to groups and let permissions inherit, keep unique permissions under 5,000 in a library, filter large views on indexed columns, set version limits, and review, retain and archive content on a schedule.

Should I use folders or metadata in SharePoint?

Microsoft's guidance is to rely on metadata, rather than on folders, to define a hierarchy of content. It does not rule folders out: they can help with performance and security, but structures with more than one or two levels of nesting should be avoided.

How many folder levels should a SharePoint library have?

One or two. Microsoft states that folder structures with more than one or two levels of nesting create a significant discoverability burden for users and should be avoided.

How many documents can a SharePoint library hold?

Microsoft states that you can store up to 30 million items or files in a list or library. A view that shows more than 5,000 items can run into a list view threshold error, so large libraries need indexed columns and filtered views.

How many unique permissions can a SharePoint library have?

Up to 50,000, and Microsoft recommends keeping it under 5,000 for best performance. Sharing a folder counts as one; sharing each file in it separately counts as one per file.

Should I use one document library or several?

Several, when the content differs. Microsoft suggests adding topic-specific libraries with site columns in place of the one default Documents library, to avoid creating multiple levels of nested folders.

No. Microsoft states that in the modern SharePoint experience subsites aren't recommended, and that you should plan to create one site for each discrete topic, task or unit of work and connect related sites with hubs.

Where should sensitive documents go in SharePoint?

In their own site or library. Microsoft's guidance is to create a site or a library specifically for sensitive documents rather than having them scattered in a larger library and protected by unique permissions.

About the author
Mark Smith - Co-Founder, SmiKar Software

Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.

More about SmiKar

Ready when you are

Cut your Microsoft 365 storage bill - keep your data in your tenant.