Additional task-related features and issues within Microsoft Teams for business
Planner task comments are stored as Outlook group conversations and are available to compliance tools and via Microsoft Graph, but there is no dedicated, simple “export comments” button in the Planner UI.
For automation, the supported options from the provided information are:
- Use Microsoft Graph Planner APIs
Planner itself is powered by Microsoft Graph and Microsoft 365 groups. Planner comments are based on Outlook group conversations, and tasks/plans are accessible via the Planner APIs in Microsoft Graph. An automated solution would typically:- Use Microsoft Graph to enumerate plans and tasks.
- For each task, correlate and read the associated group conversation messages that represent comments.
- Store or export those messages (for example to a database or file).
- Use Microsoft Purview eDiscovery for compliance export
If the goal is to export comments for compliance or legal purposes rather than for an app integration, Microsoft Purview supports Planner content for plans that are shared with groups:- Supported Planner content includes tasks, comments, and attachments for plans shared with Microsoft 365 groups.
- Personal (roster) plans, plans in Loop components, and premium plans (formerly projects) are not supported.
- Using eDiscovery content search and legal hold, it is possible to search and export Planner content, including comments, in a governed way.
- Check plan-level settings that affect comment creation
When exporting or automating around comments, be aware that plan metadata includes settings such asPlan.CreateTaskCommentWhen, which defines which events create comments for tasks. This can affect what comments exist and therefore what can be exported.
If direct Graph API access to comments is constrained in the environment, the practical alternatives from the available information are:
- Using Microsoft Purview eDiscovery to export Planner tasks/comments/attachments for group-based plans.
- Building a solution around Microsoft Graph that reads the underlying Outlook group conversations where Planner comments are stored.
References: