Possible issue with iframe sandboxing or SDK initialization timing in the Teams web client?

Diermeier Lamaralus 120 Reputation points
2025-09-18T13:31:50.26+00:00

Created a personal app with configurable tabs using deep links generated via microsoftTeams.tasks.startTask({ url: "https:///tab?context=" }).

Links work from chat but fail when invoked from a message extension (error: "Invalid deep link format" code 800). Context JSON includes theme, entityId, and subEntityId per docs. Manifest version 1.13 with supportsDeepLinks true. Tested URL encoding and query params.

Possible issue with iframe sandboxing or SDK initialization timing in the Teams web client?

Microsoft 365 and Office | Development | Microsoft 365 Developer Program
0 comments No comments
{count} votes

Answer accepted by question author
  1. Kha-N 3,100 Reputation points Microsoft External Staff Moderator
    2025-09-18T14:44:10.4866667+00:00

    Hi @Diermeier Lamaralus,

    Welcome to the Microsoft Q&A forum, and thank you for reaching out to us.

    Please correct me if I’m mistaken, but it sounds like your app’s deep link works fine when triggered from Teams web chat, but fails with an "Invalid deep link format" error when invoked from a message extension. You’re wondering whether this issue is caused by iframe sandboxing or SDK initialization timing in the Teams web client.

    To assist you better, could you please share your JSON configuration file? Kindly remove any personal or sensitive information before posting.

    Also, have you tested this scenario in the Teams desktop client? If so, does the same error occur there?

    Looking 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.


0 additional answers

Sort by: Most 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.