prathibh's avatar
prathibh
New Member
1 month ago
Status:
New

Potential limitation in Fabric CopyJob connection parameterization via Variable Library

We have identified a potential limitation while using Microsoft Fabric Variable Library to parameterize SQL Server source connections in Copy Jobs across multiple environments (DEV/UAT/PROD).

Scenario

We are using Variable Library to manage environment-specific source connections and deploy the same Copy Job definition across environments.

DEV Environment

  • Source Connection: DEV SQL Connection
  • Source Database: DEV Database

UAT Environment

  • Source Connection: UAT SQL Connection
  • Source Database: UAT Database

The objective is to deploy the same Copy Job to higher environments and override the source connection through Variable Library without requiring manual changes.

Observation

When the Variable Library value is updated to point from the DEV connection to the UAT connection:

  • The connection reference/GUID is updated correctly.
  • However, the database property remains unchanged in the Copy Job definition.
  • Only the connection reference is overridden, while the source database value appears to remain static/hardcoded.

As a result, the Copy Job attempts to execute using a mismatched combination of:

  • Updated connection
  • Original database value

This leads to execution failures after deployment to higher environments.

Impact

This behavior prevents fully automated environment promotion and requires manual updates to the database value in each deployed Copy Job.

For organizations managing a large number of Copy Jobs across multiple environments, this creates:

  • Additional deployment effort
  • Increased risk of manual configuration errors
  • Reduced effectiveness of Variable Library-based environment parameterization

Questions

  1. Is it expected behavior that Variable Library overrides only the connection reference while the database property remains unchanged?
  2. Is there a supported method to parameterize the source database value within Fabric Copy Jobs?
  3. Is this a known limitation or product bug?
  4. Are there any recommended workarounds to avoid manual database updates after deployment?
  5. Are there any planned enhancements to support full connection rebinding (server and database) during deployment and environment promotion?

Expected Behavior

When a source connection is overridden through Variable Library during deployment, all associated connection properties required for establishing connectivity, including the target database context, should be updated automatically or be configurable through environment-specific parameterization.

Any guidance, clarification, or roadmap information would be greatly appreciated.

No CommentsBe the first to comment

Recent ideas