Hi team,
We have a scenario where our application is running inside Microsoft Teams (as a Tab app), and we’d like to pass query parameters to our app when it loads.
Use cases include:
- Tracking where users are coming from when they open the tab
- Passing custom data or context on app launch
- Enabling deep-linking–style behavior with additional parameters
Question:
Is there an official or recommended way to pass query parameters to our tab when it is opened inside Teams?
For example:
- Can we include custom query params in the
contentUrl?
- Is there a Teams-specific mechanism for sending custom data to the tab (e.g., via context)?
- Does Teams strip or sanitize query parameters from the URL?
Any guidance or examples on how to handle custom parameters within Teams tabs would be extremely helpful.
Thanks!