web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Nitin Verma Profile Picture
    21,698 Moderator 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

  • Anirudh20 Profile Picture
    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.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator 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
    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.

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

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans