Hi everyone,
I am working with SharePoint and Power Automate to track files created in a document library, and I am facing challenges specifically with OneNote notebooks.
**Based on testing, I found that the OneNote file is treated as a folder in SharePoint, and the sections and pages are treated as items.
Current Scenario
- Using trigger: “When a file is created/modified (properties only)"
- Logging entries in Excel for created items
Issues
- Multiple files for OneNote
A single notebook creates:.one(sections)Open Notebook.onetoc2(system file)
- Duplicate entries
Same file gets logged multiple times due to sync/updates. - Notebook vs Section
I only want to track the notebook, not individual.onesection files. - Rename not detected
Renaming a notebook (folder) does not trigger the flow.
Example
- File Name:
Open Notebook.onetoc2 - Path:
Shared Documents/DocumentTest/Internal/Internal/Test/testone/Open Notebook.onetoc2 Actual File name: testone
Requirement
- Track:
- Normal files (Excel, PPT, etc.)
- OneNote notebooks as a single entry
- Ignore:
.onefiles- Duplicate/system events
- Avoid duplicate logging
- Detect rename if possible
Questions
- What is the best way to identify a OneNote notebook in SharePoint?
- Can
Open Notebook.onetoc2be used to represent the notebook reliably? - How to avoid duplicate entries from OneNote sync?
- Is there a way to detect notebook (folder) rename in Power Automate

Report
All responses (
Answers (