
Viewing Knowledge Bases
Open Knowledges and go to Knowledge Bases to see all stores you have access to. Each card shows:- Name and description
- Document count - How many files are indexed
- Status - Ready, processing, or error
- Created date
- All - Everything you can access
- My Knowledge Bases - Stores you created
- Shared with Me - Stores others have shared
Creating a Knowledge Base
- Click Create Knowledge Base
- Enter a name and description
- Select an embedding model
- Click Create
Choosing an Embedding Model
The embedding model determines how documents are converted to vectors for search. Options depend on your organization’s configuration.
When a model supports multiple dimensions, higher dimensions capture more nuance but use more storage. The default is usually a good balance.
Adding Documents
Once created, add content to your knowledge base:File Upload
- Click Upload or drag files into the drop zone
- Select one or more files
- Wait for processing to complete
URL Import
Add individual web pages:- Click Add URL
- Enter the page URL
- Click Add
Web Crawling
Automatically discover and index pages from a website:- Click Add Web Source
- Enter the root URL
- Configure crawl settings:
- Path filter - Limit discovery to one section
- Blacklisted patterns - Skip low-value URL patterns
- Sitemap only - Crawl URLs from the sitemap
- XPath filter - Extract only useful page content
- Click Start Crawling
Managing Documents
Viewing Files
The Documents tab shows all content in your knowledge base:- Filename - Original file name or URL
- Type - File type (PDF, URL, etc.)
- Status - Indexed, processing, or error
- Size - File size
- Chunks - Number of text chunks created
- Date - When added
Filtering
Filter documents by source type:- All - Everything
- Files - Uploaded documents
- URLs - Individual web pages
- Web Crawl - Crawler-discovered pages
Document Actions
For each document:Viewing Chunks
Click View Chunks to see how a document was split:- Each chunk is a segment of text
- Chunks include metadata (page number, section, etc.)
- Preview how the agent will see the content
Knowledge Base Settings
Click a knowledge base to open its detail view, then go to Settings.Basic Settings
- Name - Display name
- Description - What this knowledge base contains
- Tags - Keywords for organization
RAG Configuration
Control how documents are processed and retrieved:Sharing
Control who can access this knowledge base. See Sharing & Access Control for full details. In brief:- Reader: Can search and view documents
- Editor: Can upload and modify documents
- Admin: Can manage who has access
- Owner: Full control including deletion
Decryptable labels
A document protected by a Microsoft Purview sensitivity label is encrypted: it is only indexed if the platform decrypts it. Decryptable labels sets which labels the platform may decrypt for this knowledge base. Three levels can set a list:
The most specific list applies: the knowledge base’s own, otherwise its organization’s, otherwise the platform’s. A level set to Inherit leaves the decision to the level above. An empty list decrypts nothing.
An organization’s list is a default, not a ceiling: a knowledge base can replace it with its own list, wider or narrower. To impose its list, the organization locks it: its knowledge bases then follow it and can no longer set their own. A platform lock does the same for every organization and knowledge base.
The crawler’s own allowlist,
MIP_ALLOWED_LABELS, set by the operator for the whole deployment (see Rights-Protected Documents), applies on top of these lists: a label must be allowed there too.
To set the list of a knowledge base:
- Open the knowledge base and go to Settings
- In Decryptable labels, select Custom list
- Type or paste the label GUIDs in Label IDs, then press Enter. To find a label’s GUID, see Microsoft Purview / MIP sensitivity labels
- To also allow files that a SharePoint library protected without a label, turn on SharePoint library protection, no label
- Click Save
decryptable_labels field (null inherits).
What happens to the documents
- A document whose label is not allowed is not decrypted. It stays in the document list without content, with the error Not decrypted: this knowledge base does not allow its sensitivity label. This holds when the crawler decrypts with the rights of the connection’s owner. When it decrypts with an application permission, the lists do not stop the decryption: such a document is indexed, but not returned by search until its label is allowed.
- Allowing the label later does not bring a refused document back by itself. Reindex that document, or click Retry failed documents on its connection. Reindex all documents skips the documents synchronized from a connector.
- Removing a label applies at once. Documents already indexed under it are no longer returned by search, and their chunks show Hidden: this knowledge base no longer allows the document’s sensitivity label.
mip:protection:label metadata (see Crawler, Document Metadata tab).
Platform list
The platform operator sets the platform’s list in the Storage workspace config (index.yml):
labels: label GUIDs, andsharepoint-libraryfor files a SharePoint library protected without a label.null, the default, sets no list;[]decrypts nothing.immutable:truelocks the list for every organization and knowledge base. It has no effect without a list.
labels that is not a list decrypts nothing until it is fixed.
Reindexing
Changing the parser or chunking settings only drives the documents indexed from then on. Saving those settings therefore opens a dialog that lists what changed and offers two answers:- Do nothing — the existing documents keep the settings they were indexed with
- Reindex all documents — every document, uploaded file and crawled page alike, is queued for re-processing with the settings just saved
- Go to Settings
- Scroll to Reindex and click Reindex all documents
- Confirm in the dialog, then wait for processing to complete
The button is inert while the parser or chunking form holds unsaved changes: a re-index always runs on the settings currently saved, so save first. Starting a second re-index while one is still running is refused with “A reindex is already in progress”.
Deleting a Knowledge Base
To remove a knowledge base:- Open the knowledge base
- Go to Settings
- Scroll to Danger Zone
- Click Delete Knowledge Base
- Type the name to confirm
Best Practices
Organize by topic
Organize by topic
Create separate knowledge bases for different domains rather than one giant collection. This improves retrieval accuracy and makes management easier.
Keep content fresh
Keep content fresh
Regularly update documents. Set up connectors for automatic syncing, or schedule manual reviews.
Use meaningful descriptions
Use meaningful descriptions
Good descriptions help others understand what each knowledge base contains and when to use it.
Monitor quality
Monitor quality
Test retrieval regularly. If agents aren’t finding relevant content, check chunk settings or add more specific documents.
Next Steps
Document management
Learn more about uploading and organizing documents
Crawl a website
Discover and index pages from a website
Connect to agents
Attach knowledge bases to your agents