Major Upgrades

Follow this guide when upgrading your Cloud project to a new major version of Umbraco CMS.
Are you using any custom packages or code on your Umbraco Cloud project?
You need to ensure that any packages you use are available in the latest version of Umbraco. You must also ensure your custom code is valid with the new .NET Framework version.
Breaking Changes
Ensure you know the Breaking changes in the latest version of Umbraco CMS.
Upgrading from Umbraco 9
When upgrading from Umbraco 9, you need to upgrade to the closest LTS major. For Umbraco 9 that is Umbraco 10.
When upgrading from Umbraco 9 to Umbraco 10, follow the dropdowns named: "Upgrading from Umbraco 9" in the steps of the guide.
These are extra steps needed when going from Umbraco 9 to Umbraco 10.


Video Tutorials

Umbraco 10+
Umbraco 9 to 10 specific video tutorial
Upgrade tutorial Umbraco 10+
Upgrade tutorial Umbraco 9 to 10 on Cloud

Step 1: Enable .NET

  • Go to the project in the Umbraco Cloud portal.
  • Navigate to Settings -> Advanced.
  • Scroll down to the Runtime Settings section.
  • Ensure that the latest version of .NET is enabled for each environment on your Cloud project, by selecting it from the dropdown.
Runtime settings

Step 2: Clone down your environment

  • Clone down the Development environment.
  • Build and run the project locally.
  • Log in to the backoffice.
  • Restore content from your Cloud environment.

Step 3: Upgrade the project locally using Visual Studio

  • Open your project in Visual Studio - use the csproj file in the /src/UmbracoProject folder.
  • Right-click your project solution in Solution Explorer.
  • Select Properties.
  • Select the same .Net Target Framework drop-down in the General section of the Application tab as on your Cloud project.
Target Framework
  • Go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
  • Navigate to the Updates tab.
  • Checkmark all packages made by Umbraco:
    • Umbraco.Cms
    • Umbraco.Deploy.Cloud
    • Umbraco.Deploy.Contrib
    • Umbraco.Forms
    • Umbraco.Deploy.Forms
      • For Umbraco 13+ the above package is called Umbraco.Forms.Deploy
    • Umbraco.Cloud.Identity.Cms
    • Umbraco.Cloud.StorageProviders.AzureBlob
  • Checkmark the Microsoft.Extensions.DependencyInjection.Abstractions package if it appears in the list.
  • Select Update.
All packages checked in the Visual Studio Package manager and ready for update
If you have more projects in your solution or other packages, make sure that these are also updated to support the latest .NET framework.
Upgrading from Umbraco 9 - Update program.cs, appSettings.json and remove files.
  • Update the Program class in the Program.cs file to the following: using Umbraco.Cms.Web.Common.Hosting;
    public class Program
    public static void Main(string[] args)
    => CreateHostBuilder(args)
    public static IHostBuilder CreateHostBuilder(string[] args) =>
    .ConfigureWebHostDefaults(webBuilder =>
  • Re-enable the appsettings IntelliSense by updating your schema reference in the appsettings.json file from:
"$schema": "./umbraco/config/appsettings-schema.json",
"$schema": "./appsettings-schema.json",
Apply this change to the following files as well:
  • appsettings.Development.json
  • appsettings.Production.json
  • appsettings.Staging.json
Remove the following files and folders manually from your local project:
  • /wwwroot/umbraco
  • /umbraco/PartialViewMacros
  • /umbraco/UmbracoBackOffice
  • /umbraco/UmbracoInstall
  • /umbraco/UmbracoWebsite
  • /umbraco/config/lang

Step 4: Finishing the Upgrade

  • Enable the Unattended Upgrades feature.
  • Run the project locally.
  • Log in to the Umbraco backoffice to verify the upgrade has happened.
    • If you are unable to login locally via Umbraco ID and URL shows /umbraco/authorizeupgrade?redir= then this is because of the Unattended Upgrades setting. It needs to be set to true and deployed to the environment before performing the upgrade.
  • Disable the Unattended Upgrades feature if necessary.
  • Build and run the project to verify everything works as expected.
Target Framework
Once the Umbraco project runs locally without any errors, the next step is to deploy and test on the Cloud Development environment.
Upgrading from Umbraco 9 - Remove files from the development environment.
  • /wwwroot/umbraco
  • /umbraco/PartialViewMacros
  • /umbraco/UmbracoBackOffice
  • /umbraco/UmbracoInstall
  • /umbraco/UmbracoWebsite
  • /umbraco/config/lang
The files and folder above need to be removed on the Development environment through KUDU -> Debug Console -> CMD -> Site -> from both the repository and wwwroot folders.
We highly recommend that you go through everything in your Development environment. This can help you identify any potential errors after the upgrade, and ensure that you are not deploying any issues onto your Live environment.

Step 5: Going live

Upgrading from Umbraco 9 - Remove files from staging/live the environment.
Before deploying the upgrade to your next environment, you will need to remove the folders you also removed from Kudu on your Development environment.
The files are:
  • /wwwroot/umbraco
  • /umbraco/PartialViewMacros
  • /umbraco/UmbracoBackOffice
  • /umbraco/UmbracoInstall
  • /umbraco/UmbracoWebsite
  • /umbraco/config/lang
They need to be removed through KUDU -> Debug Console -> CMD -> Site -> from both the repository and wwwroot folders.
Once everything works as expected in the development environment, you can push the upgrade to the live environment.