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
| Item | Status | Replacement |
|---|---|---|
| API removal date Feb 2026 | Removed (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 Guava | Removed (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
| Item | Status | Replacement |
|---|---|---|
| APIs removed Mar 2027 | Removal scheduled 31 March 2027 | org.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 JSON | Removal planned (tentative) 31 December 2027 | javax.json (Apache Johnzon, provided by the platform), or Jackson / Gson embedded in your bundle. |
| Commons Lang 2 | Removal planned (tentative) 31 December 2027 | org.apache.commons.lang3, which the platform provides. |
| Commons Collections 3 | Removal planned (tentative) 31 December 2027 | org.apache.commons.collections4 or standard JDK collections and streams. |
| org.json and sling.runmode | Removal planned (tentative) 31 December 2027 | javax.json for JSON. |
| Granite XSS | Removal planned (tentative) 31 December 2027 | org.apache.sling.xss, which Adobe's table names as the replacement. |
| APIs removed Dec 2027 | Removal scheduled 31 December 2027 | For com.day.cq.contentsync.handler.util Adobe says to use Apache Sling's Builders. |
Not supported on Cloud Service
| Item | Status | Replacement |
|---|---|---|
| Felix SCR annotations | Not supported on Cloud Service | org.osgi.service.component.annotations (@Component, @Reference, @Activate) with org.osgi.service.metatype.annotations (@Designate, @ObjectClassDefinition). |
| Admin resource resolver | Not supported on Cloud Service | ResourceResolverFactory.getServiceResourceResolver with a sub-service name, a system user created through repoinit, and a ServiceUserMapperImpl.amended OSGi configuration. |
| Replication agents | Not supported on Cloud Service | Manage 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 dialogs | Not supported on Cloud Service | Granite UI (Coral 3) cq:dialog definitions; custom widgets become Granite UI fields or small client libraries. |
| Content under /etc | Not supported on Cloud Service | Context-aware configuration in /conf, workflow models in /conf/global/settings/workflow/models, and runtime instances in /var. |
| Mutable vs immutable | Not supported on Cloud Service | The 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 format | Not 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 modes | Not supported on Cloud Service | config.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 indexes | Not supported on Cloud Service | Lucene index definitions in ui.apps named with the -custom-<n> suffix, increased on every change. |
| Local file system | Not supported on Cloud Service | The JCR repository for small data, Sling Jobs for queued work, and external object storage for large files. |
| Custom authentication | Not supported on Cloud Service | Adobe 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 APIs | Not supported on Cloud Service | javax.jcr, org.apache.jackrabbit.api and Sling resource APIs. |
| AEM Communities | Not supported on Cloud Service | A dedicated community platform integrated through APIs, or retiring the feature. |
| Legacy commerce | Not supported on Cloud Service | A storefront on Edge Delivery Services, which Adobe recommends. |
| uber-jar | Not supported on Cloud Service | com.adobe.aem:aem-sdk-api at the version matching your target release, plus the AEM Analyser Maven plugin in the build. |
| Dispatcher config | Not supported on Cloud Service | The Cloud Service dispatcher layout in flexible mode, validated locally with the dispatcher tools in the AEM SDK. |
Deprecated
| Item | Status | Replacement |
|---|---|---|
| JCR EventListener | Deprecated on Cloud Service | org.apache.sling.api.resource.observation.ResourceChangeListener for notification, and Sling Jobs (JobManager + JobConsumer) for work that must run exactly once. |
| Sling Scheduler | Deprecated on Cloud Service | Scheduled Sling Jobs created through JobManager.createJob(topic).schedule(), processed by a JobConsumer. |
| Foundation components | Deprecated on Cloud Service | Proxy components under /apps that set sling:resourceSuperType to a versioned Core Component, for example core/wcm/components/text/v2/text. |
| Static templates | Deprecated on Cloud Service | Editable templates and content policies under /conf, created with the Modernization Tools template and policy converters. |
| DAM Update Asset | Deprecated on Cloud Service | Processing profiles for renditions and metadata, post-processing workflows for custom steps, and Dynamic Media for video transcoding. |
| com.day.cq.workflow | Deprecated on Cloud Service | com.adobe.granite.workflow.exec.WorkflowProcess and related Granite interfaces. |
| HTL JavaScript Use API | Deprecated on Cloud Service | Sling 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
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
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
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
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.