check before: 2025-05-30
Product:
Teams
Platform:
Developer, Mac, mobile, Online, Web, World tenant
Status:
Change type:
User impact, Admin impact, Retirement
Links:

Details:
Summary:
Microsoft 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.
Details:
We 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
Change Category:
XXXXXXX ... free basic plan only
Scope:
XXXXXXX ... free basic plan only
Release Phase:
Created:
2025-04-15
updated:
2025-04-15
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**
Microsoft Teams will retire the "Code snippets" feature between May 30, 2025, and June 16, 2025, transitioning users to the more efficient "code blocks," which will eventually include line numbers and are optimized for mobile access.
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 snippets in chats and channels.
- roles: Developers, Team Leads
- references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c" target="_blank" rel="nofollow noopener noreferrer">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
Transition to Code Blocks
Users may face a learning curve when transitioning to code blocks, which could temporarily hinder productivity as they adapt to the new feature.
- roles: Developers, Project Managers
- references: 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 confusion among users if not updated promptly to reflect the changes in features.
- roles: Technical Writers, Developers
- references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c" target="_blank" rel="nofollow noopener noreferrer">https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c
Mobile Accessibility
The new code blocks will soon be viewable on mobile devices, but if users are not informed, they may miss out on this functionality, affecting collaboration.
- roles: Developers, Remote Workers
- references: https://support.microsoft.com/office/use-code-blocks-in-microsoft-teams-3b8f43ee-86bd-479b-8ad6-6f52661b21e3
User Notification
Failure to notify users about the retirement of code snippets may lead to frustration and decreased user satisfaction as they encounter unexpected changes.
- roles: IT Support, End Users
- references: https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c" target="_blank" rel="nofollow noopener noreferrer">https://support.microsoft.com/office/send-code-snippets-in-a-message-in-microsoft-teams-5406fe2b-2771-4b9a-bd73-656914f6ab3c
Configutation Options**
XXXXXXX ... paid membership only
Potentional Risks**
XXXXXXX ... paid membership only
IT Security**
XXXXXXX ... paid membership only
explanation for non-techies**
XXXXXXX ... free basic plan only
** 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.
Last updated 6 days ago