App create failed when publishing from composer desktop 2.0 with new resources
See original GitHub issueDescribe the bug
The customer is publishing bot with LUIS from Composer desktop 2.0 with the option “Create new resources”. The publish fails with the below error, which I describe in the repro steps.
Version
Browser
- Electron distribution
To Reproduce
Steps to reproduce the behavior:
- Customer signs into composer
- Creates a new publishing profile
- Chooses the tenant with multi factor auth enabled
- Tries to publish and gets the below error
This error has been anonymized and formatted for readability. See the linked incident for the original error.
{
"name": "CREATE_APP_REGISTRATION",
"message": "App create failed! Please file an issue on Github.",
"stack": "Error
at new CustomizeError (C:\\Users\\John Doe\\AppData\\Local\\Programs\\Bot Framework Composer\\resources\\John.Doe.App\\extensions\\azurePublish\\dist\\extension.js:255547:25)
at createCustomizeError2 (C:\\Users\\John Doe\\AppData\\Local\\Programs\\Bot Framework Composer\\resources\\John.Doe.App\\extensions\\azurePublish\\dist\\extension.js:255552:10)
at BotProjectProvision.createApp (C:\\Users\\John Doe\\AppData\\Local\\Programs\\Bot Framework Composer\\resources\\John.Doe.App\\extensions\\azurePublish\\dist\\extension.js:256989:17)"
}
Expected behavior
LUIS Resource should be published successfully.
Additional context
For more information, please refer to this incident (authentication required).
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (6 by maintainers)
Top Results From Across the Web
Bot publish fail - Microsoft Q&A
I made bot and trying to publish, but I receive error. ... Framework Composer\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist ...
Read more >Unable to publish Bot Composer in azure - Stack Overflow
I built my bot using Bot Framework Composer 2.1 and everything looked nice ... stack":"Error\n at new CustomizeError (\\resources\\app.asar.
Read more >Publish Fails in version 2.1.1 · Issue #8814 - GitHub
Update composer to latest version; Create simple bot with LUIS intent; In publish, add new profile creating all resources; Creating resources ...
Read more >Troubleshooting - Composer
Try clearing Composer's cache by running composer clear-cache . Ensure you're installing vendors straight from your composer.json via rm -rf vendor && composer...
Read more >Known issues | Cloud Composer
Cloud Composer environment creation will fail if constraints/compute. ... If you create a new environment with Airflow 2.3 and use custom resource settings ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lesniara I resolved the issue. The account with which you are logged in needs contributor access both for the subscription as well as the active directory. Once you get that sorted, the app should be published easily.
Thanks @prajwal-ainapur the issue was that my personal hotmail account, that has the azure subscription, was not added to my windows accounts like my company account was. Once I did that the publishing/provisioning happened.