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

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,261 Super User 2025 Season 2 on at
    RE: Not able to push code to Business Central SandBox from VSCode

    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,692 Moderator on at
    RE: Not able to push code to Business Central SandBox from VSCode

    Adding more info.

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

  • BSSI_Vinay Profile Picture
    5 on at
    RE: Not able to push code to Business Central SandBox from VSCode

    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
    RE: Not able to push code to Business Central SandBox from VSCode

    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,692 Moderator on at
    RE: Not able to push code to Business Central SandBox from VSCode

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

  • BSSI_Vinay Profile Picture
    5 on at
    RE: Not able to push code to Business Central SandBox from VSCode

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

    0246.Launch.png

    8233.Appjson.png

  • Suggested answer
    Govinda Kumar Profile Picture
    2,300 Moderator on at
    RE: Not able to push code to Business Central SandBox from VSCode

    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
    93,024 Super User 2025 Season 2 on at
    RE: Not able to push code to Business Central SandBox from VSCode

    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
    Not able to push code to Business Central SandBox from VSCode
    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
    19,166 Super User 2025 Season 2 on at
    Not able to push code to Business Central SandBox from VSCode

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,808

#2
Sumit Singh Profile Picture

Sumit Singh 2,554

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,140

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans