OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
433 stars 170 forks source link

Teams app updates does not reflect quickly #11895

Open brijshah2709 opened 4 days ago

brijshah2709 commented 4 days ago

Describe the bug When manifest is updated and app version is updated, we see that teamsApp/publishAppPackage command works successfully and see publish update button on teams admin center but then navigating to the app still shows older version for ~24 hours. This delays the validation process and affects the developer debugging experience.

To Reproduce Steps to reproduce the behavior:

  1. Run teamsApp/publishAppPackage to upload initial V1.0.0
  2. Approve publish request in teams admin center
  3. Update manifest and bump up version to V1.0.1
  4. Run teamsApp/publishAppPackage again
  5. Go to teams admin center and approve publish update
  6. Go to teams app and see if version is still old/new

Expected behavior App should be updated quickly in teams

Screenshots

TAC

image

Teams

image

Using VS extension not** VS code

microsoft-github-policy-service[bot] commented 4 days ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

anchenyi commented 4 days ago

Hi @brijshah2709 , when you publish an app in the Microsoft Teams admin center, it usually takes a few hours for the changes to reflect in the Teams app. This is the behavior of Teams and is outside the scope of the Teams Toolkit. For debugging, you can press F5 locally or click the "Preview in Teams" in Teams Developer Portal (link) to see the latest changes.

brijshah2709 commented 3 days ago

Hi @anchenyi

Thank you for your response. Unfortunately, we are using toolkit for local development hence apps are not published on developer portal.

Is there a way to override caching and help show up app faster?

anchenyi commented 3 days ago

hi @brijshah2709 In Teams Toolkit, you can press F5 to start local debug, which will always use the latest changes. For the caching and update delay issue, you might need to reach out to Teams support.