Forum Discussion

CarterCC's avatar
CarterCC
Copper Contributor
Feb 26, 2025

Pass a custom parameter during app installation

Each customer in our application has a unique ID and Token, which we need to pass when they install our Teams bot.

We attempted to append these parameters to the installation URL as follows:
🔗 Installation URL:https://teams.microsoft.com/l/app/feea88de-b85f-4a8a-a724-d076d8de24af?source=app-details-dialog&context={id:%20%22%22,%20token:%20%22%22}

However, we are unable to retrieve these parameters in the installationUpdate callback.

 

What is the correct approach to pass and retrieve custom parameters (ID & Token) during bot installation?

Resources