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

ProvisionError: Failed to provision Developer Portal bot registration #569

Open
xlb233 opened this issue Dec 11, 2022 · 1 comment
Open
Assignees

Comments

@xlb233
Copy link

xlb233 commented Dec 11, 2022

I'm following the guidelines to debug this TeamsFx-Samples/share-now at vscode, the provision & deploying process are all good, the bot has successfully been deployed on Azure.
However, the task 'set-up-bot' will fail and throw an error when I'm trying to debug the project locally:

[2022-12-11T02:55:29.879Z] [Info] - Finished 'Set up tab' Visual Studio Code task in 0.12 seconds.
[2022-12-11T02:55:29.917Z] [Info] - Running 'Set up bot' Visual Studio Code task.

(Totally 5 steps) Teams Toolkit is setting up bot for debugging.

(1/5) Registering the AAD app which is required to create the bot ...
(2/5) Registering the bot in Bot Framework Portal ...

Summary:

√ Skip registering AAD app but use the existing AAD app from args: c87d9e6d-5f17-4c76-abe3-5a1c1643e937

× ProvisionError: Failed to provision Developer Portal bot registration.

My questions:

  1. What is this 'Registering the bot in Bot Framework Portal ' thing doing
  2. how can I deal with this error.
@xzf0587
Copy link
Contributor

xzf0587 commented Jun 14, 2023

Hi @xlb233,
Since the share-now project has the capability of teams bot, it should create a bot and register it to the Bot Framework Portal to meet the teams bot running requirement.
Is there any further error message for this failure?
Based on the message above, it seems the error happened when registering the bot.
If there is no more error message, you can try to register it manually based on the doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants