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

Publish as skill failed: publishing from desktop 2.0 with new resources #8457

Closed
2 of 8 tasks
JonathanFingold opened this issue Jul 22, 2021 · 3 comments
Closed
2 of 8 tasks
Assignees
Milestone

Comments

@JonathanFingold
Copy link
Contributor

JonathanFingold commented Jul 22, 2021

Describe the bug

Tried to publish a bot as a skill, but got a provisioning error.

Version

Version: 2.0.0-nightly.260742.141dd34
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Create and test a skill locally.
    • I left the skill bot running, because Composer should be able to clean house.
  2. Export the bot as a skill.
    1. Fill in the fields on the Export your skill page.
    2. Select the root dialog of the skill on the Select dialogs page.
    3. Don't select any of the triggers on the Select triggers page. (The one I want to use is not listed.)
    4. On the Which bots can connect to this skill? page, select Add allowed callers and set it to *.
  3. Create a publishing profile for the skill
    • Publish to Azure, create new resources, deselect all optional resources, use Windows.
    • When prompted, sign in to my account.
    • Wait for Composer to provision and publish the skill.
  4. See error.

This error has been anonymized and formatted for readability

{
  "name": "CREATE_APP_REGISTRATION",
  "message": "Add application password failed! Please file an issue on Github.",
  "stack": "Error
    at new CustomizeError (...\AppData\Local\Programs\v1Composer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:269071:25)
    at createCustomizeError (\AppData\Local\Programs\v1Composer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:269076:10)
    at BotProjectProvision.createApp (...\AppData\Local\Programs\v1Composer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:270602:17)"
}

Expected behavior

Composer provisions and publishes the skill. I have been able to publish a skill in the past.

Additional information

  1. Stop all bots and try to re-export the skill as a skill.
  2. Error: Nothing happens.
    • Composer should clean up resources if the provisioning attempt failed. I should not be left in some indeterminate state.
  3. It gets better:
    1. Go to the Configure your bot view.
    2. Switch to advanced settings.
    3. Manually add back in the "*" that Composer removed from the allowed callers list.
    4. Switch back to the Create view.
    5. Error: Composer automatically now drops into the export as a skill workflow.
@JonathanFingold
Copy link
Contributor Author

JonathanFingold commented Jul 22, 2021

I finally got the skill published. I jumped through various hoops, and I am at a loss to know which ones are necessary.

@cwhitten cwhitten removed the R14 label Jul 26, 2021
@cwhitten cwhitten added this to the R15 milestone Jul 26, 2021
@cwhitten cwhitten removed the Needs-triage A new issue that require triage label Jul 26, 2021
@luhan2017
Copy link
Contributor

luhan2017 commented Jul 27, 2021

@JonathanFingold I can't reproduce this issue from my side. This seems not a skill specific issue, please refer to #8283. This could caused by insufficent permission to create the App or the app creation api instability. @GeoffCoxMSFT for awareness.

@JonathanFingold
Copy link
Contributor Author

JonathanFingold commented Aug 13, 2021

I'll close for now and open a new issue if I hit this behavior again. The process seems to be cleaner in v2.1.

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

No branches or pull requests

3 participants