How to connect on-prem Microsoft Dynamics GP without opening a port
Install the On-site connector on a Windows machine that can reach Dynamics GP and pair it with a one-time code. It only makes outbound HTTPS connections, so Dynamics GP stays behind your firewall with no port to open.
About Microsoft Dynamics GP.
Microsoft Dynamics GP, long known as Great Plains, is a business management system for small and mid-sized organizations, covering financials, receivables and payables, sales order processing, purchasing and inventory. It is installed on your own Windows servers, with each company in its own Microsoft SQL Server database.
The current version, 18.x, follows Microsoft's Modern Lifecycle Policy: you stay current by taking at least one of the three updates Microsoft ships each year, typically in June, October and December. GP 2016 and GP 2018 are still on the Fixed Lifecycle Policy, with extended support ending July 14, 2026 and January 11, 2028.
Microsoft ends GP support for product enhancements, tax updates and technical support on December 31, 2029, with security updates until April 30, 2031, and encourages customers to move to Dynamics 365 Business Central.
Portal by Webisoft is a B2B portal for Microsoft Dynamics GP: customer self-service and team apps on live Dynamics GP data.
Why connecting to Dynamics GP is hard.
GP runs only on your own servers, so every cloud tool needs a safe way in that IT will accept for the years GP has left.
Support ends on December 31, 2029
Microsoft will stop product enhancements, tax updates and technical support for GP at the end of 2029, and security patches end on April 30, 2031. Anything you build around GP now has to survive a move off it, which Microsoft wants to be Business Central.
Writes go through eConnect, on Windows
The supported way for another application to create GP documents is eConnect, Microsoft's set of .NET, BizTalk and message queue components, and Microsoft notes that not every GP feature is available through it. Its .NET class is a serviced component of the .NET Framework, and its connection to SQL Server requires Windows integrated security, so it runs on a Windows machine inside your domain.
Changing a document means resending all of it
To update an existing sales document through eConnect, the whole header or line has to be sent again: elements left out or blank are cleared. A careless integration that only sends the field it changed wipes the rest of the order.
Three updates a year to stay supported
Under the Modern Lifecycle Policy you stay supported by taking at least one of the three GP updates each year, and older releases on the Fixed Lifecycle Policy run out of extended support between 2023 and 2028. Each update is a moment to check every integration that reads the GP tables.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Dynamics GP add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Dynamics GP write rules yourself. |
| Custom code | The need is unique and you have developers who know Dynamics GP. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Dynamics GP data. | It works on top of Dynamics GP; it does not replace it. |
How Portal reaches Dynamics GP.
Portal connects to Dynamics GP through the On-site connector, a Windows service installed on a machine that can reach your GP SQL Server. It reads the company database directly, customers, items, price lists, sales documents and receivables, and picks up changes from the DEX_ROW_TS time stamps on the tables that have them, with customer balances refreshed every 15 minutes by default. The agent only makes outbound HTTPS connections, so no port is opened.
Writes go through eConnect, so GP's own business logic validates them: by default through the eConnect .NET API on that machine, or through the eConnect stored procedures in the company database when the eConnect runtime is not installed there. Orders, quotes and returns become SOP documents under the document IDs and batch you choose, with taxes from GP's tax engine, and a portal reference kept in two SOP user-defined fields stops a retry from creating a second document. Customers on hold are refused for orders before anything is sent.
What you need.
- A Windows machine that can reach the GP SQL Server, with the eConnect runtime or access to the eConnect stored procedures
- A Windows Server 2016 or later, or Windows 10 or later, machine on the same network
- Outbound HTTPS from that machine to Portal
Step by step.
Your Portal team sets up the Dynamics GP connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Generate a pairing code
In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.
Install and pair the agent
Install the On-site connector on the Windows machine, then in an admin command prompt run portal-on-site pair with the code.
Configure the Dynamics GP driver
Run portal-on-site configure dynamics_gp on the agent machine. Reads go straight to the GP company database on SQL Server. Writes go through eConnect: the helper writer uses the eConnect .NET API and needs Windows authentication, and the procedures writer calls the eConnect stored procedures over SQL when the runtime is not installed there. Leave tax_mode on gp so GP's tax engine calculates taxes from your tax schedules.
Test, start and watch
Run portal-on-site test, start the Portal On-site Connector service, then check ERP, Sync health in Portal for the connector status and the data received.
What syncs with Dynamics GP.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers and balances | Yes | Yes | Hold and inactive flags from the customer card |
| Bill-to and ship-to addresses | Yes | No | Every customer address is a ship-to |
| Contacts | Yes | No | |
| Items | Yes | Yes | |
| Price lists by price level | Yes | No | With quantity breaks, for Currency Amount pricing; Extended Pricing is not read |
| Stock by site | Yes | No | |
| SOP quotes | Yes | Yes | Accepted quotes become a new sales order referencing the quote |
| SOP sales orders | Yes | Yes | Written through eConnect; hold checked first |
| Receivables invoices | Yes | Yes | Open and history; an invoice can be created from an order |
| Cash receipts | Yes | Yes | Entered in a receivables batch and applied to the paid invoices |
| Shipments | Yes | Yes | Tracking numbers on the order and posted invoices |
| SOP returns | Yes | Yes | |
| Purchase orders | Yes | Yes | Promised dates, quantities and cancelled lines |
Limits today: Payments go into a receivables batch for your team to post in Dynamics GP.
What you can do next.
- IT approves the setup because Dynamics GP gets no inbound rule and no VPN.
- When the server moves, revoke the old agent and pair a new one with a fresh code.
Dynamics GP questions, answered.
Does Dynamics GP need to be on the internet?
No. The agent calls out to Portal over HTTPS; nothing calls in.
What does the agent log?
For relayed requests, only the method, path, status and duration, kept on the machine for 14 days. Its secrets are encrypted on that machine.
How do we know it is working?
ERP, Sync health shows the connector online or offline, what it sent in the last 24 hours and any failed batches you can try again.
Keep going.
- Connect an on-prem ERP safely: overview
- B2B portal for Microsoft Dynamics GP
- Connect an AI agent to your ERP, Microsoft Dynamics GP
- Automate order entry from email, Microsoft Dynamics GP
- Give customers order status, Microsoft Dynamics GP
- Build a B2B ordering portal, Microsoft Dynamics GP
- Quotes customers accept online, Microsoft Dynamics GP
- Triage a shared inbox, Microsoft Dynamics GP
- Add approval workflows, Microsoft Dynamics GP
- One REST API for your ERP, Microsoft Dynamics GP
- Connect an on-prem ERP safely, Dynamics 365 Business Central
Sources
- Microsoft Learn: discontinuing support for Dynamics GP
- Microsoft Learn: Dynamics GP lifecycle policies
- Microsoft Learn: what eConnect is
- Microsoft Learn: eConnectMethods class
- Microsoft Learn: CreateTransactionEntity, integrated security required
- Microsoft Learn: eConnect SOP transaction schema, updating SOP documents
- Microsoft Learn: Dynamics GP lifecycle policies