Content Services — Term Store, Content Types & Search
📦 Module: 5 of 7
🎯 Exam: MS-102
⏱ Read time: ~22 min
MS-102 Exam Alignment
MS-102
- Know the term store hierarchy: Term store → Term groups → Term sets → Terms
- Know that managed metadata columns use term store terms to tag documents — enabling consistent taxonomy-driven classification across all sites
- Know the Content Type Hub — publishes content types tenant-wide to all site collections via syndication
- Know that crawled properties must be mapped to managed properties before they are searchable, and a site re-index is required for existing content to reflect new mappings
🏷️ Term Store & Managed Metadata
The term store is a centralised taxonomy management system accessible from SharePoint admin center → Content services → Term store.
| Concept | Description | Example |
|---|---|---|
| Term store | The root container — the entire managed metadata service for the tenant | The “Contoso Term Store” |
| Term group | Top-level organisational container. Only term store admins can manage groups | “Finance Terms”, “HR Terms” |
| Term set | A collection of related terms. Can be open (users can add new terms) or closed (only admins can add) | “Document Types” — Contract, Invoice, Policy, Report |
| Term | An individual value. Terms can have labels (synonyms), descriptions, and nested child terms | “Contract” → “Sales Contract”, “Vendor Contract” |
| Managed metadata column | A library column that lets users tag items with terms from a term set — ensuring consistent tagging across all sites | A “Document Category” column pointing to the “Document Types” term set |
💡 Open vs Closed Term Sets
- Open term set: Any contributor can add new terms from the document library column. Useful for growing vocabularies where users know the domain best
- Closed term set: Only term store contributors can add new terms. Users must choose from existing values. Required for compliance-critical taxonomies where consistency is mandatory
📄 Content Types & the Content Type Hub
| Concept | Description |
|---|---|
| Site content type | Defined at site level (Site Settings → Site content types). Available to all lists and libraries within that site and its sub-sites |
| List/library content type | A copy of a site content type added to a specific list or library. Inherits from the site content type but can be customised for that library |
| Content Type Hub | A special site collection that publishes content types tenant-wide. Published content types are available in ALL site collections after syndication |
| Syndication | The process of pushing content types from the Content Type Hub to subscribing site collections. Happens automatically on schedule or can be triggered manually via PowerShell |
| Document template | A content type can include a Word/Excel/PowerPoint template that opens pre-configured when a user creates a new document of that type |
🔍 SharePoint Search — Crawled & Managed Properties
| Search Concept | Description |
|---|---|
| Crawled properties | Auto-discovered by the search crawler when indexing content — SharePoint column values prefixed with “ows_”, document metadata, Office properties |
| Managed properties | Properties usable in search queries, refiners, and display templates. Must be explicitly created and mapped to one or more crawled properties |
| Mapping & re-indexing | A managed property only works after mapping to a crawled property AND a site re-index completes. Existing content is not searchable via the new property until re-indexed |
| Microsoft Search | Modern search experience surfacing results across SharePoint, Teams, Outlook, Bing. Admins configure Bookmarks, Acronyms, and Answers in Microsoft 365 admin center → Search & intelligence |
Connect-PnPOnline -Url https://your-tenant.sharepoint.com -Interactive # Get all term groups in the term store Get-PnPTermGroup | Select-Object Name,Id # Get term sets within a specific group Get-PnPTermSet -TermGroup 'Finance Terms' | Select-Object Name,IsOpenForTermCreation # Get all terms in a term set Get-PnPTerm -TermSet 'Document Types' -TermGroup 'Finance Terms' | Select-Object Name,Id # Get content types on a site Get-PnPContentType | Select-Object Name,Group | Sort-Object Name # Add a published hub content type to a library Add-PnPContentTypeToList -List 'Documents' -ContentType 'Finance Invoice' # Trigger site re-index after search schema changes Request-PnPReIndexWeb
💡 Best Practices
- Design the term store taxonomy before deployment — changing term names after documents have been tagged requires updating all tagged documents; plan upfront with information managers
- Use closed term sets for compliance-critical classifications (document type, classification level) — open term sets accumulate misspellings and variations that undermine taxonomy value
- Publish shared content types from the Content Type Hub rather than recreating them in every site — one change at the hub propagates to all subscribing sites automatically
- After creating custom managed properties for search, always request a re-index — without re-indexing, existing documents are not discoverable via the new managed property
🎓 Interview Q&A
An admin creates and maps a new managed property “ProjectCode” in SharePoint Search. Users search for project codes but existing documents return no results. What is the cause?
What is the correct hierarchy of the SharePoint term store from largest to smallest container?
An organisation needs the same “Vendor Contract” content type (identical columns and document template) in all 50 SharePoint sites. What is the correct approach?
A term set is configured as “Closed.” A user tries to tag a document with a new value that doesn’t exist in the term set. What happens?
A SharePoint column named “CostCentre” is used to classify documents. An admin wants users to search by cost centre value. What are the required steps in the correct order?
ows_CostCentre. (2) The admin creates a managed property and maps it to the crawled property in Search Schema. (3) The admin triggers a re-index of affected sites via Request-PnPReIndexWeb. After completion, users can search using CostCentre:"CC100".