Questions tagged [sitecore-cli]

Sitecore Command Line Interface (CLI) allows console communication with a Sitecore instance. All question that is related to this CLI can make use of this tag.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

Sitecore CLI Scope & AllowedPushOperations property equalents in TDS

We are planning to migrate from TDS to Sitecore CLI and I need to create module.json files following the existing TDS setup. In one of the TDS .scproj, I see nodes like this: <SitecoreItem Include=&...
sukesh's user avatar
  • 3,033
1 vote
1 answer
60 views

You are not authorized to perform the task you are attempting

Environment Sitecore 10.3 XP Sitecore Management Services Headless 21 SXA 10.3 SPE 6.3 Federated Authentication via Okta Problem Statement Followed the steps to configure the Sitecore Identity and ...
Chet Cheeto's user avatar
1 vote
2 answers
59 views

How to migrate from TDS to CLI

I have an existing project that uses TDS and now we have to use CLI instead. Either in the code or the "serialization" folders, I could not find any config file which mentions that paths of ...
sukesh's user avatar
  • 3,033
0 votes
3 answers
98 views

Should .sitecore folder get comitted to source control

Im developing my first Sitecore 10 site. I have installed the Sitecore CLI. This creates a folder in my project '.sitecore' with my CLI configuration, etc... Does this folder get committed to source ...
Ethan Schofer's user avatar
2 votes
1 answer
66 views

Could not locate plugin Sitecore.DevEx.Extensibilit[email protected]. Some CLI commands may not function correctly

While implementing Sitecore Content Serialization using Sitecore Cli, getting this error: "Could not locate plugin Sitecore.DevEx.Extensibility.S[email protected]. Some CLI commands may not ...
Davinder Singh's user avatar
1 vote
1 answer
133 views

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

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....
Jagmeet Kaur's user avatar
1 vote
1 answer
203 views

Sitecore serialization error : HTTP Error invoking GraphQL endpoint https://CM hostname/sitecore/api/management

I am trying to get started using Sitecore CLI on my Sitecore 10.1 project. I am using Sitecore CLI v5.2.113. When I try to run an info command, I get success so I am thinking my setup is okay. However,...
Eveready1153's user avatar
1 vote
2 answers
194 views

XConnect and CLI not acknowledging a custom purge condition

I'm trying to create an XConnect custom contact purge condition for any contacts with 0 interactions. I've followed this walkthrough but I must be missing something as it's not registered when trying ...
spyn's user avatar
  • 33
2 votes
2 answers
86 views

DevOps build pipeline failing on SCS serialize/package step

My DevOps builds recently started failing on the step in which we use the Sitecore CLI and SCS to build an item package. To my knowledge, nothing has changed on our end, so it is unclear why the build ...
Marcel Gruber's user avatar
1 vote
1 answer
68 views

Is it possible to Serialize single item or tree from Sitecore CMS using Sitecore CLI

We are using Sitecore CLI as our serialization tool and we are trying to serialize Sitecore Items on the Item level under the Developer tab in Ribbon. We are trying to replicate how Unicorn ...
Sylesh JL's user avatar
  • 147
1 vote
1 answer
155 views

ItemPathMatch conversion error when attempting to Publish using Sitecore CLI/Sitecore for Visual Studio

Sitecore Version - 10.2 CLI Version 5.1.12 During the publishing process, I receive the following error during the Build Serialized Item Package step Error Building Package 'C:\project-longhorse\...
Nick Benedict's user avatar
1 vote
2 answers
443 views

Sitecore CLI Not Authorized to perform the task you are attempting: No Sitecore CLI User Created

I have 3 Sitecore environments that have the same configs required for non-interactive login with the Sitecore CLI. 2 of the 3 work without issue, but the 3rd is not. despite having the same ...
Kode's user avatar
  • 243
0 votes
1 answer
228 views

Error on push of sitecore CLI : Executed action can only be performed by Sitecore Administrators

I have sitecore instance on virtual machine, and I am trying to pull and push with my admin credentials only. But still receiving following error:
Jagmeet Kaur's user avatar
0 votes
1 answer
122 views

Error while installing Sitecore Management Services package

I am getting the below error while installing Sitecore Management Services package in my Sitecore. I am working upon Sitecore 10.0 and was trying to install the package Sitecore CLI 2.0.0 Method not ...
Gaurav's user avatar
  • 1
0 votes
2 answers
796 views

open id configuration issue with sitecore CLI [closed]

getting error while logging into VM with following command: dotnet sitecore login --authority https://<sitecore-identity-server> --cm https://<sitecore-instance> --allow-write true --...
Jagmeet Kaur's user avatar
0 votes
1 answer
58 views

Facing issue with Non interactive Sitecore CLI 5+ [closed]

I am facing issue while configuring non interactive mode of login for pre-prod environments. Please let me know the exact steps to do that. And also, how to configure sitecore CLI in azure?
Jagmeet Kaur's user avatar
3 votes
1 answer
223 views

Is it possible to renew certificates for local environment using SIF or CLI?

