Teams deep-link message parameter persists as draft after message is sent

Renjith 0 Reputation points
2026-06-29T05:47:26.7866667+00:00

We have a web application that generates Microsoft Teams chat deep links with predefined recipients and a prefilled message. The feature has been working correctly for a long time and no changes have been made recently to the application or the URL generation logic.

Recently, we observed a change in behavior in the Teams client.

Expected Behavior

  1. User clicks a Teams deep link from our web application.
  2. Teams opens a chat with the specified recipient.
  3. The predefined message is populated in the compose box.
  4. User sends the message.
  5. User navigates to another chat.
  6. When returning to the original chat, the compose box should be empty.

Actual Behavior

  1. User clicks the deep link.
  2. Teams opens the correct chat and displays the predefined message.
  3. User sends the message successfully.
  4. User navigates to another chat.
  5. When returning to the original chat, the predefined message appears again in the compose box as an unsent draft, even though the message was already sent.

This behavior started approximately 2 weeks ago and was not occurring previously.We have a web application that generates Microsoft Teams chat deep links with predefined recipients and a prefilled message. The feature has been working correctly for a long time and no changes have been made recently to the application or the URL generation logic.

Sample Deep Link: https://teams.microsoft.com/l/chat/0/0?users=******@company.com&message=Test

Microsoft Teams | Microsoft Teams for business | Chats | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hani-Ng 12,585 Reputation points Microsoft External Staff Moderator
    2026-06-29T06:33:57.1166667+00:00

    Hi Renjith

    Based on the behavior you described, the deep link itself appears to be functioning as documented. The message parameter is intended to prepopulate text in the Teams compose box when opening a chat.

    Microsoft recently introduced a Teams update that restores certain conversation context when users return to a conversation. The release notes mention restoration of items such as selected tabs, opened side panels, and layout.

    However, the documentation does not currently specify whether draft messages, including text supplied through the deep-link message parameter, should be restored after a message has already been sent.

    Release notes for Microsoft Teams - Office release notes | Microsoft Learn

    According to my research and my understanding, since the behavior began recently and no changes were made to your application's deep-link generation logic, it is possible that the change is related to recent Teams client updates. Microsoft recently introduced conversation-context restoration in Teams; however, the documentation does not specifically describe the behavior of draft messages or text populated through the deep-link message parameter after the message has been sent

    To better understand your situation, could you please share some information:

    • Whether the behavior occurs in the Teams desktop client, Teams web app, or both?
    • The Teams client version where the behavior is observed?
    • Whether it affects all users or only specific users?
    • Whether the behavior only occurs when using deep links that include the message parameter?

    If the behavior is reproducible across multiple users and clients, it may be worth opening a support case with Microsoft and providing a screen recording along with the Teams client version and exact deep-link format being used.

    (Please understand that we're not Microsoft support, this is a user-to-user support forum. Moderators have no backend access and cannot directly intervene in Microsoft products. We provide only technical guidance and best-practice recommendations based on reported issues) 

    I hope this information helps and if look forward to your response.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.