Get started

Estate X-ray: what each finding means and how to fix it

The Estate X-ray on Home reads every lakehouse you can reach and lists what needs attention. It only reads: the folders under Tables, each Delta table's log, workspace roles, and the cost of runs this app started in Fabric. It changes none of the lakehouses it reads until you press a fix. One write happens by itself: when this PC is connected to a central lakehouse you can write to, each scan adds its lakehouse and table findings there for Optimize, never people's names or cost estimates. Anyone who can read the central lakehouse can read those rows, including the workspace, lakehouse and table names (Optimize).

Each finding links here. Every section says what the finding means, why it matters, what the button in the app does, and how to fix it by hand in Fabric if you'd rather.

Finding Severity Button in the app
Small files Fix first (200 or more files), otherwise Worth fixing Optimize
Unidentified tables Worth fixing Open in Fabric
Access Worth fixing Review access
Cost Worth fixing ($10 or more in 30 days), otherwise Good to know Open notebook or See cost
Not changing Good to know Open in Fabric
Needs vacuum Good to know Vacuum
Leftover staging lakehouses Good to know Remove
Empty lakehouses Good to know Open in Fabric

How these thresholds compare with Microsoft's guidance is in Health thresholds.

The scan reads at most 500 tables. Scans run when you press Scan now or Scan again (the very first one on a PC starts by itself), and Pause holds a scan where it is.

After you press a fix#

Optimize and Vacuum start a job in Fabric; they don't finish it. The finding stays in the list marked Fix submitted to Fabric, not finished yet until the job ends:

  • Completed: the finding is marked fixed and leaves the list.
  • Failed or Cancelled (a paused capacity, for example): the finding stays, with Fabric's reason, and the button comes back so you can try again.

A finding marked fixed shows again if a later scan, started after the job completed, still finds the problem. The job's progress is in Monitor.

When Fabric can't be read#

Vacuum deletes files for good, so KratosForge never guesses how much history a table must keep. If it can't read the table's own retention setting (no access, throttling, a sign-in that failed) or the metadata project (a broken layers.toml or environments.toml), Vacuum, Optimize and the Vacuum dry run stop with the reason and start nothing. Fix the cause and press the button again. With no metadata project open at all, a table keeps the longest of Fabric's 7 days and its own setting.

Small files#

What it means. The table has 20 or more data files averaging under 32 MB each. Each small append, streaming micro-batch or row-by-row load adds files, and nothing has combined them.

Why it matters. Every query opens every file. Hundreds of small files make Spark, the SQL analytics endpoint and Direct Lake slower, and cost more capacity, than a few large ones holding the same rows.

