Errors when importing JSS application on Azure


Description

After deploying JSS 10.0.1 on Azure you might encounter the following error during import:

IMPORT ERROR(S) OCCURRED!
Exception thrown while importing JSS app
Exception: Sitecore.Exceptions.AccessDeniedException
Message: AddFromTemplate - Add access required (destination: {825B30B4-B40B-422E-9920-23A1B6BDA89C}, template: {6BFE5CDD-451D-486C-A1C6-597A406C8B32})
Source: Sitecore.Kernel

Solution

  1. Open the User Manager application.
  2. Click the New button on the ribbon and create a new user with the following parameters:
    • User name: JssImport
    • Domain: sitecore
    • Email: no_reply@sitecore.net
    • Roles: sitecore\JSS Import Service Users
  3. Open the Role Manager application.
  4. Remove the following role: JssImport (if exists).