question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App create failed when publishing from composer desktop 2.0 with new resources

See original GitHub issue

Describe 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:

  1. Customer signs into composer
  2. Creates a new publishing profile
  3. Chooses the tenant with multi factor auth enabled
  4. 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:open
  • Created 2 years ago
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
prajwal-ainapurcommented, Mar 10, 2022

@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.

1reaction
lesniaracommented, Mar 10, 2022

contributor access both for the subscription as well as the active directory

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found