Access issues with “/apps/groovyconsole” in AEM as a Cloud Service
The AEM Groovy Console was a developer tool used in older AEM deployments (on-prem or AMS) to execute Groovy scripts directly within the AEM environment. In AEM as a Cloud Service (AEMaaCS), any attempts to grant access to the /apps/groovyconsole
path are unsuccessful as Groovy Console is a legacy tool and no longer supported by AEM.
You can use alternatives like using sling pipes or check group-level access permissions under OSGi configuration.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) - Sites
Issue/Symptoms
Attempts to grant access to the /apps/groovyconsole
path in AEMaaCS are unsuccessful due to the following constraints:
- The Groovy Console is not officially supported in AEMaaCS because it is considered a legacy tool that can perform unmonitored changes. Like, Groovy Console can allow anyone to directly alter content or configuration on a running instance, with no record in source control or deployment logs.
- The
/apps
directory in AEM as a Cloud Service is immutable, meaning that modifications or permission changes can’t be applied directly.
Resolution resolution
Since the Groovy Console and its associated functionalities are not supported, as an alternative, consider the following approaches:
- Use Sling Pipes for tasks that require dynamic content manipulation or processing within AEM. This approach aligns with best practices and avoids unsupported tools such as the Groovy Console.
- If a version of the Groovy Console has been installed, refer to its documentation for relevant configuration details. Specifically, review properties such as
Script Execution Allowed Groups
in the OSGi settings, which may control group-level access permissions. - Adobe recommends using only officially supported, out-of-the-box features provided by AEM as a Cloud Service for content management and development tasks.
Note: Attempting to use unsupported tools or modify immutable directories may result in unexpected behavior and is not supported by Adobe.
For further assistance or clarification on alternative solutions, consult the official Adobe documentation or contact Adobe Support.