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

Remote On-Prem Development for customer

(0) ShareShare
ReportReport
Posted on by

Hello,

Is it possible to do VSC AL development from my local laptop for a customer's On-Prem BC instance via a VPN connection that I have to their system? I've tried all sorts of things in the launch.json file to try and get symbols, but I keep getting an error in VSC/AL that the server can't be found.

Thanks in advance.

I have the same question (0)
  • tanya07 Profile Picture
    1,638 on at
    RE: Remote On-Prem Development for customer

    Once you are inside the customer's server/environment(on-prem) then you can connect VSC for AL development inside it.

  • Community Member Profile Picture
    on at
    RE: Remote On-Prem Development for customer

    Thanks for your response Tanya--unfortunately that didn't answer my question.  I am wondering if doing VSC/AL development for a customer's BC environment can be done without first connecting to their server and downloading VSC, etc on their local server.  I want to have VSC/AL on my local PC (or our companies server), and be able to publish/debug on the customer's system via some magical settings in the launch.json file, combined perhaps with a vpn  connection.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Remote On-Prem Development for customer

    Hello,

    The question was if local access works fine without any issues. If that does not yet work already, there is not yet a need to connect via a VPN. If you are able to connect to the server within the corporate network, I would expect it is a matter of opening ports, etc.

    On the customer environment, if they are within a corporate network with Active Directory, then they need to configure it for you, so you are accessing the correct server.

    Thanks.

  • Suggested answer
    Rehan Satti Profile Picture
    634 on at
    RE: Remote On-Prem Development for customer

    Hi Christopher Boyle,

    You must be able to reach out to customer's On-Prem BC server. Usually VPN are used to give your local system access to customer network environment.

    I am using Customer On Prem Business Central instance for development purposes in my local machine. Which is hosted in Azure & publicly available. we have opened couple of ports and we are good . Just Pasting Launch.json file. It might help you to understand.

     "version""0.2.0",
        "configurations": [
            {
                "name""Your own server",
                "request""launch",
                "type""al",
                "environmentType""OnPrem",
                "server""https://dynamics.xxx.dk/",
                "serverInstance""DEVNUP",
                "port"7449,
                "authentication""UserPassword",
                "startupObjectId"50156,
                "startupObjectType""Page",
                "breakOnError"true,
                "launchBrowser"true,
                "enableLongRunningSqlStatements"true,
                "enableSqlInformationDebugger"true,
                "schemaUpdateMode""ForceSync",
                "tenant""default",
            }
        ]
    }
  • Suggested answer
    Tabrez Ajaz Profile Picture
    785 on at
    RE: Remote On-Prem Development for customer

    Hello @Christopher,

    I hope after connecting to the client VPN, you are able to access Business Central Web Client from your local.

    As you are able to access the Business Central from your local, then use the Web Client URL in launch.json file and use your VPN username and password to connect to the Instance. Make sure the desired ports are opened in case of development make sure the developer port is opened. To download the symbol make sure your launch.json file should look as follows:

    I am expecting your WebClient URL is: http://39.198.145.177/BC170

    {

       "version": "0.2.0",

       "configurations": [

           {

               "name": "BC170",

               "request": "launch",

               "type": "al",

               "environmentType": "OnPrem",

               "server": "http://39.198.145.177/",   ---> serverip

               "serverInstance": "BC170",

               "port": 7049,

               "authentication": "UserPassword",

               "startupObjectId": 22,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true,

               "tenant": "default"

           }

       ]

    }

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,232

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,863

#3
Sumit Singh Profile Picture

Sumit Singh 2,819

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans