Skip to content
All articlesSharePoint

SharePoint Knowledge Base: How to Create One (3 Ways)

How to create a knowledge base in SharePoint: the SharePoint Knowledge Base preview, modern pages with a page template, or a wiki page library, with steps.

3 Dec 202616 min read
SharePoint Knowledge Base: How to Create One (3 Ways)

How to create a knowledge base in SharePoint

There are three ways to build a knowledge base in SharePoint. SharePoint Knowledge Base, which is in preview, is a dedicated library of connected pages that you create from + New on a site or with Copilot. Modern pages on a SharePoint site are the established way: one page per article, a page template to keep articles consistent, and a web part that lists them. A wiki page library is the older option, with pages linked by typing a page name in double square brackets.

WayWhat it isWhere it applies
SharePoint Knowledge Base (preview)"A knowledge base is a specialized library of interlinked Markdown files on a SharePoint site.""SharePoint Knowledge Base is in Frontier preview and is rolling out to organizations in the Frontier program."
Modern pages with a page template"A SharePoint page template is a reusable page that you can use as a starting point for new pages or news posts."Microsoft's article applies to SharePoint in Microsoft 365
Wiki page library"A wiki is a site that is designed for groups of people to quickly capture and share ideas by creating simple pages and linking them together."Microsoft's article lists SharePoint in Microsoft 365 and SharePoint Server Subscription Edition, 2019 and 2016

What belongs in a knowledge base

Microsoft draws the line between a knowledge base and a document library in two sentences:

  • "Use a knowledge base for onboarding guides, decisions, procedures, FAQs, and troubleshooting guidance."
  • "Use a document library for source documents and working files."

That split holds for all three ways below. The articles people read are pages, and the files behind them stay in document libraries.

Way 1: SharePoint Knowledge Base (preview)

Microsoft: "SharePoint Knowledge Base gives a project team a single source of truth for its guidance, decisions, and procedures, organized as connected Knowledge Base (KB) pages on a SharePoint site." The pages are Markdown: "KB pages are Markdown (.md) files that people read and edit in SharePoint."

A knowledge base is added to a site that already exists. Microsoft: "People can add a knowledge base to any SharePoint site, including sites connected to Teams channels and Microsoft 365 groups."

What you need during the preview

RequirementMicrosoft's wording
Frontier program"Knowledge Base is rolling out to organizations in the Frontier program."
Usage-based billing"During the preview, Knowledge Base is available only to users who are enabled for usage-based billing through a spending policy in the Microsoft 365 admin center"
Site permissions"To create a knowledge base, people need permission to create content on the site. To write and edit KB pages, they need permission to edit the knowledge base (by default, site members)."
Microsoft 365 Copilot license"Required to use Copilot in SharePoint, including to ask Copilot questions about KB page content."

If the option is missing, Microsoft's note is: "If you don't see the option to create a knowledge base, contact your SharePoint administrator." For administrators it adds: "After you turn on Frontier access, it might take up to three hours for Frontier features to appear."

Create a knowledge base manually

  1. Open the SharePoint site, select + New on the command bar, and then select Knowledge base. From the app bar, the path is Build, then Knowledge base under Start building, then the destination site.
  2. Microsoft: "Choose whether to start with blank content or one of the three import options."
  3. Follow the prompts to finish creating the knowledge base.
  4. In the knowledge base, select New, and then select Blank page.
  5. Select the page name at the top, enter a name, and press Enter.
  6. Add the content. Microsoft: "On the first KB page, explain what the knowledge base covers and where readers should start."
  7. Select Save and exit.

To change a page later, select it in the knowledge base navigation and select Edit. Microsoft: "Write KB pages in the Visual editor or edit their Markdown in the Source editor. Both editors work on the same KB page." In Markdown, a link to another KB page is the page name in double square brackets, such as [[Page name]].

Create a knowledge base with Copilot

Microsoft's steps for Copilot in SharePoint:

  1. "Go to the SharePoint site where you want to create the knowledge base, and then open Copilot in SharePoint."
  2. Describe the knowledge base in the prompt box. Microsoft lists "its name, purpose, source links, the questions it should answer, and how to organize it."
  3. "Answer any follow-up questions and review the proposed goal and scope."
  4. "When creation is complete, open the knowledge base and review the KB pages."
PointMicrosoft's wording
Sources"People describe the knowledge base they want and include links to their sources, such as files and lists in OneDrive and SharePoint, emails, and meetings."
BillingCreating a knowledge base, adding sources, updating KB pages and checking health with Copilot use Copilot credits
Approval"Before Copilot in SharePoint continues with a task that uses credits, it asks the user to approve the credit use."
Batch size"Add no more than 10 files at a time."
Review"AI-generated content can be incomplete or incorrect, so review facts, source links, and conflicts before you share the knowledge base."
Autopilot"Where available, people ask Autopilot in the Microsoft 365 Copilot app to create a knowledge base on a SharePoint site."

