create-planner-task-message
Posts a message to a Planner task's modern chat, supporting @mentions for user notification. Use this to send task updates visible to teammates.
Instructions
[beta] Create a new plannerTaskChatMessage on a plannerTask.
💡 TIP: Posts a message to a Planner task's chat (the modern 'task chat', not the legacy conversationThreadId comment). Microsoft is retiring the classic task comments experience and hiding it from the task (Planner 2026 update), so task chat is the current supported way to post per-task updates teammates will see, with @mentions. Body: { content: 'plain text or sanitized HTML', mentions?: [{ mentioned: 'user-id', position: 0, mentionType: 'user' }] } (mentions optional). No ETag/If-Match required. BETA Graph API: subject to change; delegated work/school accounts only — no application permissions, no personal Microsoft accounts, global cloud only (not GCC/DoD/21Vianet).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| plannerTaskId | Yes | Path parameter: plannerTaskId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |