Forum Discussion
Teams BOT install parameters.. How do I setup install parameters(APIKey, URL)
- Oct 23, 2023
Hi MikeHF,
as far as I know, there is currently no way to display a parameter page during the Teams bot installation process.
However, there are a few workarounds that you can use:1. Ask the client for the URL and API key before they install the bot.
You can provide the client with a link to a web page where they can enter the required information. Once they have entered the information, they can click a button to generate a unique installation link. You can then send this link to the client so that they can install the bot in Teams.
2. Ask the client for the URL and API key after they have installed the bot.
You can use a bot configuration experience to ask the client for the URL and API key after they have installed the bot. This will allow the client to configure the bot without having to go into Azure.
3. Use a local config store.
You can use a local config store to store the URL and API key on the client's machine. This will allow the bot to access the URL and API key without having to go to SharePoint.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
Hi MikeHF,
as far as I know, there is currently no way to display a parameter page during the Teams bot installation process.
However, there are a few workarounds that you can use:
1. Ask the client for the URL and API key before they install the bot.
You can provide the client with a link to a web page where they can enter the required information. Once they have entered the information, they can click a button to generate a unique installation link. You can then send this link to the client so that they can install the bot in Teams.
2. Ask the client for the URL and API key after they have installed the bot.
You can use a bot configuration experience to ask the client for the URL and API key after they have installed the bot. This will allow the client to configure the bot without having to go into Azure.
3. Use a local config store.
You can use a local config store to store the URL and API key on the client's machine. This will allow the bot to access the URL and API key without having to go to SharePoint.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
- MikeHFOct 27, 2023Copper ContributorI like #2, but It looks like the bot configuration experience has some issues, so I will wait for Microsoft to get it debugged and working better.
https://github.com/OfficeDev/TeamsFx/issues/10137
https://github.com/MicrosoftDocs/msteams-docs/issues/9726