When I am trying to use clientid and password for pushing and pulling from sitecore environment with Sitecore CLI.

I am getting following error in logs:

ERROR [Sitecore Identity] 'http://www.sitecore.net/identity/claims/originalIssuer' claim is missing.

I already tried adding the originalissuer in claims

In the powershell, I am getting following error: enter image description here

1 Answer 1


The issue is that the CLI User is not getting created in the CMS as a User like the other environments.

Check requiresUniqueEmail is false in the web.config, and all files are the same across environments (except for values that should be different like the URLs of the ID Service, CMS, and CliServerClient).

Sitecore Security Hardening to create a strong Password Policy (Enforce a strong password policy (sitecore.com), the Regex of the passwordStrengthRegularExpression setting was the issue.

Remove the passwordStrengthRegularExpression as per Microsoft.

The random password will meet the criteria established by the MinRequiredPasswordLength and MinRequiredNonAlphanumericCharacters.

Credit: https://thebitsthatbyte.com/sitecore-cli-non-interactive-user-not-created/

Hope it helps!

  • Thanks sumit, I tried it but no luck. Commented Aug 22, 2023 at 16:20
  • Try out other points as i answered and see if that resolve the issue. sitecore.stackexchange.com/questions/35253/… Commented Aug 22, 2023 at 16:28
  • nope, I updated the description with error in powershell. Commented Aug 22, 2023 at 18:53
  • I don't see Claim missing error in the screenshot. Is it resolved? Commented Aug 23, 2023 at 1:56
  • claim missing is in logs but in powershell, it shows like this Commented Aug 23, 2023 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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