Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): mention protected sections for OneNote

Elian Dorandab9fced0255
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
index 7fe5e38d32..80cafd3608 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.html
@@ -132,6 +132,18 @@
<p>There are plans to support drawing-heavy notes that interleave with text
boxes by converting them to a&nbsp;<a class="reference-link" href="#root/_help_grjYqerjn243">Canvas</a>&nbsp;instead.</p>
</aside>
+<h3>Password-protected sections</h3>
+<p>OneNote supports encryption at section level; when importing a notebook
+ that contains these password-protection sections, Trilium will not be able
+ to read the content of password-protected sections so they will appear
+ empty. This is not a limitation of Trilium, the information is simply not
+ available from the source (Graph API).</p>
+<p>The section itself is kept for reference and all the sections that could
+ not be imported will be shown in the report (the top-level note called <em>OneNote import</em>).</p>
+<p>To unprotect a section in OneNote Desktop, right click on the protected
+ section → <em>Password Protect This Section </em>and press <em>Remove Password</em> and
+ sync. Then reimport either only the protected sessions or the remove everything
+ and start the import from scratch.</p>
<h2>Other limitations</h2>
<p>The following are known limitations due to how the information comes from
the import (Microsoft Graph API), which means that they cannot be fixed.</p>
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
index cc8319958d..847f07e599 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md
@@ -73,6 +73,14 @@ In addition, drawing in OneNote can be interleaved with text boxes. Text notes i
> [!NOTE]
> There are plans to support drawing-heavy notes that interleave with text boxes by converting them to a <a class="reference-link" href="../../../Note%20Types/Canvas.md">Canvas</a> instead.
+### Password-protected sections
+
+OneNote supports encryption at section level; when importing a notebook that contains these password-protection sections, Trilium will not be able to read the content of password-protected sections so they will appear empty. This is not a limitation of Trilium, the information is simply not available from the source (Graph API).
+
+The section itself is kept for reference and all the sections that could not be imported will be shown in the report (the top-level note called _OneNote import_).
+
+To unprotect a section in OneNote Desktop, right click on the protected section → _Password Protect This Section_ and press _Remove Password_ and sync. Then reimport either only the protected sessions or the remove everything and start the import from scratch.
+
## Other limitations
The following are known limitations due to how the information comes from the import (Microsoft Graph API), which means that they cannot be fixed.