Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

Plan for change Admin Low User Low Ask about this change Watch Bookmark Labels

MC1055554 The "Code snippets" feature for chats and channels will retire

Primary service: Teams

ChangePilot summary

  • The code snippets feature in Microsoft Teams will be retired, encouraging users to transition to code blocks.
  • Code blocks offer similar functionality to code snippets but will not initially include line numbers, which will be added later.
  • All previous code snippets will remain accessible after retirement but no new snippets can be created.
  • The change impacts users and administrators, requiring communication and documentation updates.
  • The update will occur automatically, with no action needed from administrators.

History

Recorded changes
  1. The retirement timeline for the code snippets feature has been updated from "starting May 30, 2025, and ending June 16, 2025," to "starting early June 2025 and ending mid-June 2025."
  2. The retirement timeline for the code snippets feature has been updated from "starting May 30, 2025, and ending June 16, 2025," to "starting early June 2025 and ending mid-June 2025."

Microsoft message

Updated June 4, 2025: We have updated the timeline below. Thank you for your patience.

We will retire the code snippets feature for chats and channels from Microsoft Teams starting early June 2025 (previously May 30) and ending mid-June 2025 (previously June 16). We made this decision to streamline our development efforts and enhance the overall user experience by focusing on code blocks, which are faster and more efficient, allowing users (mainly developers) to create, edit, and share code directly in the compose box without needing a title. Code blocks offer almost all the features of code snippets, except for line numbers. We will be adding line numbers to code blocks in the coming months. Also, code blocks will soon be viewable on mobile devices, ensuring that users can access and collaborate on code from anywhere.

This message applies to Teams for Windows desktop. Teams for Mac desktop, and Teams for the web.

Code snippet example:

user controls

Code block example:

user controls

Users will no longer be able to create code snippets after the feature retires, but all previously sent code snippets will remain accessible in Teams. Users will not be able to create new code snippets after May 30, 2025.

This change will happen automatically by the specified date. No admin action is required. Please notify your users about this change, update relevant documentation as appropriate, and share the code blocks alternative.

Learn more

More information

Details

Release start
Release end
Published by Microsoft
Updated by Microsoft

Services

  • Teams

Category

  • Plan for change

Microsoft tags

  • User Adoption
  • Admin Action
  • Retirement
Open in the Microsoft 365 admin center