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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to get sandbox connection settings for programming AL in visual studio code

(0) ShareShare
ReportReport
Posted on by 5

I want to setup to program AL in visualstudio code. But I am unable to download symbols. How can I get the correct server name for the launch.json?

This is my launch.json:

{
    "version": "0.2.0",
    "configurations": [        

        {
            "name": "Your own server",
            "request": "launch",
            "type": "al",    
            "server": "https://businesscentral.dynamics.com/48bf5e21-6260-4f21-8d42-28c4c0c7a9df/sandox",        
            "environmentType": "OnPrem",            
            "serverInstance": "BC",
            "authentication": "UserPassword",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": "All",
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "tenant": "default"
        }
    ]
}
Please help.
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi You can use as per below, just change the parameters

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Your own server",
                "request": "launch",
                "type": "al",
                "environmentType":"Sandbox",
                "server": "http://bccontainer/",
                "serverInstance": "BC",
                "authentication":"Windows",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true,
                "port": 7049,
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true,
                "tenant": "default"
            }
        ]
    }
  • Suggested answer
    YUN ZHU Profile Picture
    104,090 Super User 2026 Season 2 on at

    Hi, It looks like you are using the SaaS version.

    for SaaS: the "tenant" and "environmentName" are important.

    For example,

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Microsoft cloud sandbox",
                "request": "launch",
                "type": "al",
                "tenant": "d8f36038-1f93-4543-affc-5dc92b6ee871",
                "environmentType": "Sandbox",
                "environmentName": "Sandbox213",
                "schemaUpdateMode": "ForceSync",
                "startupObjectType": "Page",
                "breakOnError": "All",
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
        ]
    }
    More details:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files#Launchjson

    Hope this helps.

    Thanks.

    ZHU

  • How to get connection settings sandbox Profile Picture
    5 on at

    Thank you very much. This helped me get on my way.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 665 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 418 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans