Skip to main content
🦉
Message CenterMicrosoft 365 Updates
HomePermissionsTenant FinderPortfolio
🦉
M365 Message Centerby Cengiz YILMAZ

Track the latest updates, features, and announcements for Microsoft 365 services. Comprehensive archive of service updates and important changes.

Quick Links

HomePermissionsTenant FinderPortfolio

Connect

© 2026 M365 Message Center. Created with ❤️ by Cengiz YILMAZ

Data sourced from Microsoft 365 Message Center • Not affiliated with Microsoft

  1. Home
  2. /
  3. MC1055554

Microsoft Teams: The "Code snippets" feature for chats and channels will retire

Plan for Change
Major Change

Message ID

MC1055554
View in Admin Center

Services

Microsoft Teams

Summary

Microsoft Teams will retire the "Code snippets" feature for chats and channels from early to mid-June 2025. Users should transition to "code blocks," which will soon include line numbers and mobile device support. No admin action is required, but users should be informed. Existing code snippets will remain accessible.

Details

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

  • Send code snippets in a message in Microsoft Teams - Microsoft Support
  • Use Code Blocks in Microsoft Teams - Microsoft Support

Timeline

📅
Published
Apr 15, 2025
Message published to Message Center
✏️
Updated
Jun 4, 2025
Message content updated
🏁
End Date
Aug 29, 2025
Message timeline ends

Tags

#Updated message#User impact#Admin impact#Retirement

Category

📋Plan for Change

Related Messages

Similar updates

MC1166868●

Microsoft Teams: Retirement of UKG and Blue Yonder managed connectors for Shifts

Oct 6, 2025
MC1129730●

Remove toggle for Calendar in Teams

Aug 5, 2025
MC1059667●

Action required: Classic Microsoft Teams end of availability starts July 1, 2025

Apr 21, 2025
MC1052162●

Microsoft Teams: Now available - new policy setting for Speaker Attribution in BYOD scenarios - Enabled ON by default

Apr 10, 2025
MC808160●

Microsoft Teams: Office 365 Connectors feature retires starting August 15, 2024

Jul 3, 2024