As my self-signed certificates for Sitecore 10.0 instance expired, I want to use SIF or CLI to renew them and best also to replace thumbprints to minimize manual work. Is this possible with SIF or CLI?...
Peter Procházka's user avatar
2 votes
1 answer
296 views

CLI Error: "The Sitecore Management Service version of the environment this Sitecore CLI operates with is outdated"

There is Sitecore 10.2 solution running with CLI tool v4.2. In order to upgrade to CLI v5.1 the following steps were done: In sitecore.json all the plugin versions have been updated: "plugins&...
Serhii Shushliapin's user avatar
2 votes
1 answer
460 views

Is Unicorn obsolete with Sitecore 10?

As far as I understand, Unicorn still works with Sitecore 10.x and I understand that Sitecore 10 introduced a new Serialization format. So... does the new Serialization system of Sitecore 10 make ...
Matthew Dresser's user avatar
3 votes
3 answers
356 views

How to publish only serialized items

How to publish only the serialized items using the Sitecore CLI command. I have configured the Module files path in the sitecore.json file. When I run dotnet sitecore publish, i guess it is trying to ...
sukesh's user avatar
  • 3,033
2 votes
1 answer
274 views

Error when trying to sync items using Sitecore for Visual Studio 4.1.0.0

Getting this error comes up every time I try to pull (and push) items from Sitecore, using Sitecore for Visual Studio. Matched module configurations: SC.Feature.Disclaimers Sync operation with ...
spyn's user avatar
  • 33
2 votes
1 answer
292 views

Sitecore Serialization using Sitecore CLI Installation Error

I am attempting to install Sitecore CLI 4.2.1 on Sitecore 10.0. The installation is fresh install of Sitecore 10.0. I keep getting this error below. This error will shut down Sitecore where I have to ...
Toby Gutierrez's user avatar
1 vote
0 answers
61 views

Errors in validating multi-level taxonomy

I created a multi-level taxonomy SampleTaxonomy in Content Hub with hierarchy below: I was pulling the serialized entities using ch-cli with ch-cli serialization pull entity -d SampleTaxonomy. Then I ...
Abby's user avatar
  • 21
2 votes
1 answer
364 views

Sitecore CLI Error: It was not possible to find any installed .NET Core SDKs

I am new to Sitecore and trying to sync Sitecore content using Sitecore CLI. I am using Sitecore 10.2 version and CLI 4.2.1 version. I have installed Microsoft .NET Core SDK, ASP.NET Core Runtime ...
Bhawana's user avatar
  • 67
5 votes
1 answer
202 views

How do I use the Sitecore CLI with Sitecore Cloud to serialize content?

I've been watching all of videos about XM Cloud (https://developers.sitecore.com/learn/getting-started/xm-cloud-introduction) and I have a question about serialization? How is it working on XM Cloud? ...
Régner Aguiar's user avatar
5 votes
2 answers
484 views

Sitecore CLI can't locate plugin that actually exists

I'm following the documentation on how to set up Sitecore CLI: https://doc.sitecore.com/xp/en/developers/102/developer-tools/install-sitecore-command-line-interface.html After doing all the steps I've ...
TheHvidsten's user avatar
2 votes
1 answer
74 views

not able to pull content using CLI and SVS [closed]

I have installed the Helix example and I am trying to pull items from the Sitecore content tree using CLI and SVS. In both cases, I am getting an error, No connection could be made because the target ...
tpkphani's user avatar
  • 339
0 votes
1 answer
377 views

Sitecore serialization dotnet sitecore ser validate error [closed]

I am getting this error whenever i am running command dotnet sitecore ser validate.How to fix.
Monit's user avatar
  • 17
0 votes
1 answer
332 views

Sitecore CLI integrate with Visual Studio error [duplicate]

Poweshell error when trying to run dotnet sitecore ser push This is my folder structure
Monit's user avatar
  • 17
0 votes
2 answers
871 views

Unable to run Sitecore CLI Serialization push command

I am trying to run the dotnet sitecore ser push command after non-interactive login (login works fine), but only ser push and ser pull command give the following error otherwise all the ser command ...
Prashant Tomar's user avatar
2 votes
1 answer
601 views

jss create is not supported from JSS CLI version 20.0.0

I am trying to create an application for sitecore 10 JSS with react. But I am getting the error jss create is not supported from JSS CLI version 20.0.0 can you please suggest.
Sunil Rana's user avatar
0 votes
0 answers
768 views

Running Sitecore 10 CLI command Error "dotnet sitecore ser push -p" getting the attached error

When I am running Sitecore 10 CLI command dotnet sitecore ser push -p getting the following error. dotnet sitecore ser push -p Unhandled exception: System.Exception: Unhandled exception ---> ...
Mamtha's user avatar
  • 1
0 votes
1 answer
222 views

Sitecore CLI 4.1.0-r00492 Login erroring "Endpoint belongs to different authority:"

I have installed a brand new, vanilla version of Sitecore 10.2, using Docker Desktop containers. My Identity URL (which works) is https://xp0id.localhost. My CM Url (which works) is https://xp0cm....
Pete Navarra's user avatar
  • 14.6k
