Skip to main content

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
1 vote
2 answers
419 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....
1 vote
1 answer
70 views

Breaking content tree to separate modules with SCS

I am using Sitecore CLI for item serialization. I have the next content structure which I want to serialize to different modules: sitecore/ ├─ Content/ │ ├─ MyProject/ │ │ ├─ Home/ │ │ │ ├─ ...
2 votes
1 answer
123 views

Installation of package fails on timeout

We are using Azure Devops to install packages which are generated during Build Pipelines. We are using Sitecore CLI - SCS - to install these packages. This command is the one -> dotnet sitecore ser ...
5 votes
1 answer
271 views

Does sitecore.cli require identity server?

When using the Sitecore CLI in SC10, the --authority parameter seems to require the identity server. Can it be used without the identity server? What would be the format of the URL? We have SSO ...
1 vote
2 answers
182 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 ...
0 votes
1 answer
538 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:
1 vote
1 answer
166 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 ...
4 votes
3 answers
2k 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....
2 votes
1 answer
340 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 ...
2 votes
4 answers
1k 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/ -...
1 vote
2 answers
50 views

Can the JSS import service be used on a Sitecore CD server?

I am setting up a CI/CD pipeline for our Sitecore project and encountering an issue when attempting to use the JSS deploy app command on the CD server. The command works fine on the CM server, but we ...
1 vote
2 answers
839 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 get the below error: You are not authorized to perform the task you are ...
1 vote
1 answer
226 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 ...
1 vote
2 answers
84 views

Getting an error in PowerShell ser push script running time

Getting an error in PowerShell ser push script running time. Script : dotnet sitecore ser push -i Sitecore.Items.Master Error : "Execution was cancelled. This occurs when the task is killed or ...
1 vote
2 answers
783 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 ...
4 votes
1 answer
426 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 ...
3 votes
3 answers
142 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 ...
1 vote
2 answers
102 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=&...
0 votes
0 answers
79 views

how to configure Sitecore CLI in Azure app services

I want to configure Sitecore CLI in Azure app services (TEST-CM Sitecore 10.3 site) And want to Serialize Sitecore Content on Azure site (TEST-CM) So, anyone have a setup steps of the Sitecore CLI on ...
0 votes
0 answers
27 views

Emulator proxy port 3042 not working in disconnected mode using sitecore JSS CLI

I have installed the latest JSS CLI V21.7.0, after the 'jss start' command the Sitecore contents are displayed using the port 'http://localhost:3000'. But I want to create and configure scjssconfig....
0 votes
0 answers
107 views

Sitecore ser push fails - You are not authorized to perform the task you are attempting

Sitecore serialization is no longer working on production, every attempt results in "You are not authorized to perform the task you are attempting. You may need to be assigned additional ...
2 votes
2 answers
127 views

Error connecting to ID host: An error occurred while sending the request

I am getting an error when running dotnet sitecore login: PS C:\projects\MySite> dotnet sitecore login --cm "https://cm.mysite.localhost" --authority "https://id.mysite.localhost&...
0 votes
3 answers
137 views

Getting message for Sitecore CLI-5.2.113 - dotnet sitecore ser pull [closed]

I am doing the Sitecore CLI setup on my local Sitecore site. I am executing the following command - dotnet sitecore ser pull but I am getting this below message instead of pulling Sitecore items as, ...
0 votes
1 answer
46 views

openid-configuration: DNS Fail

We are using Sitecore 10.3. For the local setup we are using docker. The local setup works fine(cm, id and frontend site) except logging in to Sitecore using Sitecore CLI. It is failing with below ...
0 votes
1 answer
57 views

Why did SCS change branch template $name item paths to start with "_" instead of "#"?

I recently updated Sitecore CLI version 4.2.1 to 5.2.113. I ran dotnet sitecore ser validate --fix and I noticed many of these log entries: [/sitecore/templates/Branches/Project/ACME CO] INCORRECT ...
0 votes
4 answers
3k views

Sitecore CLI Error executing dotnet sitecore ser pull

I am currently following the Sitecore CLI Documentation and testing it out on one of my local sitecore environment. I am executing the command dotnet sitecore ser pull and I am getting this error. ...
7 votes
7 answers
4k views

Error message "Make sure the GraphQL service is installed and available"

Installed fresh Sitecore 10 and trying to use Sitecore CLI combined with native Sitecore Content Serialization. When executing next command dotnet sitecore ser pull I get an error message Make sure ...
0 votes
0 answers
162 views

XMCLOUD Serialization Error [GraphQLHttpException] Unexpected HttpResponseMessage with code 524

We are currently experiencing a challenge while running a CLI command. The issue happening during the serialization process command dotnet sitecore ser push -n 'Prod' The exception message we are ...
2 votes
1 answer
92 views

Unhandled exception error when trying to login with Sitecore CLI

I have this error when trying login to sitecore using CLI. Unhandled exception. System.IO.FileNotFoundException: The configuration file 'cdp.config.json' was not found and is not optional. at ...
2 votes
2 answers
236 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 ...
2 votes
0 answers
275 views

GraphQLHttpException Unexpected HttpResponseMessage with code: InternalServerError

We are on Sitecore 10.1 (IaaS) and have used Sitecore Serialization and CLI to install items on higher environments as a task in our Release pipeline. So far it has worked fine for us. But during our ...
1 vote
1 answer
347 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\...
1 vote
2 answers
433 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 ...
2 votes
1 answer
184 views

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

While implementing Sitecore Content Serialization using Sitecore Cli, getting this error: "Could not locate plugin [email protected]. Some CLI commands may not ...
0 votes
3 answers
326 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 ...
1 vote
1 answer
534 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,...
3 votes
2 answers
488 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 ...
1 vote
2 answers
1k 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 ...
5 votes
2 answers
863 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 ...
5 votes
2 answers
839 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 ...
0 votes
2 answers
2k 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 --...
0 votes
1 answer
109 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?
3 votes
1 answer
416 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&...
3 votes
1 answer
388 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?...
2 votes
1 answer
699 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 ...
3 votes
3 answers
654 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 ...
0 votes
2 answers
1k 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 ...
0 votes
2 answers
868 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 ...
2 votes
1 answer
391 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 ...
2 votes
1 answer
112 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 ...