What Optimize does. It first asks, naming the table and saying that it runs in Fabric and uses capacity, with the risk check for the workspace's capacity: blocked (a paused capacity, no sign-in, or a policy that keeps work off Fabric) has no Optimize button. Then it runs Fabric's own table maintenance job on the table, on your Fabric capacity:

  1. OPTIMIZE with V-Order: rewrites the small files into large ones, sorted and compressed the way Direct Lake and the SQL endpoint read fastest.
  2. VACUUM keeping at least 7 days (or the history the table's layer or its own setting promises, as Vacuum does): deletes files no version from that time needs.

Follow the job in Monitor. Old versions within that time stay readable (time travel and restore still work).

Optimize many tables at once. Tick the small-files findings you want, or press Optimize all, which ticks every one the filter and search show so you can untick the ones to leave out. Optimize N selected names each table and asks once. Then each table runs as its own job, at most 3 at a time: the next starts only when one ends. Each table's risk check runs just before it starts, and only a table that passes starts. A table with warnings, a block, or a check that couldn't run is skipped and keeps its own Optimize, where you see the check. The card shows each table's result. Stop starts nothing more; jobs already running in Fabric finish (cancel them in Monitor). Closing the app stops the batch the same way.

By hand. In Fabric, open the lakehouse, select ... next to the table, then Maintenance. Tick Run OPTIMIZE command and Apply V-Order, tick Run VACUUM command with a retention of 7 days, and select Run now. Or in a notebook:

OPTIMIZE my_schema.my_table VORDER;
VACUUM my_schema.my_table RETAIN 168 HOURS;

To stop it coming back. Load in larger batches. For tables loaded by KratosForge's metadata framework, Test and Prod already optimize after each run (optimize_after_run in environments.toml, on by default).

Unidentified tables#

What it means. A folder under Tables isn't a Delta table: it has no _delta_log folder. Usually it holds CSV or Parquet files copied straight into Tables.

Why it matters. Fabric lists it under Unidentified. No engine can query it as a table, and the SQL endpoint and semantic models can't see it.

What the button does. Open in Fabric opens the lakehouse so you can look at the folder.

By hand. Pick one:

  • Files belong in Files. In the lakehouse explorer, move the folder from Tables to Files.
  • It should be a table. Load the files into a Delta table: right-click the folder in Files and choose Load to Tables, or in a notebook read them and write with df.write.format("delta").saveAsTable("my_table"). Then delete the original folder under Tables.
  • A table written from outside Fabric (for example by KratosForge) that is Delta but still shows as Unidentified needs a refresh of the lakehouse in Fabric. In that case the X-ray doesn't list it, since it does have a _delta_log.

Access#

What it means. One of these, from workspace roles:

  • A guest (an account from another organization, #EXT#) has a role in one or more workspaces.
  • An app (a service principal) is Admin in a workspace.

The X-ray can only read roles in workspaces where you are Admin.

Why it matters. Guests keep access after a project ends unless someone removes them. Admin lets an app delete the workspace and change who has access; most apps need Contributor at most.

What the button does. Review access opens OneLake > Access, which lists everyone with a role in every workspace, so you can change or remove it.

By hand. In Fabric, open the workspace, select Manage access, then change the person's role or remove them. For an app that runs pipelines or notebooks, Contributor is enough.

Cost#

What it means. A notebook this app ran in Fabric used enough capacity in the last 30 days to be worth noticing. The estimate comes from the run times in Optimize > Cost and savings and your capacity price (set there under Prices).

Why it matters. Run on this PC, the same notebook does its processing here, with no Spark session in Fabric. OneLake reads and writes it makes still count against the workspace's capacity.

What the buttons do. Open notebook opens it here (when the notebook is on this PC); set Runs on to This PC in the ribbon and later runs start no Fabric job (their OneLake reads and writes still use some capacity). See cost opens Optimize > Cost and savings with every item's numbers.

By hand. Nothing to do in Fabric. If the notebook must stay in Fabric, look for a smaller Spark pool or a shorter session timeout in its environment.

The estimate leaves out Spark session start-up. Fabric's Capacity Metrics app has the billed numbers.

Not changing#

What it means. The table's last write was 30 or more days ago.

Why it matters. If something should still be loading it, that load has stopped, and every report built on it is showing old data. If nothing should, the table may be safe to retire, which saves storage.

What the button does. Open in Fabric opens the lakehouse.

By hand. Find what used to write it: in Fabric, the lakehouse's Lineage view shows the pipelines and notebooks connected to it, and the table's history (DESCRIBE HISTORY my_table in a notebook) shows the last operation and when. Restart that load, or delete the table if nothing uses it. For metadata tables, a freshness promise on the entity alerts you (and Teams) when it goes late.

Needs vacuum#

What it means. The table has 30 or more versions since it was last vacuumed, or has never been vacuumed.

Why it matters. Every write leaves the files it replaced in storage. Until VACUUM removes them, you pay OneLake storage for every old version.

What Vacuum does. First a dry run, which deletes nothing, says how many old files Vacuum would delete and how much storage they take, with the same risk check as Optimize: blocked has no Vacuum button, and warnings need I've looked at these ticked when your settings ask for it. Then Vacuum runs Fabric's table maintenance with only VACUUM ticked (no compaction). It keeps the longest of:

  • 7 days, Fabric's default,
  • the table's own delta.deletedFileRetentionDuration,
  • Keep history on the metadata layer whose lakehouse it is, in a workspace your metadata project uses.

So Restore and time travel still reach back as far as the layer promises. With the Needs vacuum filter on, Vacuum all checks each table first and starts one job per table that passes, each keeping its own history. A table that is blocked, has warnings or couldn't be checked is named and left for its own Vacuum, which shows its risk check. Optimize on a small-files finding keeps the same history when it vacuums.

By hand. As for small files, with only Run VACUUM command ticked, or VACUUM my_table RETAIN 168 HOURS; in a notebook (use the layer's days times 24 for metadata tables). Don't go below 7 days: a shorter retention can break queries running at the time, and you lose restore to those versions.

Leftover staging lakehouses#

What it means. Dataflow Gen2 stages data in a lakehouse it creates itself, named StagingLakehouseForDataflows_ and the time it was made (for example StagingLakehouseForDataflows_20260926153358). A workspace can end up with several. The finding lists every one except the newest in its workspace. The older single DataflowsStagingLakehouse is never listed.

Why it matters. A leftover still holds the data it staged, and you pay OneLake storage for it. It also clutters the workspace.

How the one in use is kept. Fabric doesn't say which staging lakehouse a dataflow uses, so Remove is careful:

  • The newest staging lakehouse in a workspace is never offered. A name dated more than a day ahead is never offered either, and doesn't count as the newest.
  • An older one can be removed only when nothing in its Tables or Files has been written for 30 days (an empty one counts from when it was made).
  • Every Dataflow Gen2 in the workspace must show it doesn't stage there: its definition doesn't name the lakehouse, and it has a completed refresh that started after the lakehouse was last written (a dataflow staging there would have written to it). A dataflow that never refreshed, whose history Fabric no longer lists, or whose definition can't be read keeps it, and so does a workspace where Fabric lists no dataflows. Older dataflows (Gen1, and Dataflow Gen2 without CI/CD) aren't in Fabric's API, so Remove also reads Power BI's list of the workspace's dataflows (Dataflow.Read.All, asked on first use): any dataflow there that Fabric doesn't describe keeps the lakehouse, and so does a list that can't be read. Power BI lists only the dataflows you can see, so use Remove with the Member or Admin role in the workspace.
  • If its tables and files can't be read, it stays.

The scan doesn't read the tables inside any staging lakehouse, and it never suggests Optimize, Vacuum or other fixes for them, because Fabric manages them.

What Remove does. It checks everything above again, live from Fabric and OneLake. Then it shows the workspace, when the lakehouse was made and last written, how many files and how much storage it holds, which staging lakehouse is kept, and each dataflow it checked. When something keeps it, it says why and nothing can be deleted. Otherwise Remove... opens a red confirm, and Delete lakehouse stays off until you type delete. The app then checks again and deletes that one lakehouse with its tables and files through the Fabric API (shortcut targets stay). A lakehouse renamed since the check isn't deleted. Fabric may not let you get it back. The StagingWarehouseForDataflows_ warehouse made at the same time is left alone. Remove is only in the app: it isn't offered over MCP or the local API. IT can turn Remove off with allow_staging_cleanup: false; the findings still show.

By hand. Open the workspace in Fabric, check that no dataflow refresh wrote to the lakehouse lately, and delete it from its ... menu. Keep the newest one.

Empty lakehouses#

What it means. The lakehouse has no tables and no files.

Why it matters. It doesn't cost storage, but it clutters the workspace and the catalog, and people may write to it by mistake.

What the button does. Open in Fabric opens the lakehouse.

By hand. If nothing will use it, in Fabric select ... next to the lakehouse in the workspace, then Delete. Deleting also removes its SQL analytics endpoint and default semantic model. Check first that no shortcut in another lakehouse points at it.

Need a hand?

Find a fix in troubleshooting, or share a reproducible issue with the community.

Get support ↗Improve this guide on GitHub ↗
Development documentation snapshot: cbf1c74e441de6cb982e7b463591fc6f1a3d2c6b · View source on GitHub ↗

Search documentation

Start typing to search all 115 guides.

Search runs in your browser esc to close