Azure Data

Azure Data Factory to On Premises SQL Server

Connecting Azure Data Factory to on-premises SQL Server requires more than entering a database connection string. You need an approved connectivity design, a suitable integration runtime, appropriate database access, and a reliable extraction pattern. Self-hosted Integration Runtime is a common approach for private sources. Other supported network options should be assessed against the current connector guidance and your organization's architecture.

20+Years of Experience
CMMI 3Defined delivery
ISO 9001Quality management
ISO 27001Information security
1 Requirements

Establish the data requirement before configuring access

Identify the SQL Server instance, database, and data needed for the business outcome. Confirm who owns the source and who can approve queries and access. Define the reporting period and the expected refresh window.

Determine whether the workflow reads tables, approved views, or queries. A broad request to access the whole database can create unnecessary risk and make review harder. Start with the smallest justified source scope.

Azure Data Factory consulting services can help relate these requirements to a workable connectivity and ingestion design.

2 Connectivity

Choose a supported network and runtime approach

Microsoft's SQL Server connector guidance describes supported integration runtimes and data access options. A private source often uses a self-hosted runtime on a machine that can reach SQL Server and the required Azure service endpoints.

Some architectures can use other supported private access options. Their suitability depends on the connector, network topology, service support, and security design. Review those requirements before standardizing one approach for every environment.

Understand the self-hosted runtime's role

Self-hosted Integration Runtime provides a bridge for supported data movement involving networks the managed service cannot otherwise reach in the selected design. It is a component that your organization must operate and maintain.

It needs an approved host, access to the source, required service connectivity, and a plan for updates and availability. During an ADF connectivity assessment, assign responsibility for that component explicitly.

Confirm the network path

Ask the infrastructure team to verify DNS, routes, firewalls, proxy behavior, and required endpoints. The database listener port depends on the SQL Server configuration. Use the actual instance settings rather than assuming a default port.

Do not expose a private database publicly just to make an integration test pass. Select a supported access design that fits the organization's security requirements.

3 Secure Access

Prepare database and credential access

Create an access model appropriate to the work. A read-only extraction usually needs permissions for the approved source objects and operations, not general administrative rights.

The connector's supported authentication options have specific conditions. A managed identity option should not be assumed to work for every ordinary on-premises SQL Server configuration. Confirm the relevant product support and prerequisites.

Manage secrets and rotation

Where credentials are required, use an approved secret management approach. Define who can update the secret and how rotation will be tested. A successful initial connection does not establish that the workflow will survive a password change.

An Azure Data Factory implementation review should cover access renewal, account changes, and incident investigation. These are operational requirements rather than optional cleanup after deployment.

Verify encryption and certificate settings

Check the connector version, SQL Server configuration, and required TLS settings. Validate trust according to the client's security policy. Bypassing certificate validation to clear an error can hide a real configuration problem.

Have the database and security owners confirm the production settings. If the test environment differs, document the differences before release.

4 Initial Test

Create a linked service and test a narrow extract

Once access is approved, configure the linked service with the intended server, database, authentication, and runtime. Keep environment-specific values manageable and avoid duplicating secrets in pipeline definitions.

Test the connection, then test a small approved extraction. Verify that the destination receives the expected schema and values. Connection success alone does not prove that the query, data types, or write pattern are correct.

Consult Microsoft's SQL Server connector documentation for current configuration and supported behavior. Production settings should be based on that guidance and the client's environment.

Check types and source behavior

Review dates, null values, decimal precision, text encoding, and fields with unusual data types. Agree on how those values should appear in the destination. Avoid silently converting a field in a way that changes its business meaning.

A sample should include exceptions as well as ordinary rows. A small clean extract can miss the values that later cause production failures.

5 Extraction Strategy

Plan the extraction pattern

Decide whether the workflow needs a full load or an incremental approach. The decision depends on source volume, change behavior, business freshness, and source capabilities.

An initial full load and a recurring change load should be planned separately. Their source impact and execution windows may be very different.

Design incremental loading carefully

Identify the approved change marker or change capture method. Understand whether it captures updates and deletes as well as new records. Define the handling of late changes and reruns.

Our reliable ADF pipeline guide covers checkpoints, retries, and reconciliation. The ADF ETL and ELT guide explains where preparation can occur after extraction.

