Forum Discussion
How to Open a Configuration Tab or Dialog When Clicking ‘Setup’ During App Installation on a Team
DSRA2115 -
From your company Configuration as 'Set Up as bot' without a configurable tab: This approach is feasible. You can configure your bot without a tab by ensuring that your app manifest does not include any static or configurable tabs. This can be done by removing the "staticTabs" and "configurableTabs" sections from your manifest file.
Ref Doc: How to Create Channel/Group Tab - Teams | Microsoft Learn
Displaying a dialog box for permissions and third-party authentication: You can handle the "add InstallationUpdate" webhook event from the backend using Golang. However, opening a dialog box directly from the backend is not possible. The dialog box must be triggered from the frontend. You can achieve this by sending a proactive message from your backend to the user, which includes a deep link to open the dialog box.
Ref Doc: Publish Power Virtual Agents Chatbot - Teams | Microsoft Learn
Bots in Microsoft Teams can be configured to handle various tasks, including authentication and permissions. You can use the Bot Framework to create a bot that interacts with users and handles authentication flows. The Bot Framework SDK provides tools and libraries to help you build and manage your bot.
Ref Doc: Introduction to Bots in Teams Apps - Teams | Microsoft Learn
Building a Microsoft Teams Bot App: This guide provides a step-by-step process for setting up a bot app in Microsoft Teams, covering everything from app registration to deployment. It includes details on how to configure your bot and handle authentication.
While you can handle the "add InstallationUpdate" webhook event from the backend, the dialog box for permissions and third-party authentication must be triggered from the frontend. You can achieve this by sending a proactive message from your backend to the user, which includes a deep link to open the dialog box.