1 vote
1 answer
220 views

How to configure a friendly name for the generated user with CLI using non-interactive client login?

Sitecore 10.2: I followed the documentation as described here. Configuration applied to Identity Server and stored at C:\identity\config\sitecore.identityserver.devex.xml <?xml version="1.0&...
Michael West's user avatar
  • 17.9k
0 votes
2 answers
595 views

Error while getting client credentials token: invalid_client on interactive login with Sitecore CLI

I am using the Sitecore CLI to login (interactive) to my local instance and that works fine. We have a setup for a non-interactive login for the CLI to the cloud dev environment. I wanted to test that ...
Gatogordo's user avatar
  • 20k
1 vote
2 answers
813 views

Sitecore 10.2 CLI error the SSL connection could not be established [closed]

While I have setup the CLI in helix project root folder and trying to run below command I'm getting error dotnet sitecore ser pull The SSL connection could not be established, see inner exception. ...
D S's user avatar
  • 254
2 votes
0 answers
75 views

Extend the Command Line Interface with NuGet Sitecore CLI

In Sitecore 10.2, I want to extend the command-line interface with NuGet as mentioned in this link and I want to create a custom plugin I just want to create a simple plugin similar to dotnet sitecore ...
Swati Gupta's user avatar
  • 2,810
2 votes
1 answer
397 views

Sitecore Login using CLI Command /.well-known/openid-configuration: Bad Gatway

I have Sitecore 10.1 instance in my machine. I would like to login into Sitecore using below Sitecore CLI command on the powershell window: dotnet sitecore login --authority https://...
Jitendra's user avatar
  • 1,028
1 vote
1 answer
370 views

Sitecore Not Showing New Item Fields in Items Resource File

I am leveraging items as resource files. While my app is running, if I try to update the *.dat file (the resource file) and then view one of the items in Content Editor, I do not see the expected ...
jrap's user avatar
  • 4,861
1 vote
3 answers
727 views

Sitecore CLI error on executing dotnet sitecore login

On running the below line in powershell script getting error PS C:\Devlopment\eKeystoneHelix\KAO> dotnet sitecore login --authority https://maj-testhelix.identityserver/ --cm http://maj-testhelix/ -...
webdev's user avatar
  • 11
1 vote
2 answers
732 views

Unknown argument "excludedFieldIds" on field "serialize" of type "Query"

Where can I find the excludedFieldIds argument? How to resolve? Unknown argument "excludedFieldIds" on field "serialize" of type "Query".(GraphQLException) the error is ...
luckymow8's user avatar
4 votes
1 answer
324 views

Docker getting started template: You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions

Hi when i tried to run the docker getting started template from Sitecore i got following error Your login is complete. You can close the browser tab now. Login information has been saved. Populating ...
Philippe Bénard's user avatar
0 votes
0 answers
67 views

JSS CLI commands with --config switch

I'm trying to use the JSS CLI to deploy content and components to my local CM instance running in Docker, but with a different config file. Normally I run jss deploy files or jss deploy app and it ...
Dan's user avatar
  • 171
0 votes
1 answer
569 views

You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions in PROD

When we are trying to deploy the serialized items into our production cm through Sitecore CLI using devops pipeline but getting the below error: "You are not authorized to perform the task you ...
Gayathri Sriram's user avatar
3 votes
2 answers
370 views

Commit noise from Sitecore Content Serialization

We are using Sitecore 10.1 with Docker, JSS, and the Content Serialization CLI on a new project and I feel like we must be doing something wrong as we get a lot of seemingly unimportant changes to the ...
Dan's user avatar
  • 171
0 votes
1 answer
102 views

Sitecore 10 Helixbase Serialization Error - There is a dependency loop in your module dependencies

Using Helixbase as a starting point, I have created a helix solution and an faq feature module. The faq content items have serialized as well as the various templates and layouts. After adding a few ...
jason's user avatar
  • 131
1 vote
1 answer
145 views

Pull items by language

I'm using the command dotnet sitecore ser pull. The Source system has items with "Invariant Language" listed. It has no versions though. So, when pulling the items using CLI, it only creates ...
sukesh's user avatar
  • 3,033
1 vote
1 answer
711 views

openid-configuration: No such host > is known

I am seeing the following issue when I tried to run the login command. Error connecting to https://xc1id.localhost/.well-known/openid-configuration: No such host is known. I have tried to access the ...
Srikar's user avatar
  • 41
5 votes
2 answers
730 views

Sitecore10 CLI Error "Unrecognized command or argument 'ser','push' in PowerShell window

When I try to use the below command "dotnet sitecore ser push" i got the below error Unrecognized command or argument 'ser' Unrecognized command or argument 'push' The issue occurs because ...
Kanniyappan Krishnan's user avatar
3 votes
1 answer
1k views

Can not install Sitecore.CLI for Sitecore 10

I am following the guide specified here. I can successfully run the command dotnet new tool-manifest however I get an error when I run dotnet tool install Sitecore.CLI --add-source https://sitecore....
Nikola Kramaric's user avatar