Import Markdown, Confluence or a classic wiki

Open the knowledge base and select New, then Import. The import options are Markdown files, Folder, From Confluence and From classic wiki.

SourceWhat comes overWhat to plan for
Markdown files and folders"Individual .md files, or a folder with its file hierarchy""Images that the files reference aren't copied. Renaming another file type to .md doesn't convert it."
Confluence space"Supported text, headings, lists, code, common tables, links, page hierarchy, images, and attachments, from an HTML export ZIP file""Macros, layouts, and complex tables might be simplified."
SharePoint Classic wiki"Classic wiki pages from a Site Pages library""Web parts, custom scripts, CSS, page-level permissions, and full version history aren't migrated."

Microsoft: "Each import is a one-time copy that isn't synchronized with its source." For Confluence, it says to export the space in the normal HTML export format, download the ZIP file, and leave it as it is: "Don't unzip it or reorganize its contents." Confluence vs SharePoint compares the two products.

A classic wiki can also be migrated from its own library:

  1. "Open the Site Pages library that contains the Classic wiki pages."
  2. Select the pages to migrate. Microsoft: "If you don't select any pages, the import process includes all eligible pages in the library."
  3. "On the command bar, select Organize into knowledge base."
  4. Choose the destination site and knowledge base, review the permissions and any sensitivity warning, and start the migration.
  5. When it finishes, open the import report in the knowledge base to see which pages need attention.
TopicMicrosoft's wording
Permissions"By default, a knowledge base uses its site's permissions, so site members can edit it and site visitors can read it."
Sharing"People can share individual KB pages and their subpages, but not the whole knowledge base."
Access to all of it"To give people access to the whole knowledge base, ask a site owner to add them as site visitors."
Content from sources"Everyone who can access the knowledge base can see content added from a source, including people who can't open the source."
Search"People can find KB pages in SharePoint and Microsoft 365 search, and Microsoft 365 Copilot Chat might use KB pages that a person has access to in its answers."
Version history"The versions available depend on the library's versioning settings."
Sensitivity labels"KB pages don't support file-level sensitivity labels, and labels on source files don't carry over to KB pages."
Updates"KB pages don't update automatically when their sources change, and each import is a one-time copy."

Microsoft's advice on where to put one: "Create each knowledge base on a site whose entire audience should see everything in it."

Way 2: modern pages on a SharePoint site

This way uses standard SharePoint pages: a site, one page per article, a template so every article has the same layout, and a home page that lists the articles.

1. Choose the site

A knowledge base usually has a few writers and many readers, which is Microsoft's description of a communication site: "Small number of content authors and a much larger number of content readers or consumers." A team's own working knowledge base can sit on its team site. Team site vs communication site compares the two, and how to create a SharePoint site has the steps.

2. Save an article page as a template

  1. Create a page with the layout every article should have, for example a summary, steps and related links. Microsoft: "Create or open a page or news post that you want to use as the basis for your template."
  2. Select the down arrow next to Save and exit at the top of the page, and select Save as template.
  3. Microsoft: "After you save your template, it appears in the Templates gallery under Saved on this site."
  4. To make it the starting point for every new page, select More options (...) in the lower-right corner of the template, and then select Set default selection.
RuleMicrosoft's wording
Who can add one"You must have edit permissions on the site or be a site owner to add a template."
Scope"You can't create a template from a home page or use a page template across sites or groups."
Publishing"Template pages aren't published. Only the pages you create from the templates can be published."
Default"When you change the default selection in the Templates gallery, you change it for all users on the site."
Later changes"Changes to the template don't affect pages that were previously created from the template."

3. Create each article from the template

  1. "Go to your site home page, and then select + New > Page or News post."
  2. Select the template under Saved on this site.
  3. Add the content, and select Save and exit.
  4. Select Publish when the article is ready for readers.

How to create and edit a SharePoint page covers drafts, publishing and who can edit.

4. List the articles on the home page

The Highlighted content web part builds the list for you. Microsoft: "Use this web part to dynamically display content (documents, pages, news, videos, images, etc.) from a document library, a site, a set of sites, a site collection, or all sites."

SettingOptions Microsoft lists
SourceThis site, A document library on this site, This site collection, The page library on this site, Select sites or All sites
FilterTitle includes the words, Content includes the words, Recently added, Recently changed, Created by, Modified by, Managed property
Sort byMost recent, Most viewed, Trending, Managed property ascending, Managed property descending
LayoutCards, List, Carousel, Compact or Filmstrip
Limit"A maximum of 200 items can be returned."

