Fabric Spark Runtime 1.3 support ends in March 2027. Move notebooks and Spark jobs to Runtime 2.0 first
Microsoft Fabric's Runtime 1.3 is on extended support through March 2027. After that it's removed, and jobs on 1.3 environments can't run. Runtime 2.0 changes Spark, Java, Scala, Python and the default libraries at once, so test before you switch.
part 77 of 77 · Platform releases, explained from scratchthe ideaTest every workload on 2.0 before Runtime 1.3 leaves Fabric
after reading, you can- Find every workspace and Environment item that still runs Fabric Spark Runtime 1.3
- Fix the libraries, Scala JARs and Event Hubs streams that won't run on Runtime 2.0 as they are
- Move workloads to Runtime 2.0 in tested batches while a rollback to 1.3 still exists
If your team runs notebooks or Spark jobs in Microsoft Fabric, check which runtimedefinitionWhat your Spark code actually runs on in Fabric. It's a Spark version packed with Java, Python, Delta Lake and the rest, so when it changes, all of them change together. they sit on. Runtime 1.3 is on extended support that Microsoft says runs through March 2027, and once support ends the runtime comes out of Fabric. Jobs attached to 1.3 environments can't run after that. Move each workload to Runtime 2.0 in a test environment first, then in batches, and leave enough time for the libraries that won't come along on their own.
Your Fabric notebooks run on an engine that's being retired, and its replacement changes a lot
Your data team's notebooks and scheduled jobs run on something Microsoft calls a runtime: Spark plus Java, Python, Delta Lake and a few other parts, packed together. Runtime 1.3 is the old one. Its normal support ended in September 2026, and it's on a six-month extension through March 2027. After that Microsoft removes it, and a job attached to a 1.3 environment can't run. Runtime 2.0 replaces nearly every part at once. Most code moves fine. Some won't until someone fixes it, and you want to find that out in testing.
Think of a commercial kitchen getting a full refit. New ovens, new gas line, a new set of standard pans in the cupboard. Most recipes still work, but a few relied on a pan that's no longer stocked or an oven that ran a little cooler. You find those by cooking every dish once in the new kitchen before opening night.
- Fabric workspaces with notebooks
- Spark job definitions on a schedule
- Teams with custom JAR or wheel files
- Event Hubs streaming in Spark
- Power BI reports on lakehouse tables
Why does a runtime date matter to the business?
The risk is a scheduled job that stops. Microsoft's lifecycle page is blunt about what follows the end-of-support date. The runtime disappears from workspace settings and from the Environment item, nobody can create a new environment on it, and existing Spark jobs on those environments can't run. A few days later the environments that use it are removed along with the backend behind them.
For the business, that means whatever those jobs feed. A nightly notebook that loads the sales lakehouse feeds the Power BI model finance opens every morning. If it fails, the report shows yesterday's numbers, or the day before's, and somebody spends a morning finding out why. Support tickets about an unsupported runtime are closed automatically, so Microsoft support won't be the fix either.
Microsoft hasn't published an exact day in March 2027. The lifecycle page says long-term supportdefinitionA support stage some runtimes get after general availability. For Runtime 1.3 it's six extra months after its end-of-support date. Use them to move, because nothing comes after. extends support through March 2027, and it also says lifecycle timelines can change at Microsoft's discretion. Plan to be finished well before March starts. That way the date doesn't matter.
-
01 Runtime 1.3 announced for retirement
Microsoft put 1.3 on its retirement list with an end-of-support date at the end of September. Nothing stopped working that day, but the clock started.
-
02 Six months of long-term support
Since the start of October, 1.3 has been on long-term support for six more months. That's the window you have to test and move.
-
03 You test and move each workload
Copies of notebooks and jobs run on a Runtime 2.0 environment in a test workspace, then move to production in batches.
-
04 Support ends and 1.3 is pulled
The runtime disappears from workspace settings and environments. Jobs still on 1.3 environments can't run.
-
05 Environments removed
A few days later, environments on 1.3 are deleted along with the backend parts behind them. Rolling back is no longer possible.
One detail engineers should notice. Microsoft's rollback advice for the move is to reattach the 1.3 environment or restore the workspace runtime. That only works while 1.3 still exists. Teams that leave the migration until the last few weeks of March lose their safety net at the same moment they need it.
What changes between Runtime 1.3 and 2.0?
Almost every part jumps a major version in one go. Even Microsoft's migration guide tells you to check notebooks, job definitions, libraries and pipelines before you touch production. Here's what moves.
| Component | Runtime 1.3 | Runtime 2.0 | What it means for you |
|---|---|---|---|
| Release stage | End of support announced | Generally available, the default | New workspaces and environments already start on 2.0 |
| Apache Spark | 3.5 | 4.1 | Behaviour changes and removed APIs in SQL, PySpark and Core |
| Java | 11 | 21 | Rebuild and test Java libraries and JNI dependencies |
| Scala | 2.12.17 | 2.13.16 | Recompile every Scala JAR. 2.12 and 2.13 builds aren't binary compatible |
| Python | 3.11 | 3.13 | Every package needs a 3.13 release and a Linux wheel |
| R | 4.4.1 | 4.5.2 | Reinstall custom R packages. SparkR is deprecated in Spark 4.x |
| Delta Lake | 3.2 | 4.2 | Existing tables still work. New table features can lock other readers out |
| Operating system | Azure Linux 2.0 (Mariner 2.0) | Azure Linux 3.0 (Mariner 3.0) | Rebuild native libraries and custom binaries |
| End of support | 30 Sep 2026, LTS through Mar 2027 | 31 Aug 2028 | 2.0 gives you about 18 months past the 1.3 cut-off |
What will actually cost your team time on this move
Runtime 2.0 drops 348 Conda and 24 pip Python packages and 67 R Conda packages from the default image. PyTorch, transformers, shap, dask, lxml, xlsxwriter and r-sf are on the list. Add what you use through Library Manager.
Deprecated in 1.3 and gone in 2.0. Streaming jobs that read Azure Event Hubs move to the Apache Spark Kafka connector and Event Hubs' Kafka-compatible endpoint.
A JAR built for 1.3 can fail to load on 2.0 even when the source didn't change. Build a separate 2.0 artifact and swap every _2.12 dependency for its _2.13 version.
File sizes, partition sizes, speculation, ORC compression and Delta optimize behaviour all have new defaults. Settings 2.0 doesn't accept are dropped with a warning when you switch.
Runtime 2.0 sets enableDeletionVectors to true by default. Check the metadata of tables it creates before other engines and tools read them.
Spark 4.1 moves its internal servlet references to jakarta. Custom listeners and Spark extensions that touch Spark internals need a look.
Several cases where the native execution engine returned different results from JVM Spark on 1.3 are fixed on 2.0, including round(), decimal to float casts and collect_list ordering.
The native engine now parses CSV and JSON itself on Runtime 2.0, and Microsoft's docs call that ready for production. Ingestion notebooks that read raw files are the ones likely to notice.
Spark 4.1 adds things your engineers will want, such as the VARIANT type for semi-structured data and SQL user-defined functions. None of it is needed for the move itself.
The libraries are where most teams will spend their time. On 1.3 a notebook could import shap or import xlsxwriter without anyone adding it, because the package came with the image. On 2.0 that same line fails until someone adds the package to the environment and publishes it. Microsoft's guide asks you to add only what the workload uses, pin versions for production, and let Library ManagerdefinitionWhere you add the packages a notebook needs, from PyPI, Conda, Maven, R or your own files. Nothing installs until you publish the environment. pull the dependencies.
Pinned versions bring a second trap. A pin that suited Python 3.11 can point at a release that refuses to install on 3.13. Semantic Link Labs, a library many Fabric admins use from notebooks, is a real example. Its releases before 0.15.2 declare Python below 3.12 or below 3.13 in their package metadata, so an old pin won't resolve on Runtime 2.0. Publishing the environment fails, and the error log names the conflict.
The configuration changes are quieter, and that's what makes them risky. Nothing errors. Parquet writes now aim for 128 MiB blocks instead of 1 GiB, scans pack up to 512 MiB into a partition instead of 128 MiB, and OPTIMIZE can skip compaction it would have done before. A job can finish green and still leave different file sizes, different parallelism and a different bill. Compare runtime and capacity use, not only whether the job passed.
Upstream Spark 4 guides will tell you ANSI SQL mode is on by default, so silent nulls from bad casts become errors. Fabric keeps spark.sql.ansi.enabled at false in Runtime 2.0, overriding the Apache default on purpose. Microsoft's guide lists that alongside four other upstream defaults Fabric changes, so don't plan fixes from an Apache blog post alone.
- Extended support only, and it runs out in March 2027
- Big default package set, so imports just work
- Event Hubs streaming on the old EventHubConnector
- Scala 2.12 JARs and Java 11 builds
- Native engine can give different answers from JVM Spark in a few functions
- After the cut-off, jobs on 1.3 environments can't run
- Supported until 31 August 2028
- Lean image, so every library is declared and pinned
- Event Hubs read through the Kafka connector
- Separate Scala 2.13 and Java 21 builds of custom code
- Faster native CSV and JSON reads. Rounding and cast results now match what Spark's normal engine gives
- Rollback to 1.3 possible only until 1.3 is removed
Runtime 1.3 and 2.0 dates that matter
- 30 Sep 20261.3 end-of-support date
Normal support for 1.3 ends here. Jobs keep running, but the countdown to removal has started.
- 1 Oct 20261.3 enters long-term support
Six months of extended support start. Use them to test and move workloads, because they are the last months 1.3 is supported.
- 16 Oct 2026Native fallback rollout
Microsoft records a rollout that turns on cost-based fallback to JVM Spark when 2.0 sessions start in public production regions.
- 4-5 Dec 2026Docs push 2.0
Fabric docs call native CSV and JSON reads ready for production and point 1.3 users to the migration guide. The message to 1.3 users gets louder.
- Mar 20271.3 long-term support ends
Microsoft hasn't named the day. After it, 1.3 disappears from settings and environments, and those environments get deleted a few days on.
- 31 Aug 20282.0 end of support
The current end-of-support date for Runtime 2.0.
How do you move it all without breaking Monday morning's reports?
Microsoft's guide describes a staged migration, and it's the right shape. Don't flip the workspace default first. Build a 2.0 environment beside the old one, prove the work on copies, then move items over in small groups. The workspace default changes last, once nothing depends on it.
Before: a workspace on Runtime 1.3
The workspace default is 1.3, one environment carries a Scala JAR and pinned wheels, and a streaming job reads Event Hubs through the old connector. Power BI reads the gold tables through the SQL analytics endpoint.
After: items on a tested Runtime 2.0 environment
A published 2.0 environment holds every library explicitly, the JAR is rebuilt for Scala 2.13, streaming reads Event Hubs through Kafka, and table protocols stay unchanged until every consumer is checked.
The move, from inventory to the workspace default
- 01List every workspace and environment still on 1.3
Check each workspace's Spark settings and every Environment item, because an environment overrides the workspace default. The Spark workspace settings REST API returns the default runtime in environment.runtimeVersion, which helps across many workspaces.
- 02Write down what each workload depends on
Record libraries and their resolved versions, custom JARs, wheels and native code, Spark settings, connections and secrets, streaming checkpoints, and every table it writes. Start with workloads that use Scala, native code, streaming state or advanced Delta features.
- 03Build a 2.0 environment in a test workspace
Create a new Environment item, pick 2.0 (Spark 4.1, Delta 4.2), add the libraries the workload needs with pinned versions, then save and publish. Attach it to copies of the notebooks and job definitions, never the production items.
- 04Fix the code and the builds
Rebuild JARs for Java 21, Scala 2.13 and Spark 4.1. Replace removed pandas API on Spark calls such as iteritems and append. Swap EventHubConnector for the Kafka connector. Delete Spark settings 2.0 rejects.
- 05Run the same inputs on both runtimes
Feed both runtimes the same data and compare what comes out, column types and row counts first, then totals, nulls, dates and run time. Break things on purpose too. Restart a session, retry a job and recover a checkpoint.
- 06Check every table consumer
Look at the protocol and features of tables 2.0 writes, including deletion vectors. Then confirm the SQL analytics endpoint, Power BI, pipelines, dataflows and any outside engine still read them.
- 07Move production in batches
Attach the validated 2.0 environment to a few production items, run them, watch outputs and downstream reports, then continue. Change the workspace default last. Running sessions keep their runtime until they stop.
- 08Keep the way back until you're sure
Keep the 1.3 environment, artifacts, library lists and streaming checkpoints until the observation period ends. Rolling back means reattaching that environment and starting a new session, and it only works while 1.3 exists.
# example output, trimmed to the runtime field. Run GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/spark/settings for each workspace you own { "environment": { "name": "environment1", "runtimeVersion": "1.3" } } # 1.3 here means notebooks without their own environment start on Runtime 1.3
If you have more than a handful of workspaces, test against the early access release channel as well. It's a preview feature that lets a test environment run the next set of 2.0 updates before they become the default. It needs spark.fabric.pools.skipStarterPools=true and spark.computeConf.runtime.releaseChannel=earlyAccess, and it skips the starter pool, so sessions take longer to start.
Expect a few differences that are actually fixes. On 1.3 the native execution enginedefinitionFabric's vectorized engine that runs supported Spark operations in C++ through Apache Gluten and Velox, and falls back to JVM Spark when it can't. could give different answers from JVM Spark for round(), decimal to float casts and collect_list() ordering, and a job could fail outright on an unrecognised time zone. Microsoft lists those as resolved on 2.0. If your comparison flags a changed rounding result, check which runtime was wrong before you change any code.
What should each team do now?
What to do now, by who you are
- Ask the data team how many workspaces and environments still run Runtime 1.3, and which reports depend on them.
- Get a finish date before 1 March 2027, with the last batch moved and watched for a couple of weeks.
- Ask who owns each scheduled notebook. Jobs nobody owns are the ones that fail quietly after the cut-off.
- Inventory runtimes per workspace and per Environment item. With many workspaces, pull them from the REST API instead of clicking through settings.
- Create a Runtime 2.0 environment per workload type in a test workspace, with pinned libraries, and publish it.
- Move production items in batches and switch the workspace default only after the last item moves.
- Keep the 1.3 environments until the observation period ends, then retire them yourself.
- Search your notebooks for imports of anything on Microsoft's removed list. Each hit gets added to the environment, or the notebook fails.
- Rebuild Scala and Java code for Scala 2.13, Java 21 and Spark 4.1, and replace every _2.12 dependency.
- Move Event Hubs streams to the Kafka connector and test the restart from a copy of the checkpoint.
- Run the same inputs on both runtimes and compare schemas, row counts, aggregates and run time.
- Check Power BI models and the SQL analytics endpoint still read every table the batch wrote.
- Hold back any Delta protocol upgrade until every consumer of that table supports it.
- Read through the new environment's library list. Every package on it runs against your data now, so someone should own it.
How do you keep the next runtime move small?
Runtime 2.0 has an end-of-support date too. The lifecycle page shows a general pattern: about 24 months of general availability, sometimes a period of long-term support, and usually six months' notice before a runtime goes. Some of the work you do now makes the next move a lot shorter.
Habits that make the 2.0 to 3.0 move shorter
- 01Declare every library
Treat the lean 2.0 image as the rule. If a notebook imports it, the environment lists it with a pinned version. Next time the default image changes, nothing breaks quietly.
- 02One environment per workload type
Attach notebooks and jobs to named Environment items instead of the workspace default. You can then move one group at a time and roll it back on its own.
- 03Keep a regression set
Save representative inputs and expected outputs for the jobs that matter, with row counts and aggregates. Next time, the comparison is a scheduled run, not a project.
- 04Build JARs in a pipeline
Build Scala and Java artifacts from source in CI with the Scala version in the artifact name. A rebuild for the next Scala or Java version is then a change to one setting.
- 05Watch the early access channel
Point a small test environment at the early access channel and run the regression set on a schedule. You'll see library and default changes before they reach production.
- 06Track table consumers
Keep a list of every engine and report that reads each important Delta table. It's the list you need before any protocol change, and auditors ask for it anyway.
If the move goes wrong
The usual failure is a batch that moved to 2.0 and now fails, or runs green but produces different numbers. Work through these phases in order, and remember the way back only works while 1.3 still exists.
- 01Stop the damagefirst hour
- Reattach the batch's notebooks and jobs to the old 1.3 environment and start new sessions.
- If you changed the workspace default, set it back to 1.3 for now. Running sessions keep their runtime until they stop.
- Let report owners know which tables could be stale and since which run. They'll get the questions before you do.
- 02Find the causesame day
- Read the environment publish log for library conflicts, and the Spark logs for class-loading or import errors.
- Compare the failing output with the 1.3 run: schema, row counts, aggregates, nulls, dates and rounding.
- Check whether a changed default explains it, such as file sizes, partition sizes or deletion vectors on new tables.
- For streaming, check whether the query restarted from its checkpoint. If it replayed or skipped input, the sink holds duplicates or gaps.
- 03Fix and retestwithin days
- Fix the code, library pin or setting in the test workspace first, then rerun the same inputs on both runtimes.
- Avoid legacy compatibility settings as the permanent fix. Microsoft's guide says to remove them before you finish.
- 04Repair the dataafter the fix
- If wrong numbers reached a table, check its protocol first. If 2.0 raised it, 1.3 may not write to it, so fix the job on 2.0 and rerun it from known-good input.
- Recheck every report and pipeline that read the table while it was wrong.
- 05Learn from itafter the fix
- Add the failing case to the regression set so the next batch tests it.
- Still stuck with the deadline close? Open a Microsoft support case while 1.3 is supported. After that, tickets get closed automatically.
What does this look like in a real estate?
Three typical Fabric Spark setups
- the setup
- A distributor's analysts run a dozen notebooks on the workspace default, 1.3. One uses xlsxwriter for a weekly export. An admin notebook sits on its own environment, which pins an old Semantic Link Labs release.
- what happens
- Someone switches the workspace default and that environment to 2.0 on a Friday. Monday's export fails on the missing import, and the environment won't publish because the old pin refuses Python 3.13.
- what to do
- Leave the default alone. Build a 2.0 environment with xlsxwriter and a current Semantic Link Labs release pinned, test copies of both notebooks, attach them, then change the default.
- the setup
- A logistics firm streams scan events from Event Hubs into a lakehouse with Structured Streaming on EventHubConnector, and a Spark job definition runs a Scala JAR built for 2.12.
- what happens
- On 2.0 the streaming job won't start because the connector is gone, and the JAR throws class-loading errors even though nobody touched the code.
- what to do
- Rebuild the JAR for Scala 2.13 and Java 21. Move the stream to the Kafka connector, test a restart from a copy of the checkpoint, and make the sink idempotent in case you need a fresh one.
- the setup
- A bank's data platform team writes gold Delta tables from Spark. Power BI, the SQL analytics endpoint, pipelines and an outside engine read them. Forty workspaces, half still on 1.3.
- what happens
- Jobs pass on 2.0, but new tables come out with deletion vectors on by default, and a downstream engine needs checking. File sizes also change after OPTIMIZE, and capacity use shifts.
- what to do
- Pull the runtime for all forty workspaces from the REST API. Before each batch, check the new tables' metadata and every reader, leave protocols alone, and compare capacity use on both runtimes.
Cohash's data and analytics practice plans and runs Fabric changes like this one. We inventory runtimes and environments across workspaces, rebuild the libraries and code that won't move on their own, and compare results on both runtimes before anything reaches production. See our Microsoft Fabric work, hire Fabric engineers for the migration, or start with an assessment of what still runs on 1.3.
What to take from this
- 01
Runtime 1.3's extended support runs through March 2027. After that it leaves Fabric, and jobs on 1.3 environments can't run.
- 02
Check both the workspace default and every Environment item. Either one can keep a job on 1.3.
- 03
Runtime 2.0 drops hundreds of default packages. Declare and pin every library your notebooks import.
- 04
Rebuild Scala JARs for 2.13, move Event Hubs streams to the Kafka connector, and test checkpoints on copies.
- 05
Don't upgrade Delta protocols during the move, and switch the workspace default last, while 1.3 still exists for rollback.
01When exactly does Fabric Runtime 1.3 support end?
Microsoft's lifecycle table gives an end-of-support date in September 2026, then six months of long-term support through March 2027. There's no exact day in March. We'd treat the end of February as the real deadline and plan backwards from it.
02We missed a notebook and it's still on 1.3 when support ends. What happens to it?
If it's attached to a 1.3 environment, it can't run, and a few days later that environment is deleted. Microsoft hasn't said what happens to a notebook that only relies on a 1.3 workspace default. Assume it either breaks or moves to 2.0 without anyone testing it.
03Is going from 1.3 to 2.0 just a setting change, or a real migration project?
Treat it as a migration. Spark goes from 3.5 to 4.1, Java from 11 to 21, Scala from 2.12 to 2.13, Python from 3.11 to 3.13, Delta from 3.2 to 4.2 and the operating system to Azure Linux 3.0. Hundreds of default packages are also gone.
04Will my Python libraries come across to Runtime 2.0 on their own when we switch?
Partly. Fabric carries your library list over when you switch an environment, but it won't promise they work. Anything 1.3 gave you for free has to be added by hand. A package that doesn't support Python 3.13 can make the publish fail.
05Do I have to change my Delta tables?
No. Runtime 2.0 reads and writes tables created on 1.3. Microsoft's advice is to leave table protocols alone during the move and check new tables' metadata, because 2.0 turns deletion vectors on by default.
06Can we roll back to 1.3 if something breaks?
Yes, while 1.3 still exists. Reattach the 1.3 environment or set the workspace runtime back and start a new Spark session. Once 1.3 is removed, that option is gone, which is why the move should finish early.
07Does this affect pure Python notebooks in Fabric?
No. Python notebooks that don't use Spark run on a Python kernel with its own lifecycle. This change is about the Spark runtime behind Spark notebooks and Spark job definitions.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Your workspace default is 2.0, but one nightly job still loads its old Scala 2.12 JAR fine. What's the likeliest reason?
show the answer
B. The job is attached to an Environment item still on Runtime 1.3 An Environment item's runtime overrides the workspace default for the notebooks and jobs attached to it, so an inventory has to check every environment as well as the workspace.
-
Q2A notebook that ran on 1.3 now fails on 2.0 at import shap. What's the right fix?
show the answer
D. Add a pinned, Python 3.13 compatible shap to the 2.0 environment and publish it Runtime 2.0 removed hundreds of packages from the default image. Microsoft's guide says to add what the workload needs through Library Manager, pin versions and publish.
-
Q3Testing on 2.0 looks good, and an engineer asks to switch on a Delta 4.2 feature for a shared table. What do you say?
show the answer
A. Wait until the move is done, then check every engine and report that reads the table A new feature can raise the table's protocol and lock out older readers, and protocol upgrades can't be undone. Microsoft says to leave protocols alone during the migration.