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

I unable to create connection with visual studio using Al language

(0) ShareShare
ReportReport
Posted on by 25

hi have tried but it's not connecting ,showing an error

pastedimage1683027962267v1.png

below is the launch.json

pastedimage1683028025040v2.png

Below is Business Central info

pastedimage1683028084910v3.png

Any help would be great, thanks!!

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,410 Moderator on at

    Hi Unbeatable2 - You cannot publish extensions to production from VS Code, you can only publish extensions to sandbox type environments from VS Code. Please upload them manually in production by following these steps learn.microsoft.com/.../devenv-how-publish-and-install-an-extension-v2

  • Suggested answer
    Govinda Kumar Profile Picture
    2,310 Moderator on at

    Hi,

    When publishing an extension with VSCode, make sure you use the correct environment.. as Mr. Rahul Narang mentioned you cannot publish extension in the production environment using VS Code, but you can do it manually by following some steps.. erpconsultors.com/.../

    And to publish your extension in the Sandbox environment, update the launch.json file by replacing "Production" with "Sandbox" in the "environmentType" and "environmentName" fields.

    "environmentType": "Sandbox",

    "environmentName": "Sandbox",

    Regards

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Instead Production set the environment type as sandbox, since you are not allow to publish any app directly to production, as suggested by people eater

  • Unbeatable2 Profile Picture
    25 on at

    Thanks for the Reply!!!

    i have tried creating a Sandbox environment but it's showing time out Issue

    pastedimage1683094782972v1.png

  • Unbeatable2 Profile Picture
    25 on at

    i have tried creating a Sandbox environment but it's showing time out Issue

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Not sure your steps, but you can follow the below link

    learn.microsoft.com/.../tenant-admin-center-environments

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
AndrewThomas81 Profile Picture

AndrewThomas81 390 Super User 2026 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 386 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans