OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 185 forks source link

Error: Your tenant doesn't allow creating a client secret for Microsoft Entra app. #12382

Open blackchoey opened 2 weeks ago

blackchoey commented 2 weeks ago

Describe the bug When provision a project with aadApp/create or botAadApp/create action, you may meet Your tenant doesn't allow creating a client secret for Microsoft Entra app. Create and configure the app manually. error.

Why this error happens The root cause is your tenant admin disabled Entra app client secret creation.

Workaround Option 1: You can create a M365 developer tenant and login to that tenant to continue development.

Option 2: You can reuse an existing Entra app in your tenant for your project. To reuse an existing Entra app, you can follow below documents:

anandrathnas commented 6 days ago

https://answers.microsoft.com/en-us/msteams/forum/all/created-a-new-app-with-teams-toolkit-the-most/3179a167-03ed-43cd-abdb-8b6669d13a6d

Any help from teams-toolkit team possible? The webchat works, but teams channel is not working because of this issue. What am I missing?

image image
blackchoey commented 4 days ago

@anandrathnas Since the error tells your tenant admin disabled the bot, please reach your tenant admin for help.

If you need further help from Teams Toolkit, please create a new issue for this problem so I can find appropriate people to help you. The problem you met is different with this issue.