Forum Discussion

ituser1n03v's avatar
ituser1n03v
Copper Contributor
Jan 24, 2023

Teams toolkit creates 2 app in azure portal on clicking f5

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?

5 Replies

  • 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

    • ituser1n03v's avatar
      ituser1n03v
      Copper Contributor

      Sayali-MSFT 

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

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

      Step 3: Then start debugging 



      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.

       

      • Sayali-MSFT's avatar
        Sayali-MSFT
        Icon for Microsoft rankMicrosoft

        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.

  • 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?

Resources