I'm developing a Microsoft Teams bot using Visual Studio (.NET) and Teams Toolkit.
When I first publish my Teams bot, it works fine (I am testing it using http triggers). I am following this process in Teams Toolkit:
- Prepare Teams App Dependencies
- Provision in the Cloud
- Deploy to the Cloud
- Open Teams Developer Portal to Publish
But whenever I update the source code and increase the version in manifest.json, my bot does not send notifications using the same triggers (following the same process above to publish any update). I have to uninstall the bot from my user and then install it again for it to be recognized (which I do not want to be doing manually).
Can you please help me with this? Am I missing something?
I've tried finding documentation on Microsoft end to try and fix this.
Seems you're using the default local file storage, Azure web app and Azure Functions clean up the local file during a restart or redeploy. You need to implement your own storage to persist the conversation reference.
You can refer to the Add Storage part of the documentation for more info.