Cloud Manager build and deployment errors · updated
AEM analyser error: Configuration … is not allowed (configuration-api)
The configuration-api analyser validates important OSGi configurations and rejects ones customers may not set on AEM as a Cloud Service, for example the Felix web console's OsgiManager. Remove the disallowed configuration from your project; on Cloud Service the platform manages those settings, and the Developer Console replaces web-console access.
The error
Adobe's example: 'Configuration org.apache.felix.webconsole.internal.servlet.OsgiManager: Configuration is not allowed (com.mysite:mysite.all:… | com.mysite:mysite.ui.config:…)'. The message names the PID and the package that carries it.
Why some configurations are blocked
On Cloud Service, OSGi configuration must be committed to Git and deployed through Cloud Manager, never changed at runtime through the web console. Some PIDs control platform behaviour Adobe manages for every environment, so customer code can't override them.
| Situation | Fix |
|---|---|
| Config copied from an AEM 6.5 project | Delete it from ui.config; it isn't needed on Cloud Service |
| You need a different value per environment | Use environment-specific variables or secrets in an allowed PID |
| You need to see bundle state | Use the Developer Console instead of the web console |
Migrated projects often carry a lot of runmode-specific configuration from 6.5. Review the whole ui.config module once rather than fixing PIDs one failure at a time.
How to fix it
- Find the PID named in the error in your ui.config module.
- Remove the configuration file for that PID.
- If you need environment-specific values elsewhere, use Cloud Manager environment variables.
- Rebuild with the analyser before pushing.
Related pages on this site
Questions
Can I change web console settings on AEM Cloud Service?
No. OSGi configuration is deployed from Git, and some platform PIDs are not allowed for customer code.
Does this analyser run in Cloud Manager?
Yes, Adobe lists configuration-api as running locally and in Cloud Manager.
Where did this configuration come from?
Usually from an AEM 6.5 codebase copied into the Cloud Service project.
Sources
- Adobe: AEM as a Cloud Service SDK Build Analyzer Maven Plugin (checked 10 Nov 2026)
- Adobe: Deploying to AEM as a Cloud Service (checked 10 Nov 2026)
Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.