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

Notifications

Announcements

Community site session details

Community site session details

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

Connect to VS code

(0) ShareShare
ReportReport
Posted on by 20
Hi Folks, 
 
I am really new to the VSCODE space but we had some requirements where we had to open and add some custom fields in order to get a few things moving. All i am really trying to achieve at this time is to connect to VScode
 
I tried to use the BC help and support and used the below 
 
 
 
My launch Json is as below when trying to connect it says as below. The error is same across all the environments not just this specific.
I have tried the following:
 
1. Use the support for generating Launh json 
2. Add security permissions for adding D365 extension management
3. Super role for the user being used
 
 
None of the above has worked can anybody suggest what could i try next any assistance is appreciated
 
Launch Json as below:
 
{
    "configurations": [
        {
            "name": "Attach: Microsoft cloud sandbox",
            "type": "al",
            "request": "attach",
            "environmentType": "Sandbox",
            "environmentName": "SandboxWiise",
            "breakOnError": "All",
            "breakOnRecordWrite": "None",
            "enableSqlInformationDebugger": true,
            "enableLongRunningSqlStatements": true,
            "longRunningSqlStatementsThreshold": 500,
            "numberOfSqlStatements": 10,
            "breakOnNext": "WebServiceClient",
            "tenant": "XXXXXXXXXXX",
            "sessionId": 2655564
        }
   
       
    ]



 
}
 
 
 
[2026-01-26 18:49:30.45] Error: Not Found
[2026-01-26 18:49:30.45] Error: Error: An error occured while processing the request.
Request ID: 062debe1-ccdf-4737-8bf3-90b9280f8f4a
Session ID: 80ef8f33-0d5f-4455-a720-XXXXXXXXXX
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2026-01-26 18:49:30.46] The request for path /v2.0/SandboxWiise/dev/packages?publisher=Microsoft&appName=Application&versionText=27.2.42879.44859&tenant=XXXXXXX failed with code NotFound. Reason: No published package matches the provided arguments.
[2026-01-26 18:49:32.86] 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.
I have the same question (0)
  • DEKKER1349 Profile Picture
    16 on at
    You may forgot to define server and serverInstance 
    "server": "http://bcserver"
    "serverInstance": "BC"
     
    Some issues that can be:
    1) Not forget to define port value.
    2) Sometimes need define server ip instead using its name (Example: "server": "http://127.0.0.1" )
     
     

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

News and Announcements

Season of Giving Solutions is Here!

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 1,606

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 972 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 691 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans