Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Unable to Publish app from Visual Studio Code for BC20

(0) ShareShare
ReportReport
Posted on by 15

I'm able to download the symbols and build the app for Version: US Business Central 20.0 (Platform 20.0.37114.38150 + Application 20.0.37253.38230) - OnPrem.

But, when I'm trying to publish the app from Visual Studio Code, I'm getting the below error,

The request for path /BC200/dev/apps?tenant=default&SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: An unexpected error occurred after a database command was cancelled.

pastedimage1656323179068v1.png

  • Anirudh20 Profile Picture
    Anirudh20 15 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Inge M. Bruvik,

    No, there is no code which is executed during the install.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Do you have any code that is executed during the install?

  • Anirudh20 Profile Picture
    Anirudh20 15 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Nitin,

    Yes, I did check permissions and also uploaded the correct license file. I'm working on BC20 Onprem version.

  • Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Anirudh20 ,

    Please check if you have proper permission to publish the extension and you defined the Tenant ID in your APP.json file, also please refer the below link

    community.dynamics.com/.../extension-publish-error-failed-with-code-unprocessableentity

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans