MC1472029 High
Code Blocks in M365 Copilot
Summary AI-generated
Microsoft 365 Copilot will display code blocks and visual outputs inline within chat conversations, streamlining the review and sharing experience for users.
Suggested actions AI-generated
- Notify users about the new inline preview experience
- Update internal training or adoption materials
Written by Azure OpenAI (gpt-4.1) from the text of the post below. It can be incomplete or wrong; the original post is authoritative.
Similar posts
Search for more like this- MC1472030 Writing Blocks in M365 Copilot
- MC1281507 Microsoft 365 Copilot: Discover Copilot actions in OneDrive/SharePoint file preview
- MC1470885 M365 Copilot: Tell Copilot what you need directly from the Copilot button in Word, Excel, and PowerPoint
- MC1384426 Microsoft 365 Copilot in Word: Improved support for complex edits
- MC1462472 Microsoft 365 Copilot: Draft Outlook emails directly in Copilot Chat on mobile
- MC1250062 Power Apps - Public preview for Microsoft 365 Copilot chat in canvas apps
Original post from Microsoft
[What and Why:]
We're introducing inline preview support for code blocks in Microsoft 365 Copilot. Users will be able to view and interact with supported content, such as code, charts, diagrams, and other visual outputs, directly within the conversation experience.
Previously, users previewed code content in a separate side-by-side code canvas. With this update, previews are displayed inline within the chat, reducing context switching and making it easier to review, iterate on, and share generated content.
[Rollout Schedule:]
General Availability (Worldwide): We will begin rolling out in mid-September 2026 and expect to complete rollout by late September 2026.
[Impact on Your Organization:]
Who is affected
- Users with access to Microsoft 365 Copilot.
Platforms
- Microsoft 365 Copilot
What will happen
- Supported code blocks will render directly within Copilot conversations.
- Users can preview supported content types, including code, charts, diagrams, and similar visual outputs, without opening a separate code canvas.
- The update streamlines the Copilot experience by keeping generated content and previews within the conversation flow.
- Existing Copilot workflows and prompts continue to work as expected.
[Action Required / Recommendations:]
No action is required.
You may want to notify your users about this experience update and update any internal training or adoption materials that reference the side-by-side code canvas experience.
Additional details from Microsoft
- Summary
- Microsoft 365 Copilot will support inline previews of code blocks, charts, and diagrams within conversations, eliminating the need for a separate code canvas. This rollout begins mid-September 2026 worldwide, enhancing user experience without requiring action, though user notification and training updates are recommended.