For a knowledge base, set the source to The page library on this site. A web part sorted by Most viewed gives a popular articles list, and one filtered with Title includes the words gives a list for one topic. Readers also find articles with search; advanced search in SharePoint Online covers the search options.

Way 3: a wiki page library

Microsoft: "A team site is a wiki." It adds: "In a team site, each new page is created in the Site Pages library." A separate library is optional: "If you prefer to manage your wiki separately, you can create a wiki page library."

  1. Select Settings, and then select Add an app.
  2. On the Your Apps page, type Wiki into the search field and select Search.
  3. Select Wiki Page Library.
  4. In the Name box, type a name for the library, such as Wiki Pages.
  5. Select Create.
  6. In the Contents list, select the new wiki to open it.

Wiki pages link to each other by name. Microsoft: "You can use wiki links to link pages together by simply using the page name surrounded by double square brackets." It also notes: "If the page that you are linking to does not exist yet, you can create a link to the page anyway."

For a larger wiki, Microsoft describes the Enterprise wiki: "An Enterprise wiki is a publishing site for sharing and updating large volumes of information across an enterprise." It depends on publishing features: "The Publishing tab will not appear if the publishing features are not enabled at the site collection level."

Wiki pages in a Site Pages library are the classic wiki pages that SharePoint Knowledge Base can migrate with Organize into knowledge base.

Which way to choose

SituationUse
Your organization is in the Frontier program with usage-based billing, and a team wants connected pages built from its files, emails and meetingsSharePoint Knowledge Base
You are moving a Confluence space or Markdown files into SharePointSharePoint Knowledge Base, with the import options
You want a knowledge base for the whole organization on standard SharePointModern pages on a communication site, with a page template
You already have classic wiki pagesKeep the wiki, or migrate it with Organize into knowledge base

Keep the knowledge base current

A knowledge base is only useful while its articles are right, and none of the three ways updates itself.

WayHow it stays current
SharePoint Knowledge Base"There are no automated or scheduled updates. Updates happen only when someone asks."
SharePoint Knowledge Base health check"A health check uses Copilot Credits and finds broken links, KB pages that aren't in the navigation, and incomplete source references." It adds: "It doesn't verify accuracy."
Modern pagesA web part sorted by Most recent or filtered with Recently changed shows which articles have been updated

The source documents behind the articles stay in document libraries and build up over the years. Squirrel archives inactive files at file level from SharePoint document libraries to Azure Blob Storage in your own subscription. SharePoint document management best practices covers reviewing a library.

Frequently asked questions

Does SharePoint have a knowledge base feature?

Yes. SharePoint Knowledge Base is a specialized library of interlinked Markdown files on a SharePoint site. Microsoft states that it is in Frontier preview and is rolling out to organizations in the Frontier program. A knowledge base can also be built with modern pages or a wiki page library.

How do I create a knowledge base in SharePoint?

With SharePoint Knowledge Base, select + New on a SharePoint site and then Knowledge base, or describe the knowledge base to Copilot in SharePoint. With modern pages, save an article page as a template, create one page per article, and list the pages on the home page with the Highlighted content web part.

What do I need to use SharePoint Knowledge Base?

During the preview, Microsoft states that Knowledge Base is available only to users who are enrolled in the Frontier program and enabled for usage-based billing. A Microsoft 365 Copilot license is required to use Copilot in SharePoint, and tasks such as creating or updating a knowledge base with Copilot use Copilot credits.

Why is Knowledge base missing from the New menu?

SharePoint Knowledge Base is in Frontier preview, and Microsoft notes that availability might vary in your organization. If the option is missing, Microsoft says to contact your SharePoint administrator.

Can I import Confluence into SharePoint?

Yes, into a SharePoint Knowledge Base. Export the Confluence space in the normal HTML export format, then import the ZIP file. Microsoft states that macros, layouts and complex tables might be simplified, and that each import is a one-time copy.

Can I share a whole SharePoint knowledge base?

Microsoft states that people can share individual KB pages and their subpages, but not the whole knowledge base. To give people access to all of it, a site owner adds them as site visitors.

Do KB pages update when the source files change?

No. Microsoft states that KB pages don't update automatically when their sources change. Updates happen only when someone asks Copilot to update the knowledge base or edits a page.

What is the difference between a wiki and a knowledge base in SharePoint?

A wiki is made of wiki pages in a Site Pages library or a wiki page library, linked with double square brackets. SharePoint Knowledge Base is a specialized library of Markdown pages. Classic wiki pages can be migrated into a knowledge base with the Organize into knowledge base command.

Can I use a page template for knowledge base articles?

Yes. Open a page, select the down arrow next to Save and exit, and select Save as template. The template appears in the Templates gallery under Saved on this site and can be set as the default selection for all users on the site.

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.