Forum Discussion
How to create a teams app id?
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?
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:
- Set the application name.
- Add the Web redirect URI to
https://global.consent.azure-apim.net/redirect
. - Select both Access Tokens and ID tokens in the Implicit Grant and hybrid flows section.
-
Add API Permissions:
- In the API Permissions section, click on Add a permission.
- Search for the necessary permissions related to your Teams application.
-
Grant Consent:
- Ensure to select the required permissions, such as
user_impersonation
. - Grant admin consent if necessary.
- Ensure to select the required permissions, such as
-
Generate Client Secret:
- In the Certificates & Secrets page, create a new client secret and save the value for later use.
-
Copy Application (Client) ID:
- In the application Overview page, copy the Application (client) ID and save it for future reference.
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.