We identified an inconsistency between the content displayed in OneNote UI and the HTML content retrieved using the "Get Page Content" action in Power Automate.
■ Details
In OneNote, sections such as:
[Work Content], [Issues], and [Notes]
are displayed as grouped elements under each date.
However, when retrieving the page content via Power Automate,
these elements are output as separate and ungrouped HTML segments.
The order and logical structure do not match the UI representation.
Additionally, elements that appear as a single logical block in the UI
are stored as independent paragraphs in the HTML,
resulting in a loss of structural context.
■ Issue
- Mismatch between UI display and retrieved HTML content
- Loss of logical grouping and structure
- Retrieved data cannot be reliably used in automation
- Difficult to parse and reconstruct accurately
■ Reproducibility
This issue does not occur consistently in all cases,
and the exact trigger conditions are currently unknown.
However, it occurs intermittently with similarly structured pages.
■ Steps to Reproduce
1. Create structured content in OneNote using repeated sections per date
2. Use Power Automate "Get Page Content" action
3. Inspect the HTML body output
■ Expected Result
The HTML output should preserve the same structure and order as displayed in the OneNote UI
■ Actual Result
The order and grouping are inconsistent,
resulting in a structure different from the UI display
■ Impact
This issue prevents reliable use of OneNote data in Power Automate workflows,
especially for structured data such as weekly reports.
Power Automateの「ページ コンテンツを取得」アクションにて取得されるOneNoteのHTMLデータが、
OneNote上で実際に表示されている内容と一致しない問題を確認しました。
■ 詳細
OneNote上では、以下のように日付単位で
「【作業内容】」「【課題】」「【連絡事項】」が一つのまとまりとして表示されています。
しかし、Power Automateで取得したHTML(Body)では、
これらの項目が分離され、順序やグルーピングが崩れた状態で出力されます。
また、本来同一ブロックとして扱われるべき要素が、
HTML上では独立した段落として定義されており、
表示上の構造が維持されていません。
■ 問題点
・UI表示と取得データの内容・順序が一致しない
・データの意味的な構造(グルーピング)が失われる
・業務上、取得データをそのまま利用できない
・自動化処理において正確な解析が困難
■ 再現性について
本事象は毎回必ず発生するわけではなく、
どの条件や操作をトリガとして発生するかは現時点で特定できていません。
ただし、同様の構造を持つページにおいて断続的に再現されています。
■ 再現手順
1. OneNoteにて日付ごとに同一フォーマットでデータを記載
2. Power Automateで「ページ コンテンツを取得」アクションを使用
3. 出力されるHTMLのBodyを確認
■ 期待結果
OneNote上で表示されている構造および順序を維持した状態で、
HTMLデータとして取得できること
■ 実際の結果
項目の順序およびグルーピングが崩れ、
UI表示と一致しないHTMLが取得される
■ 影響
本問題により、OneNoteのデータをPower Automateで利用した業務自動化に支障が発生しています。
特に、週報などの構造化データの取り扱いが困難となっています。

Report
All responses (
Answers (