Connect Microsoft Dynamics 365 BC (D365 BC) On-premises To Visual Code Editor

Connect D365 BC On-premises To Visual Code Editor:



  • After VS Code installation. Open Visual Studio Code editor.
open vs code


  • Now use the shortcut key Ctrl + G to open Command Palette.
  • In the Command Palette type: >AL, you will find the command AL: Go!
  • Click on AL: Go!
Command Palette


  • By default system will create a folder in your “Document Path”.
  • You can change the path or folder name according to your preferences or remain as it is.
document path


  • Now SampleExtension folder is created.
  • Then select the server as shown in the below screenshot. It depends upon the situation where the VS code connects. In this step, we used “Your Own Server”.


  • After selecting Your Own Server, hit the enter button.
  • It will create launch.json file.
  • Depends upon your D365 BC services, you can set parameters.
launch json


  • After setting the parameters, now we have to check the connectivity of the visual code editor with D365 BC.
  • In order to check it, we can compile the default
  • If it shows an error, it means it is not connected with D365 BC.
check connectivity


  • For resolving the above issue. We can download >AL: Download Symbols from the Command Palette (Ctrl + G).
al symbol


  • After successfully download AL Symbols, file is compiled.
file compiled


What is AL?

AL is the programming language that is used for manipulating data (such as retrieving, inserting, and modifying records) in a Dynamics 365 Business Central database, and controlling the execution of the various application objects, such as pages, reports, or codeunits.

Keyboard Shortcuts for Visual Studio Code?

Leave a Reply