MC1055554 – (Updated) Microsoft Teams: The “Code snippets” feature for chats and channels will retire (archived)

Microsoft Teams logo

check before: 2025-06-01

Product:

Teams

Platform:

Developer, Mac, mobile, Online, Web, World tenant

Status:

Change type:

Admin impact, Retirement, Updated message, User impact

Links:

Details:

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:

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

Change Category:
XXXXXXX ... free basic plan only

Scope:
XXXXXXX ... free basic plan only

Release Phase:

Created:
2025-04-15

updated:
2025-06-05

Task Type

XXXXXXX ... free basic plan only

Docu to Check

XXXXXXX ... free basic plan only

MS Preperations

XXXXXXX ... free basic plan only

MS Urgency

XXXXXXX ... free basic plan only

MS workload name

XXXXXXX ... free basic plan only

Pictures

XXXXXXX ... free basic plan only

summary for non-techies**

XXXXXXX ... free basic plan only

Direct effects for Operations**

Retirement of Code Snippets Feature
Users will no longer be able to create new code snippets, which may disrupt workflows for developers who rely on this feature for sharing code.
   - roles: Developers, Team Leads
   - references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c, https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3

User Experience Transition
Users may experience confusion or frustration during the transition from code snippets to code blocks if not properly informed, impacting productivity.
   - roles: End Users, Project Managers
   - references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c, https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3

Documentation Updates
Existing documentation may become outdated, leading to potential errors in user guidance and support processes.
   - roles: Technical Writers, Support Staff
   - references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c, https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3

Mobile Device Accessibility
The lack of immediate mobile support for code blocks may hinder users who rely on mobile devices for collaboration.
   - roles: Mobile Users, Remote Workers
   - references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c, https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3

Feature Limitations
Code blocks will initially lack certain features (like line numbers), which may limit functionality for users accustomed to code snippets.
   - roles: Developers, Quality Assurance
   - references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c, https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3

Configutation Options**

XXXXXXX ... paid membership only

Potentional Risks**

XXXXXXX ... paid membership only

IT Security**

XXXXXXX ... paid membership only

explanation for non-techies**

Microsoft Teams is making a change to how users can share code within chats and channels. Imagine you have a favorite tool or gadget that you've used for a long time, like a trusty old calculator. It's done the job well, but now there's a new model that’s sleeker, faster, and can do more things. That's what's happening with the "code snippets" feature in Teams.

The "code snippets" feature is being retired, which means it will no longer be available for creating new snippets after mid-June 2025. However, any code snippets that were created before this change will still be accessible. The new tool replacing it is called "code blocks." Think of code blocks as the upgraded version of your calculator. It’s designed to be more efficient and user-friendly, allowing developers to write and share code directly in the chat without needing to add a title.

Code blocks are like a notebook that lets you jot down ideas quickly and share them easily. They are almost identical to code snippets but will soon include line numbers, making it easier to reference specific parts of the code. Additionally, code blocks will be accessible on mobile devices, so you can review and collaborate on code from anywhere, just like being able to use your calculator on the go.

For those who use Microsoft Teams on Windows, Mac, or the web, this change will happen automatically, so there's no need for any administrative action. However, it's important to inform users about this transition and update any relevant documentation. This way, everyone can smoothly switch to using code blocks and continue their work without interruption.

For more information on how to use code blocks or to understand the transition better, Microsoft Support provides detailed guides and resources.

** AI generated content. This information must be reviewed before use.

a free basic plan is required to see more details. Sign up here


A cloudsocut.one plan is required to see all the changed details. If you are already a customer, choose login.
If you are new to cloudscout.one please choose a plan.



change history

DatePropertyoldnew
2025-06-05MC MessagesWe will retire the code snippets feature for chats and channels from Microsoft Teams starting May 30, 2025 and ending June 16, 2025. 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
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
2025-06-05MC TitleMicrosoft Teams: The "Code snippets" feature for chats and channels will retire(Updated) Microsoft Teams: The "Code snippets" feature for chats and channels will retire
2025-06-05MC Last Updated04/15/2025 02:29:522025-06-04T16:49:17Z
2025-06-05MC MessageTagNamesUser impact, Admin impact, RetirementUpdated message, User impact, Admin impact, Retirement
2025-06-05MC SummaryMicrosoft Teams will retire the "Code snippets" feature for chats and channels between May 30, 2025, and June 16, 2025. Users should transition to "code blocks," which are faster and more efficient. Existing code snippets will remain accessible, and no admin action is required.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.

Last updated 3 weeks ago ago

Leave a Reply

Share to MS Teams

Login to your account

Welcome Back, We Missed You!