Appearance
Edge Connector
The Edge Connector lets agents query databases and systems that live inside your private network — behind a firewall, with no public internet access.
How it works
[DMOps Agent] → [DMOps API] → [Edge Connector (your network)] → [On-premise SQL / system]The Edge Connector is a lightweight .NET 8 service you run inside your network. It registers with the DMOps API via an outbound HTTPS connection (no inbound firewall rules needed) and relays agent queries to your internal databases.
Supported backends
- Microsoft SQL Server (2012 or later, via ADO.NET)
- More backends on the roadmap
Installing the Edge Connector
Prerequisites
- .NET 8 Runtime on a Windows or Linux server inside your network with access to the target database
- Outbound HTTPS access to your DMOps tenant URL
- A SQL login with
db_datareaderpermissions on the target database (read-only recommended)
Download
Download the latest DmAcp.EdgeConnector release from your Dynamics Mobile partner portal, or obtain it from the src/connectors/edge-connector/ directory of the ACP repository.
Configuration
Set the following environment variables (or use appsettings.json):
bash
DMOPS_TENANT_URL=https://acme.app.dmops.ai
DMOPS_API_KEY=your_api_key
CONNECTOR_ID=my-sql-server
MSSQL_CONNECTION_STRING="Server=192.168.1.10;Database=ERP;User Id=sa;Password=...;TrustServerCertificate=True"
ALLOWED_SCHEMAS=dbo,reporting # comma-separated listRunning on Windows
powershell
dotnet DmAcp.EdgeConnector.dllOr install as a Windows Service:
powershell
sc.exe create DMOpsEdgeConnector binpath="dotnet C:\dmops\DmAcp.EdgeConnector.dll"
sc.exe start DMOpsEdgeConnectorRunning on Linux (systemd)
ini
# /etc/systemd/system/dmops-edge-connector.service
[Unit]
Description=DMOps Edge Connector
[Service]
WorkingDirectory=/opt/dmops
ExecStart=/usr/bin/dotnet DmAcp.EdgeConnector.dll
Restart=always
EnvironmentFile=/etc/dmops/edge-connector.env
[Install]
WantedBy=multi-user.targetbash
systemctl enable dmops-edge-connector
systemctl start dmops-edge-connectorGranting agents access to the edge connector
- In DMOps.ai, go to Settings → Integrations → MSSQL Edge Connector.
- Your connector appears in the list once it connects.
- Enable it and grant the
mssql_readormssql_writetool to the agents that need it.
Tool separation
| Tool | What it does |
|---|---|
mssql_read | Executes a single SELECT statement. Read-only — no data modifications possible. |
mssql_write | Calls a stored procedure by name with named parameters. Requires human approval. |
WARNING
mssql_write calls always require admin approval before execution. Agents cannot bypass this approval gate. Use mssql_read for all read-only queries.
Security notes
- All traffic between the connector and DMOps is TLS encrypted
- The connector makes only outbound connections — no inbound ports are opened
mssql_readis enforced at the connector level — the SQL statement is validated server-side before executionmssql_writeis restricted to stored procedure calls only (no ad-hoc SQL)- Restrict
ALLOWED_SCHEMASto the minimum schemas agents need - Use a dedicated SQL login with the minimum required permissions