Protect the operational database

Review source queries with the database owner. Check the expected load, execution plan, available indexes, and acceptable processing window. Large extracts or excessive parallelism can affect the source application.

Test under representative conditions. A query that appears fast during a quiet period may behave differently during normal business activity.

6 Pipeline Design

Define the production sequence

Stage Evidence required before moving on Access approval Source scope, permissions, and network design accepted Connection test Intended runtime and authentication reach the source Extract test Expected fields and values arrive in the target Validation Counts and relevant business checks are accepted Recovery test A failed or repeated load behaves safely Release Monitoring, ownership, and runbook are ready The sequence prevents an early connection success from being mistaken for a completed integration. Keep each acceptance decision linked to the relevant owner.

7 Troubleshooting

Troubleshoot by layer

Start with the error context and determine which layer failed. A network timeout, an authentication error, and a rejected destination record need different investigations.

Connection and network failures

Confirm the runtime is available and can resolve and reach the intended server. Check approved network rules, instance settings, and proxy behavior. Validate the actual endpoint rather than testing a different route.

Coordinate with infrastructure owners before changing firewall rules. Temporary access exceptions should have a documented purpose and an agreed removal plan.

Authentication and permission failures

Confirm the selected authentication method, account status, secret reference, and object permissions. Distinguish an invalid credential from a valid account that cannot perform the required query.

Use controlled tests and avoid broadening permissions merely to remove an error. The final access should reflect the agreed extraction scope.

Slow or incomplete extraction

Measure source query time, transfer time, and destination writes separately. Check whether the extract reads the intended source window and whether validation identifies missing or duplicated records.

Our ADF pricing and cost optimization guide can help connect resource decisions to workload consumption. Improving a downstream setting will not necessarily resolve a source-side constraint.

8 Operational Handover

Prepare operations and handover

Assign ownership for the runtime host, connector configuration, credentials, pipeline logic, and data validation. Those responsibilities may belong to different teams.

Document the normal refresh window, alert route, and recovery action. Include how to investigate a stale report when the last pipeline run did not fail.

Availability requirements should shape the runtime architecture and support agreement. Do not assume a single host meets every business requirement. Assess supported availability options and test the failure behavior relevant to your workload.

9 Platform Direction

Review the wider platform direction

For a new project, Microsoft recommends considering Fabric Data Factory as a starting point. The connectivity design should be assessed for the selected target platform rather than copied from another service without review.

Read ADF vs Microsoft Fabric when comparing platform options. Gateway, runtime, authentication, and network arrangements can differ, so confirm the actual target requirements.

10 Our Approach

How DesIDEA can support the integration

DesIDEA's published Azure scope includes legacy SQL modernization, pipeline engineering, validation, and operating considerations. Bring the source list, network constraints, required output, and refresh window to the initial discussion.

A useful engagement defines the access dependencies, the first source scope, and the acceptance criteria. It should also explain what the client's infrastructure and database teams must provide.

11 Next Steps

Discuss your SQL Server ingestion requirements

Share the database scope, network restrictions, destination, and reporting deadline. Talk to an Azure data expert at DesIDEA about planning a supported integration.

Learn more about DesIDEA and our Azure data engineering services.

12 FAQ's

On-Premises SQL Server — Common Queries

Do all on-premises SQL Server connections require self-hosted Integration Runtime?

Self-hosted Integration Runtime is a common private-source approach. Microsoft also documents other supported access options for suitable architectures. Select the runtime and network design according to current connector support and your environment.

Does a successful connection test mean the integration is ready?

No. Test extraction, destination writes, data types, validation, source impact, and recovery. Production readiness also requires monitoring, credential management, and clear operational ownership.

Can managed identity be assumed to work with any on-premises SQL Server?

No. Supported authentication depends on the connector and deployment conditions. Check the current documentation and prerequisites. Use an approved method that is supported for the actual SQL Server environment.

Next Step

Plan Azure Data Factory Connectivity to On-Premises SQL Server

Share your SQL Server environment, network constraints, authentication needs, extraction scope, and refresh window. We can assess Self-hosted Integration Runtime, connectivity, database access, validation, and production handover.

Talk to an Azure Data Expert Explore All Services