Friday 16 October 2020

Change in sandboxName in Launch.json


I was delivering a D365 Business Central training to a client today and was explaining about Launch.json and mentioning that the launch.json file contains information about the server that the extension launches on.

And if we have multiple sandbox environments then we must specify which sandbox to be used in property called “sandboxName


Tried to add the parameter and not able to find it.


Shocked for a second and noticed 2 new properties in the Launch.json


environmentType: Specifies environment to use to connect to Business Central.

Ex: Sandbox: Specifies a sandbox environment

environmentName : Specifies which production, or sandbox environment to use.


Looks like Microsoft has replaced sandboxName with environmentName and provided option to select the environmentType.   


Did not use Production option yet.