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...
Answered

Connect to VS code

(7) ShareShare
ReportReport
Posted on by 255
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
    26 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" )
     
     
  • AmitK-BHub Profile Picture
    255 on at
    Hi Thanks for your response.
     
    Yes, tried the above method as well. Didn't get through it.
     
  • Verified answer
    YUN ZHU Profile Picture
    99,974 Super User 2026 Season 1 on at
    Hi, It looks like a problem with app.json.
    Please check the following two parameters.
     
    PS: Dynamics 365 Business Central SaaS: How to deploy your Design Extension (.zip file) to production environment
     
    Thanks.
    ZHU
  • AmitK-BHub Profile Picture
    255 on at
    This is now connected, Good point.
    The previous version was 
     
    "application": "27.2.42879.44859",
     
    Not sure as to why this would be the case that it picked this version. The way i am trying was to get the packages open directly from the screenshot from the BC instances
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 705 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans