Groovy script execution error in AEM as a cloud service ("You do not have permission to run scripts in the Groovy Console.") | Community
Skip to main content
Level 3
July 17, 2024
Solved

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

  • July 17, 2024
  • 2 replies
  • 2280 views

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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@neo-silicon 

 

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

2 replies

Lokesh_Vajrala
Community Advisor
Community Advisor
July 18, 2024
Level 3
July 18, 2024

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'

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
July 18, 2024

@neo-silicon 

 

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

Aanchal Sikka
Level 3
July 18, 2024

Thanks for your help @aanchal-sikka  and @lokesh_vajrala