Mar 12 2024 06:25 AM - edited Mar 12 2024 06:25 AM
Hi,
When using the Teams Toolkit vs code extension to create a teams application it runs the action teamsApp/create on provision, this is what generates the teams app id right? but where is this created? is it an app registration like botAadApp/create action creates to bind to a azure bot service? How can I manually create this teams app id on azure portal?
Mar 12 2024 10:28 PM
When using the Teams Toolkit extension in Visual Studio Code to create a Teams application, the teamsApp/create
action is indeed responsible for generating the Teams App ID.
The Teams App ID is not created as an app registration like the botAadApp/create
action does to bind an Azure Bot Service. Instead, the Teams App ID is automatically generated and associated with your Teams application during the provisioning process within the Teams Developer Portal.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Mar 13 2024 11:00 AM
Hey @Prasad_Das-MSFT, thanks for the quick reply. So the teams app id is just a random generated uuid v4? I ask this because I'm not 100% sure on how to do that step manually, should I just create a new app on the Teams Developer Portal? And by doing so won't this bind the app to my account? What should be the correct way to create the app for a productive scenario? Will it always be bind to a user account?
Mar 13 2024 11:24 PM
@PedroKlein - When you use Teams toolkit, this app id automatically gets created.
If you wish to manually create the Teams App ID in the Azure portal, you can follow these steps:
Sign in to Azure Portal: Go to Azure Portal and sign in with your account that has the necessary permissions.
Navigate to App Registrations: Once signed in, navigate to the Azure Active Directory section.
Create a New App Registration: Click on App registrations and then select New registration.
Configure the App Registration:
https://global.consent.azure-apim.net/redirect
.Add API Permissions:
Grant Consent:
user_impersonation
.Generate Client Secret:
Copy Application (Client) ID:
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.