Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
sgb_fabric
Helper I
Helper I

Error Code 011 - Unable to deserialize the response.

Hi,

I am trying to create a pipeline to execute a notebook in the current workspace.

we also planned to deploy these items to other environments. I would like to understand how to provide the workspace id and notebook id dynamically to the Notebook activity in the pipeline.

Thanks in advance.

 

Pipeline config for notebook activity by dynamic expressions:

 

sgb_fabric_2-1737634487695.png

 

Currently I am getting below error:

sgb_fabric_0-1737634035406.png

 

1 ACCEPTED SOLUTION

I think the problem is - the dynamic expression is unable to resolve the given expressions while invoking the notebook activity. I am not sure if this resolves the issue.

 

I have done below to get a workaround it.

 

Instead of selecting different notebook in different workspace, I have made the notebook to accept the environment specific values as parameters. This way, I can use same notebook across different environments.

View solution in original post

9 REPLIES 9
v-hashadapu
Community Support
Community Support

Hi @sgb_fabric , Hope your issue is solved. If it is, please consider marking the answer 'Accept as solution', so others with similar issues may find it easily. If it isn't, please share the details.
Thank you.

v-hashadapu
Community Support
Community Support

Hi @sgb_fabric , Hope your issue is solved. If it is, please consider marking the answer 'Accept as solution', so others with similar issues may find it easily. If it isn't, please share the details.
Thank you.

v-hashadapu
Community Support
Community Support

Hi @sgb_fabric , Hope your issue is solved. If it is, please consider marking the answer 'Accept as solution', so others with similar issues may find it easily. If it isn't, please share the details.
Thank you.

v-hashadapu
Community Support
Community Support

Hi @sgb_fabric , thank you for reaching out to the Microsoft Fabric Community Forum.

The pipeline is unable to resolve the dynamic expressions for Workspace ID and Notebook ID correctly, likely due to incorrect parameterization or syntax issues.

Please consider below steps:

  1. Create two pipeline parameters: WorkspaceID (type: String) and NotebookID (type: String).
  2. In the Notebook activity configuration, use dynamic expressions to reference the parameters: Workspace ID: @pipeline().parameters.WorkspaceID, Notebook ID: @pipeline().parameters.NotebookID.
  3. When deploying the pipeline to different environments pass the appropriate values for WorkspaceID and NotebookID dynamically.
  4. Verify that the pipeline has the necessary permissions to access the specified workspace and notebook.
  5. Test the pipeline in a sandbox environment before deploying to production.

If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.

I think the problem is - the dynamic expression is unable to resolve the given expressions while invoking the notebook activity. I am not sure if this resolves the issue.

 

I have done below to get a workaround it.

 

Instead of selecting different notebook in different workspace, I have made the notebook to accept the environment specific values as parameters. This way, I can use same notebook across different environments.

nilendraFabric
Community Champion
Community Champion

@sgb_fabric 

thanks for sharing the details 

 

please see if discussion helps , else I will suggest some other options 

 

https://community.fabric.microsoft.com/t5/Data-Pipeline/Dynamically-Change-Notebook-ID-for-each-Work...

 

please accept the solution if this works 

 

 

thanks

Thank you, @nilendraFabric for the quick response.

 

I tried this solution provided in the link but still facing the same issue:

 

sgb_fabric_0-1737653849439.png

Below is the error:

sgb_fabric_1-1737653952440.png

 

nilendraFabric
Community Champion
Community Champion

Hello @sgb_fabric 

 

Could you please share more details please , I am not able to understand the problem statement properly.

 

Thanks

Hi @nilendraFabric .. As I mentioned in the question, the objective is to create a pipeline that executes a notebook and writes data to a lakhouse in DEV workspace. We have connected the workspace to the GIT branch. 

 

The similar pipeline needs to be deployed to TEST workspace, that executes the notebook and writes data to a lakehouse in TEST workspace.

 

We are facing an issue when I deployed the branch to TEST environment from the GIT branch. When the pipeline is run, it is unable to write the data to the lakehouse in the TEST environment. We suspect that it is still pointing to the DEV workspace. 

 

So, we wanted to specify the Workspace ID and Notebook ID as dynamic expressions rather than selecting from the dropdown.  

 

sgb_fabric_0-1737651464787.png

 

But MS Fabric is throwing an error as shown below while running this pipeline. 

sgb_fabric_1-1737651710715.png

 

It works when I change it back to select the value from dropdown instead of dynamic expression. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.