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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Not able to push code to Business Central SandBox from VSCode

(0) ShareShare
ReportReport
Posted on by 5

Hi,

We were able to deploy/push our product code from VS Code to Business Central SandBox environment few days ago but now we cannot do it with below error messages. Please help.

pastedimage1683285782264v1.png

pastedimage1683285793305v2.png

pastedimage1683285801032v3.png

I have the same question (0)
  • Suggested answer
    Tech-Lucky Profile Picture
    1,267 Super User 2025 Season 2 on at

    Hi,

    To use the sandbox Environment we must have the Partner Sandbox Environment License if you want to use the sandboxes for longer periods otherwise it will be expired, and need to create the new one.

    refer to thinkaboutit.be/.../

    Please Verify my answer if it helps you

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Adding more info.

    seems that you dont have super permission on that environment can you check?

  • BSSI_Vinay Profile Picture
    5 on at

    I tried creating a new SandBox environment but now i am facing the below issue even when i don't have that app installed.

    "Reason: The extension could not be deployed because it is already deployed as a global application or a per tenant application."

  • BSSI_Vinay Profile Picture
    5 on at

    I tried creating a new SandBox environment but now i am facing the below issue even when i don't have that app installed.

    "Reason: The extension could not be deployed because it is already deployed as a global application or a per tenant application."

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Can you share your launch.json and app.json file?

  • BSSI_Vinay Profile Picture
    5 on at

    Here you go with Launch and App Jason files. Thank you.

    0246.Launch.png

    8233.Appjson.png

  • Suggested answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at

    Hi BSSI_Vinay,

    You just need to update the "version" in your app.json in VSCode

    pastedimage1683554178168v1.png

    If its "version": "1.0.0.0", make it "version": "1.0.0.1"
    Regards

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, just to add some info.

    If you are customizing the AppSource extensio, please do not directly do it in the SaaS sandbox.
    This may be the case if your extension has already been published in AppSource. Please use the Docker version.

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Truong Tan Chau Profile Picture
    10 on at
    You only need to increase the version in .App is okay. In my case, my boss uploaded a version larger than the version I was running to the Cloud, and the next day I had an error like you. What I do is increase my boss's version. Sorry, that is not the case. I'm wrong
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,603 Super User 2025 Season 2 on at

    Hi, that internal server error is normal. It happens sometimes — I have faced the same issue. Usually, after around 30 minutes, the sandbox automatically allows you to publish the extension.

    In your case, you are also facing another error.

    Here is some suggestions: Refresh sandbox instance
    go to sessions: 
    check if any session is ongoing. if yes then directly close that session. after try to publish code.
    you can restart environment and check

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 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans