Forum Discussion

RajeshFabric's avatar
RajeshFabric
Regular Visitor
1 month ago

Refresh SQL Endpoint activity is not saving Workspace ID in pipeline JSON

Hi Team,

 

I'm facing an issue with the Refresh SQL Endpoint (Preview) activity in Microsoft Fabric Data Pipelines.

Previously, when this activity was added to a pipeline, the generated pipeline JSON included the WorkspaceId associated with the selected workspace. However, with the current implementation, although the UI still requires selecting a Workspace, the generated JSON no longer contains any WorkspaceId property.

For example, the activity is configured in the UI with:

  • Connection: FABRIC_SQLENDPOINT
  • Workspace: WS_DEV_ABC
  • SQL Endpoint: LH_ABC

 

 

 

However, the generated JSON only contains:

 

 

There is no WorkspaceId or equivalent workspace reference present in the JSON.

This becomes a problem when using Git integration and CI/CD. During our pull request from a feature branch to the Dev branch, update workspace from git fails with below error within workspace :

 

Cluster URI https://wabi-us-north-central-l-primary-redirect.analysis.windows.net/

Activity ID xxxxxx-3e44-4124-b273-xxxxxxxx

Request ID xxxxxx-94e3-c4a6-1cfd-xxxxxxxxx

Workload Error Code RequestValidationFailed

Workload Error Message An internal error happened due to failed runtime assertion: ActivityName RefreshSqlEndpoint contains an invalid WorkspaceId <null>..

Artifacts [Display Name: 'dp_execute_master_daily' Type: 'Pipeline' ObjectId: '00000000-0000-0000-0000-000000000000' LogicalId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx']

GitErrorDetails {"artifactType":"Pipeline","artifactDisplayName":"dp_execute_master_daily","artifactLogicalId":"44a1a4aa-366f-ae86-4920-e6cef697746c","rootActivityId":"ba601bfc-94e3-c4a6-1cfd-69b83db2216f","httpStatus":0,"errorType":null,"errorCode":null,"errorSource":1,"targetCommit":null,"artifacts":null,"errorDetails":{"ErrorCode":"RequestValidationFailed","ErrorMessage":"An internal error happened due to failed runtime assertion: ActivityName RefreshSqlEndpoint contains an invalid WorkspaceId <null>..","ErrorParameters":null,"ErrorCategory":null,"IsTransient":false,"AdditionalParameters":null,"ErrorSource":1,"UserInteractionRequest":null},"clientErrorParameters":null,"gitProviderErrorResponse":null,"culprit":1}

Time Mon Jul 20 2026 14:24:41 GMT+0530 (India Standard Time)

 
 

This behavior did not occur previously because the WorkspaceId was present in the serialized JSON.

Could someone please confirm:

  1. Is the removal of WorkspaceId from the pipeline JSON an intentional product change?
  2. If so, how is the deployment service expected to resolve the workspace during Git-based deployments?
  3. Is this a known issue with the Refresh SQL Endpoint (Preview) activity?
  4. Is there any recommended workaround until this is resolved?

Any guidance would be greatly appreciated. Thank you!

13 Replies