Message ID: MC1055554 (Updated)
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:
Code block example:
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
Source: Microsoft
<<< [MC1055554] Archive
Tooltip: View earlier revisions of this post
Latest Posts
- Power Platform admin center – Manage external authentication provider governance [MC1210742]
![Power Platform admin center – Manage external authentication provider governance [MC1210742] 2 pexels merlin 11137997](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Dynamics 365 Contact Center – Debug issues in automatic assignment with enhanced logs [MC1210746]
![Dynamics 365 Contact Center - Debug issues in automatic assignment with enhanced logs [MC1210746] 3 pexels olly 3824771](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Dynamics 365 Contact Center – Debug routing issues with Application Insights dashboard [MC1210743]
![Dynamics 365 Contact Center - Debug routing issues with Application Insights dashboard [MC1210743] 4 pexels apasaric 325185](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Power Pages – Build modern single-page applications [MC1210747]
![Power Pages – Build modern single-page applications [MC1210747] 5 pexels cottonbro 5772130](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
![(Updated) Microsoft Teams: The "Code snippets" feature for chats and channels will retire [MC1055554] 1 (Updated) Microsoft Teams: The “Code snippets” feature for chats and channels will retire [MC1055554]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-scottwebb-139205-1024x683.webp)
![Power Platform admin center – Manage external authentication provider governance [MC1210742] 2 pexels merlin 11137997](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-merlin-11137997-150x150.webp)
![Dynamics 365 Contact Center - Debug issues in automatic assignment with enhanced logs [MC1210746] 3 pexels olly 3824771](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-olly-3824771-150x150.webp)
![Dynamics 365 Contact Center - Debug routing issues with Application Insights dashboard [MC1210743] 4 pexels apasaric 325185](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-apasaric-325185-150x150.webp)
![Power Pages – Build modern single-page applications [MC1210747] 5 pexels cottonbro 5772130](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-5772130-150x150.webp)
![(Updated) Microsoft Teams: Client health dashboards in Teams admin center [MC1015900] 9 (Updated) Microsoft Teams: Client health dashboards in Teams admin center [MC1015900]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-106144-150x150.webp)