Microsoft Teams bot not sending notifications when deploying new version to azure

76 views Asked by At

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:

  1. Prepare Teams App Dependencies
  2. Provision in the Cloud
  3. Deploy to the Cloud
  4. 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.

1

There are 1 answers

1
KIMI On

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.