Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

Groovy script execution error in AEM as a cloud service ("You do not have permission to run scripts in the Groovy Console.")

Avatar

Level 3

Hi Team,

Installed groovy console in my author (AEM As A Cloud service) and while executing script am getting below error.  I have admin access to the system . 

 

"You do not have permission to run scripts in the Groovy Console."

 

- pid: "org.cid15.aem.groovy.console.configuration.impl.DefaultConfigurationService"
  properties:
    allowedGroups:
    - "adminstrators"
    allowedScheduledJobsGroups:
    - "adminstrators"

 Kindly help me 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@neo-silicon 

 

Please check the spelling of the group name. It should be "administrators"


Aanchal Sikka

View solution in original post

4 Replies

Avatar

Community Advisor

Avatar

Level 3

Still no luck 

Am getting below warn in the logs

GET /bin/groovyconsole/services HTTP/1.1] com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess Denied reference from bundle 'aem-groovy-console-bundle'

Avatar

Correct answer by
Community Advisor

@neo-silicon 

 

Please check the spelling of the group name. It should be "administrators"


Aanchal Sikka

Avatar

Level 3

Thanks for your help @aanchal-sikka  and @Lokesh_Vajrala