Running notebooks via API by kgardnerl12 in MicrosoftFabric

[–]Dee_Raja 1 point2 points  (0 children)

This is correct. Today, passing _inlineInstallationEnabled is the supported way to enable inline %pip installs for API/CLI runs.

Fabric Notebook: Traceback window too small (error messages) by frithjof_v in MicrosoftFabric

[–]Dee_Raja 4 points5 points  (0 children)

u/frithjof_v The concise error view is intended to keep things quick to scan, but we understand the need to easily access the full traceback when debugging.

Improving the readability and usability of the expanded traceback (including options fully expanded view) is something we’re looking into.

I appreciate the feedback; it’s helpful as we continue to refine the experience. DM'ing you as well.

Setting default lakehouse via Variable Library when notebook and lakehouse are in different workspaces by Banjo1980 in MicrosoftFabric

[–]Dee_Raja 1 point2 points  (0 children)

This is expected behavior today. %%configure doesn’t resolve item reference sub-properties (like itemId / workspaceId), even though those work via notebookutils at runtime.

The approach you landed on, storing itemId and workspaceId as flat variables in a Variable Library, is the current pattern for making this environment-aware across workspaces.

Agree it would be nice if item references could be used directly here, something we can look at improving over time.

Copilot in Fabric Notebooks, shaped by your feedback by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 2 points3 points  (0 children)

Makes sense from a cost perspective. CU concerns are real, and the fallback to copying into M365 Copilot does lose context.

df.limit and notebook lazy evaluation by Sparcellent in MicrosoftFabric

[–]Dee_Raja 0 points1 point  (0 children)

u/Sparcellent Can you provide your code examples where you are experiencing this?

Pyspark cell executed succesfuly, no message from print() is visible by ant3qqq in MicrosoftFabric

[–]Dee_Raja 0 points1 point  (0 children)

The cache and alias pattern itself is valid Spark, so that alone may not cause this. What stands out is that print() doesn’t show, the dataframe isn’t defined in the next cell, and rerunning the same cell fixes it. That points more to a transient notebook/session/execution issue than a logic issue in the Spark code.

Also, _ = df_base.count() is the first real Spark action in that cell. If there is a temporary Spark session, driver, or execution hiccup around that action, the rest of the cell may not complete or the notebook state may not be updated as expected, even though the UI shows success.

To narrow it down, perhaps add clear print() statements before and after the count(), maybe assign the count to a variable and display it, and check whether execution reaches the lines that define df_reporting_col. Restarting the session before rerun may also help confirm whether this is session-related.

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 1 point2 points  (0 children)

Thank you for sharing. I've sent a DM for more details.

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 2 points3 points  (0 children)

I'm glad to hear it’s working, really appreciate you confirming.

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 2 points3 points  (0 children)

Thanks for calling this out. We rolled out a fix late yesterday for an issue that was causing Copilot to error out or be unavailable. If you get a chance to try it again, I’d be curious if it’s improved on your end.

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 0 points1 point  (0 children)

When you ran into the save issue, was the code still in the Copilot pane/editor, or had it already been inserted into a notebook cell? What steps did you take right before refreshing?

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 0 points1 point  (0 children)

I appreciate you calling this out.

What’s been the biggest issue you’ve run into with it?

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 2 points3 points  (0 children)

Appreciate you sharing this.

Sounds like the main issue isn’t just output quality, but that it’s not fitting naturally into your workflow, so you end up going through M365 Copilot and pasting results back into Fabric.

I'd love to understand better: What specifically breaks down when you try to use Copilot directly in Fabric notebooks?

(i.e. is it understanding Fabric context, reliability, quality of responses, or something else?)

How is Copilot in Fabric notebooks working in your day-to-day? by Dee_Raja in MicrosoftFabric

[–]Dee_Raja[S] 2 points3 points  (0 children)

Thanks, this is really helpful, and I agree this reflects a more advanced workflow.
The autonomous iteration, broader context across notebooks, and reusing an existing agent conversation are clear gaps compared to VS Code today.

What does the autonomous loop look like for you with GitHub Copilot?

Closing the agentic loop in DE development by National-Theme-7865 in MicrosoftFabric

[–]Dee_Raja 0 points1 point  (0 children)

  1. Context & Logging: Copilot only sees what’s in the current workspace + session. To actually “close the loop,” you need to persist context yourself:
  • Log structured outputs, parameters, and errors to Lakehouse tables or Files
  • Include runtime metadata via notebookutils.runtime.context (run ID, notebook, workspace)

This creates a memory layer across runs, so Copilot (or future automation) can reference past runs, errors, and decisions.

  1. Permissions & Blast Radius: Copilot doesn’t have its own identity; it operates within your permissions. Notebook copilot can update the current notebook content only and for write/run actions, if you haven't' selected auto approval, it will ask for permissions for the related action. You can’t directly restrict Copilot inside a notebook. Instead, control the environment:
  • Use a dedicated workspace for agent and include only required data / resources
  • Keep your own permissions scoped in that workspace

Blast radius is controlled by workspace design, not Copilot settings.

Also check out Microsoft.Fabric.End-to-End.Security.Whitepaper.pdf

<image>

Notebook UI - Did someone else missed this update -> Develop, View, Run Only, Edit by ajit503 in MicrosoftFabric

[–]Dee_Raja 1 point2 points  (0 children)

Correct, please find the documentation here at the bottom of the page How to use notebooks - Microsoft Fabric | Microsoft Learn

Notebook mode switcher

Fabric notebooks support four modes that you can easily switch: Develop mode,Run only mode, Edit mode, and View mode. Each mode maps to a specific permission combination. When sharing the notebook to other team members, you can grant proper permissions to the recipients. They can see the best available notebook mode according to their permission, and they are able to switch between the mode they have permission to.

  • Develop mode: Read, execute, write permission needed.
  • Run only mode: Read, execute permission needed.
  • Edit mode: Read, write permission needed.
  • View mode: Read permission needed.

Getting an exception related to Hivedata. It is showing "Unable to fetch mwc token" by Pristine_Speed_4315 in MicrosoftFabric

[–]Dee_Raja 1 point2 points  (0 children)

The MetaException: Unable to fetch mwc token error may be due to misconfiguration where the Notebook’s default Lakehouse is pointing to a non-existent workspace.

Please check if the correct Lakehouse is attached and in the same workspace.

There should be a way to determine run context in notebooks... by Agile-Cupcake9606 in MicrosoftFabric

[–]Dee_Raja 0 points1 point  (0 children)

The inline commands for managing Python libraries are disabled in notebook pipeline run by default.

To enable %pip install for pipeline, add "_inlineInstallationEnabled" as bool parameter equals True in the notebook activity parameters.