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

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. Apr 15 '19 at 13:28
  • I think it's because you don't have add access
    – Mark Cassidy
    Apr 15 '19 at 13:50

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. Apr 15 '19 at 16:30

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.


I had this exact same issue, but i had a different root cause. Because my content is serialized in unicorn i had 2 roles missing on my root.

So i had to add the following permissions to the JssImport user. JssImportUser

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.