1

Trying to import the sample jss app into the Sitecore 9.1, but getting the below error any idea why is this is ?

IMPORT ERROR(S) OCCURRED!
Exception thrown while importing JSS app
Exception: Sitecore.Exceptions.AccessDeniedException
Message: AddFromTemplate - Add access required (destination: {GUID}, template: {GUID})
  • Ensure that you are running console (or any other tool which you are using) as an administrator. – Dawid Rutkowski Apr 15 at 13:28
  • I think it's because you don't have add access – Mark Cassidy Apr 15 at 13:50
3

This error occurs when the configured JSS import user (defaults to sitecore\JSSImport) is authenticated, but does not have the rights to add a template.

These rights are normally granted by the sitecore\JSS Import Service Users group membership but it sounds like the default ACLs assigned there may be missing in your case.

  • Thanks Kam for inputs, for some reason after importing the 'Sitecore JavaScript Services Server for Sitecore 9.1 XP 11.0.0 rev. 181031.zip', the roles you mentioned (sitecore\JSSImport, sitecore\JSS Import Service Users) is missing in my instance. – Sivalingaamorthy Apr 15 at 16:30
0

There appears to be a bug in the Sitecore WebDeploy package Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318.scwdp

The SQL generates a role called sitecore\JssImport but does not create the user or assign it to the role.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.