web
You’re offline. This is a read only version of the page.
close
Skip to main content
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!!

I have the same question (0)
  • Suggested answer
    NAV_with_Narang Profile Picture
    2,294 Moderator on at
    RE: I unable to create connection with visual studio using Al language

    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,304 Moderator on at
    RE: I unable to create connection with visual studio using Al language

    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,698 Moderator on at
    RE: I unable to create connection with visual studio using Al language

    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
    RE: I unable to create connection with visual studio using Al language

    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
    RE: I unable to create connection with visual studio using Al language

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

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: I unable to create connection with visual studio using Al language

    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

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 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans