AEM Cloud Service deprecated APIs and incompatibilities

What AEM 6.5 code must change before it runs on AEM as a Cloud Service. Since 14 April 2026, Cloud Manager fails builds that use removed APIs. For the other rules in that build step, see Cloud Manager code quality rules explained.

One page per item, 32 in all. Each gives the status, the replacement and the steps to fix it. Where the free readiness scan has a rule for the item, the page names the rule.

Removed

ItemStatusReplacement
API removal date Feb 2026Removed (Adobe's removal date: 26 February 2026)SLF4J for logging, Sling Auth Core for authentication, the OSGi Http Whiteboard for servlets and filters, and your own embedded library versions for Jetty client, Guava or metadata extraction.
Google GuavaRemoved (Adobe's removal date: 26 February 2026)JDK collections and java.util.Objects for most uses, Caffeine for caches, or an embedded Guava version (Adobe's notes list guava 33.4.8-jre) when the dependency is unavoidable.

Scheduled for removal

ItemStatusReplacement
APIs removed Mar 2027Removal scheduled 31 March 2027org.apache.sling.xss for XSS protection, the Servlet API's multipart support for uploads, com.day.cq.commons.predicates, com.day.cq.wcm.commons, and embedded current versions of Tika or Handlebars where you need them.
Sling Commons JSONRemoval planned (tentative) 31 December 2027javax.json (Apache Johnzon, provided by the platform), or Jackson / Gson embedded in your bundle.
Commons Lang 2Removal planned (tentative) 31 December 2027org.apache.commons.lang3, which the platform provides.
Commons Collections 3Removal planned (tentative) 31 December 2027org.apache.commons.collections4 or standard JDK collections and streams.
org.json and sling.runmodeRemoval planned (tentative) 31 December 2027javax.json for JSON.
Granite XSSRemoval planned (tentative) 31 December 2027org.apache.sling.xss, which Adobe's table names as the replacement.
APIs removed Dec 2027Removal scheduled 31 December 2027For com.day.cq.contentsync.handler.util Adobe says to use Apache Sling's Builders.

Not supported on Cloud Service

ItemStatusReplacement
Felix SCR annotationsNot supported on Cloud Serviceorg.osgi.service.component.annotations (@Component, @Reference, @Activate) with org.osgi.service.metatype.annotations (@Designate, @ObjectClassDefinition).
Admin resource resolverNot supported on Cloud ServiceResourceResolverFactory.getServiceResourceResolver with a sub-service name, a system user created through repoinit, and a ServiceUserMapperImpl.amended OSGi configuration.
Replication agentsNot supported on Cloud ServiceManage Publication or the Tree Activation workflow step for authors; Replicator API calls for code; event-driven integrations for anything that used a custom agent to push content elsewhere.
Classic UI dialogsNot supported on Cloud ServiceGranite UI (Coral 3) cq:dialog definitions; custom widgets become Granite UI fields or small client libraries.
Content under /etcNot supported on Cloud ServiceContext-aware configuration in /conf, workflow models in /conf/global/settings/workflow/models, and runtime instances in /var.
Mutable vs immutableNot supported on Cloud ServiceThe AEM project archetype layout: ui.apps for immutable code, ui.content for mutable content, ui.config for OSGi configuration, and an all package.
OSGi config formatNot supported on Cloud Service.cfg.json files in ui.config, with secrets and per-environment values supplied by Cloud Manager environment variables ($[secret:NAME] and $[env:NAME]).
Custom run modesNot supported on Cloud Serviceconfig.author, config.publish and combinations with dev, stage, prod and rde; values that differ between environments of the same type come from Cloud Manager environment variables.
Custom Oak indexesNot supported on Cloud ServiceLucene index definitions in ui.apps named with the -custom-<n> suffix, increased on every change.
Local file systemNot supported on Cloud ServiceThe JCR repository for small data, Sling Jobs for queued work, and external object storage for large files.
Custom authenticationNot supported on Cloud ServiceAdobe IMS for authors; the SAML 2.0 authentication handler or a reviewed custom handler for publish; OAuth server-to-server credentials for integrations (JWT credentials are deprecated).
Oak internal APIsNot supported on Cloud Servicejavax.jcr, org.apache.jackrabbit.api and Sling resource APIs.
AEM CommunitiesNot supported on Cloud ServiceA dedicated community platform integrated through APIs, or retiring the feature.
Legacy commerceNot supported on Cloud ServiceA storefront on Edge Delivery Services, which Adobe recommends.
uber-jarNot supported on Cloud Servicecom.adobe.aem:aem-sdk-api at the version matching your target release, plus the AEM Analyser Maven plugin in the build.
Dispatcher configNot supported on Cloud ServiceThe Cloud Service dispatcher layout in flexible mode, validated locally with the dispatcher tools in the AEM SDK.

Deprecated

ItemStatusReplacement
JCR EventListenerDeprecated on Cloud Serviceorg.apache.sling.api.resource.observation.ResourceChangeListener for notification, and Sling Jobs (JobManager + JobConsumer) for work that must run exactly once.
Sling SchedulerDeprecated on Cloud ServiceScheduled Sling Jobs created through JobManager.createJob(topic).schedule(), processed by a JobConsumer.
Foundation componentsDeprecated on Cloud ServiceProxy components under /apps that set sling:resourceSuperType to a versioned Core Component, for example core/wcm/components/text/v2/text.
Static templatesDeprecated on Cloud ServiceEditable templates and content policies under /conf, created with the Modernization Tools template and policy converters.
DAM Update AssetDeprecated on Cloud ServiceProcessing profiles for renditions and metadata, post-processing workflows for custom steps, and Dynamic Media for video transcoding.
com.day.cq.workflowDeprecated on Cloud Servicecom.adobe.granite.workflow.exec.WorkflowProcess and related Granite interfaces.
HTL JavaScript Use APIDeprecated on Cloud ServiceSling Models (Java Use API) adapted from the request or resource.

Scan, Convert, Verify, Install

How Surge Migrate helps with a move to AEM as a Cloud Service

Surge Migrate moves a website from any CMS to any CMS, and AEM as a Cloud Service is one of the systems it writes. Pages are converted automatically, and you check the result before you install anything.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →

Content packages installed on a local AEM as a Cloud Service SDK. See the worked examples.

On AEM 6.5 code: Scan AEM 6.5 code free. The scan reads a repository zip or a Best Practices Analyzer CSV in your browser and lists Cloud Service blockers with file, fix and effort. Nothing is uploaded.