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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Error with deploying an app to Sandbox

(0) ShareShare
ReportReport
Posted on by 11

Hi,

We're first starting out with developing our first AL Language app. We're having trouble deploying the Hello World basic app to our Sandbox account.

What we've done so far is:

1. Download the AL Language VS Code extension

2. Create a basic app (ALT A, ALT L).

3. Authenticate with our Sandbox account

4. Deploy (F5).

The errors we're getting in the terminal:

[2021-07-15 16:42:59.45] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=18.0.0.0
[2021-07-15 16:42:59.45] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=1.0.0.0
[2021-07-15 16:43:00.46] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=1.0.0.0 failed with code NotFound. Reason: Not Found
[2021-07-15 16:43:04.95] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=18.0.0.0 failed with code NotFound. Reason: Not Found
[2021-07-15 16:43:04.95] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.
Microsoft (R) AL Compiler version 7.3.7.27759
Copyright (C) Microsoft Corporation. All rights reserved
launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Microsoft cloud sandbox",
            "request": "launch",
            "type": "al",
            "environmentType": "Sandbox",
            "environmentName": "sandbox",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true
        }
    ]
}

app.json

{
  "id": "7edce079-e514-4f51-bf41-7fe36d831099",
  "name": "ALProject3",
  "publisher": "Default publisher",
  "version": "1.0.0.0",
  "brief": "",
  "description": "",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "dependencies": [],
  "screenshots": [],
  "platform": "1.0.0.0",
  "application": "18.0.0.0",
  "idRanges": [
    {
      "from": 50100,
      "to": 50149
    }
  ],
  "contextSensitiveHelpUrl": "https://ALProject3.com/help/",
  "showMyCode": true,
  "runtime": "7.0"
}

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Assuming the environment name is indeed called "Sandbox", I would change it in the json file as such:

    "environmentName": "Sandbox",

    I ran the scenario and it seems it automatically calls it "sandbox". I was not able to publish it either with "sandbox" as the name but did not receive an error like you seem to have.

    Thanks.

  • Suggested answer
    ItayTip Profile Picture
    11 on at

    What turns out to be the issue is a lack of understanding of the environment name. Even though we had a sandbox account for Business Central, it could not be used as the target deployment type. The sandbox value refers to a sandbox container for BC, rather than a sandbox account.

    The solution was to simply run an OnPrem container, with environment type set to OnPrem as well.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans