Remove Cloud Scale Unit extensions

This article explains how to remove extensions from the Cloud Scale Unit (CSU). It applies to version 10.0.16 or later of the software development kit.

All extensions (Commerce runtime, Headless Commerce APIs, channel database scripts, and Store Commerce for web) that are applied to the CSU can be removed by applying the Remove CSU Extension package (Microsoft.Dynamics.Commerce.Deployment.CSUExtensionCleanUpPackage) to the CSU. When this package is applied, it removes all extensions, and keeps only the base CSU components and the Microsoft hotfixes. It doesn't remove extensions that were applied to channel components such as the Store Commerce app, Hardware station, Cloud Scale Unit - Self hosted, or Commerce back office.

To remove extensions, follow these steps.

  1. Sign in to Microsoft Dynamics Lifecycle Services (LCS).
  2. Select the Shared asset library tile.
  3. Select Commerce Cloud Scale Unit Extension as the asset type, and download the package that is named Remove CSU Extension.
  4. After the package is downloaded, go to your project in LCS.
  5. On the Menu button (sometimes referred to as the hamburger or the hamburger button), select Asset library.
  6. Select Commerce Cloud Scale Unit Extension as the asset type, and then select the plus sign (+) button to upload the Remove CSU Extension package.
  7. Enter a package name and description, and then add the package file by selecting Add file.
  8. After the package file is uploaded, select Confirm to complete the upload process.
  9. LCS validates the package. This validation takes a few minutes. After it's completed, mark the package as Release candidate.
  10. After the upload process is completed, the package must be deployed to the environment. Follow the steps in Apply updates and extensions to Commerce Scale Unit (cloud).


The Remove CSU Extension package is designed to be applied once per calendar day. While this package is in place, any subsequent deployment attempts in the same day will result in failure.

For information about how to deploy packages either manually or by using the automated flow in LCS, see Apply a deployable package and Install a deployable package.