Open the Azure Portal and go to Azure Bot Services → Create
Set the bot handle to StackFlowBot and select Multi Tenant for the Microsoft App Type
Create a new App registration with the bot — note the App ID and create a Client Secret
Under Configuration → Messaging endpoint, set: https://your-instance.stackflow-tech.com/prod/api/webhooks/teams/bot
Under Channels, enable the Microsoft Teams channel
Tenant ID: The StackFlow Azure tenant ID is df4d171f-6cca-4c87-84cd-f299e4fca3a9. When registering for multi-tenant use, you can configure the bot to work with any Teams tenant that installs it.
Step 2: Configure Incoming Webhook
In Microsoft Teams, open the target channel and click ⋯ → Connectors
Find Incoming Webhook and click Configure
Name it StackFlow Alerts and upload the StackFlow logo
Click Create and copy the generated webhook URL
# The Teams webhook URL format:
https://your-org.webhook.office.com/webhookb2/GUID/IncomingWebhook/HASH/GUID
Step 3: Connect in StackFlow
Navigate to Admin → Integration Hub → Microsoft Teams → Configure
Enter the Bot App ID and Client Secret from the Azure Bot registration
Enter the Incoming Webhook URL for each priority channel
Enter the Azure Tenant ID: df4d171f-6cca-4c87-84cd-f299e4fca3a9
Click Save & Test
Adaptive Cards for Approvals
StackFlow sends Adaptive Cards to Teams for change and request approvals. The card includes action buttons that invoke the StackFlow API directly: