Teams app with id <> already exists, skipped creating a new Teams app

Michele Cl 0 Reputation points
2024-03-20T18:43:26.1166667+00:00

I'm trying to create a new teams app to automate sending build status to our group teams chat (not Team in Teams/channel), and I downloaded the teams toolkit to Visual Studio 2022, updated Visual Studio 2022, and created a teams Message Extension project (shows the menus and files the project comes with in the project), and I' running through GettingStarted.md that it comes with. I created a dev tunnel, and the second time doing this set authentication type to Public and it's not letting me delete the old tunnel (failed to delete the dev tunnel. The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch). But I set the new tunnel to active, and this is the info:

User's image

When I try to do the step," right-click your project ans select teams toolkit>Prepare Teams app dependencies", I get this error:

Teams app with id <id> already exists, skipped creating a new Teams app.

User's image

I searched online and the closest I could find is https://techcommunity.microsoft.com/t5/teams-developer/error-updating-teams-app-id-in-manifest-doesn-t-match-installed/m-p/1964534

but my issue seems different, plus I'm not clear where they are telling me to do things to fix the issue (which does sound a little different).

How do I fix this without deleting it and re-creating it? Thanks!

Update: This is the steps it says to follow at the top, and #2 is failing:

  1. In the debug dropdown menu, select Dev Tunnels > Create a Tunnel (set authentication type to Public) or select an existing public dev tunnel.
  2. Right-click your project and select Teams Toolkit > Prepare Teams App Dependencies.
  3. If prompted, sign in with a Microsoft 365 account for the Teams organization you want to install the app to.
  4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
  5. When Teams launches in the browser, you can navigate to a chat message and trigger your search commands from compose message area.

Update2: I tried recreating my project, message extension type again, and created a new tunnel, and get this error now for the step 2, Prepare teams App Dependencies:

Configurating the dev tunnel to host the port failed. The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure: RemoteCerti...User's image This is what the tunnel looks like for the new one: User's image

Any idea what I'm missing here? It always has an error. Is there a step I'm missing? Thanks a lot!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,112 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,863 questions
{count} votes