Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: botFramework/create failed #11397

Closed
nicodecleyre opened this issue Apr 17, 2024 · 2 comments
Closed

Error: botFramework/create failed #11397

nicodecleyre opened this issue Apr 17, 2024 · 2 comments
Assignees
Labels
investigating needs more info Need user to provide more info TA:Infra Team Area: Infra

Comments

@nicodecleyre
Copy link

Describe the bug
Unable to create the botFramework when using the Teams Toolkit CLI

To Reproduce
Steps to reproduce the behavior:

  1. Create a basic bot
    teamsapp new
    ? New Project Bot
    ? App Features Using a Bot Basic Bot
    ? Programming Language TypeScript
    ? Directory where the project folder will be created in ./
    ? Application name MyBasicBot
  2. cd .\MyBasicBot\
  3. teamsapp provision --env local
  4. Error showing:
    Executing action botFramework/create in lifecycle provision
    Unresolved placeholders(BOT_ENDPOINT) found for Action botFramework/create in lifecycle provision
    (×) Error: Failed to Execute lifecycle provision because there are unresolved placeholders ["BOT_ENDPOINT"] for action: botFramework/create. Env output...

Expected behavior
Bot should be created

Screenshots
image

CLI Information (please complete the following information):

  • OS: Windows 11
  • Cli Version 3.0.0

Additional context

  • i'm using global admin
  • using teams toolkit in visual studio code just works and from there the bot is created
  • When using the cli, the Entra app registration is created but it fails to create the bot in https://dev.botframework.com/bots/
Copy link
Contributor

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Apr 17, 2024
@adashen adashen added investigating TA:Infra Team Area: Infra labels Apr 18, 2024
@a1exwang a1exwang assigned jayzhang and unassigned a1exwang Apr 22, 2024
@jayzhang
Copy link
Member

@nicodecleyre Thanks for reporting. Debugging a bot locally needs local tunnel launched, which is integrated in VS Code debug configurations. If you want to provision in CLI, you need do some extra steps described in this doc: https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/debug-local?tabs=cli

@adashen adashen added needs more info Need user to provide more info and removed needs attention This issue needs the attention of a contributor. labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating needs more info Need user to provide more info TA:Infra Team Area: Infra
Projects
None yet
Development

No branches or pull requests

4 participants