Teams toolkit creates 2 app in azure portal on clicking f5

Copper Contributor

Why Teams toolkit creates 2 apps in the azure portal on clicking f5 for the first time, why different id is used for local and development mode?

Screenshot 2023-01-24 at 7.30.38 PM.png

5 Replies
@ituser1n03v - Thanks for reporting your issue.
Could you please elaborate your requirement and share the repro steps, so that we can try it from our end?

@ituser1n03v -We are not able to repro the issue as it is showing the single app.
Could you please share the repro steps so that we can try it from our end?
Reference doc-Create a new Teams app - Teams | Microsoft Learn
azure.png

@Sayali-MSFT 

Step 1- Install the team's tool kit in visual studio code

Screenshot 2023-01-26 at 10.45.53 PM.png

Step 2: Create a new app from a sample click create

Screenshot 2023-01-26 at 10.46.25 PM.png

Step 3: Then start debugging 
Screenshot 2023-01-26 at 10.47.29 PM.png


step 3 login to the azure portal and navigate to AAD https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps
2 apps are registered.

 

@ituser1n03v - We are able to repro the issue, we are checking with engineering team if it is bug or by default behavior. if it is bug then we raise it accordingly and we will inform you once we get any update.
teambot.png

@ituser1n03v 

 

The toolkit is following the best practices recommended by Bot Framework: Bot Framework SDK authentication basics - Bot Service | Microsoft Learn

 

  • Keep the Azure AD app registration restricted to its original purpose of service to service application.
  • Create an additional Azure AD app for any user to service authentication, for more finite control over disabling authentication connections, rolling secrets, or reusing the Azure AD app with other applications.

For future issues, the best place to get support for Teams Toolkit is to file an issue at https://github.com/OfficeDev/teamsfx