Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

I unable to create connection with visual studio using Al language

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
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 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

  • Unbeatable2 Profile Picture
    Unbeatable2 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

  • Unbeatable2 Profile Picture
    Unbeatable2 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

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 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

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 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
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,234 Super User 2024 Season 1 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

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans