Changing the "GIT Repo URL" from GitHub to Bitbucket is still showing the result of the old code

john john Pter 1,040 Reputation points
2024-10-24T02:04:31.7266667+00:00

I have installed this Teams Apps from GitHub:-

https://github.com/OfficeDev/microsoft-teams-emergency-operations-center

and i deploy it to our tenant and it is working well.

Now the customer asked us to clone this app >> do some changes >> so we can run a version which have our customization.

So i did those steps:-

  1. Clone the code from GitHub inside my machine
  2. since our client uses Bitbucket. so i modify the code locally using Visual Studio code >> then i push the changes to BitBucket
  3. I went to the deployment template inside azure portal , and i did those modifications:-
    • inside the web service >> deployment Center >> define BitBucket as External GIT:-

User's image

  • I went to the related resource group >> select the Template >> click on Redeploy

User's image

define the Bitbucket url as the "GIT Repo URl" and everything went fine.

User's image

but when i went back to my Teams app inside Teams desktop app or inside web browser, i still see the old code output.

For example inside BitBucket repo>> i modified the LocaleStrings.ts and i changed the label for a field as follow (from Incident Commander to Incident Controller):-

User's image

where the original label inside GitHub is:-

User's image

but inside the Teams app it is still showing the old label.. so what could be going wrong?

User's image

so why our Teams app is still referencing the GitHub code, although we explicitly define an external GIT and modify the "GIT Repo Url" inside the template??

Thanks

Microsoft 365 and Office SharePoint Development
Microsoft Teams Development
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.