Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Teams Group Connect App redeployment fails #36

Open
aarticyclotron opened this issue Dec 27, 2021 · 1 comment
Open

Teams Group Connect App redeployment fails #36

aarticyclotron opened this issue Dec 27, 2021 · 1 comment

Comments

@aarticyclotron
Copy link

aarticyclotron commented Dec 27, 2021

Hello Team,

We are facing an issue when we are trying to redeploy the Teams Group Connect app from GitHub.
Deployment always fails even after we do Sync and delete node modules folder.
Could you please help?

Please see below steps to reproduce an issue:

  1. Deploy the Group Connect app on azure.
  2. Deployment is successful and we are able to use the app as expected.
  3. If Azure subscription expired/deleted or we delete the existing group connect app and then we try to deploy the group connect app again on same Azure tenant, deployment always fails and the app doesn't work in teams.

Please find below screen shot of the error log:
image

image

PN: As mentioned in troubleshoot doc. we already tried Sync and deletion of node modules but still second deployment always fails.

@cristianoag
Copy link

Here are steps to fix this issue:

• Open portal.azure.com and use an admin credential to authenticate.
• Navigate to the resource group where all GC resources are installed.
• Click the App Service resource.
• On the left rail, scroll down to Development Tools and click Advanced Tools.
• Click Go
• Now on the menu located on the top of the page, select Debug console, and then click CMD
• Navigate to site\repository\Source\DIConnect\ClientApp. You can do that clicking on the folders on the box located on the top of the page or using the CD command on the MS-DOS command console
• Delete the node_modules folder by running the commands below on the command console

DEL /S /Q node_modules
RD /S /Q node_modules

• Delete the package-lock.json file
• Now clear the cache, you need to run the npm cache clean --force command in terminal.
• Run the npm install command in the terminal. (This will take some time).
• When finished, retry the sync process, and let me know the results.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants