2 votes
Accepted

Should .sitecore folder get comitted to source control

You will notice some new files in your solution folder after the CLI installation process – e.g. .scindex files, .sitecore/ folder. These can be added to .gitignore. If you run into issues with your ...
Sumit Helaiya's user avatar
2 votes
Accepted

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

Thanks for everyones assistance. After working here, in Sitecore Slack, and with Sitecore Support... it was discovered that the SqlMembershipProvider.GeneratePassword Method is not "guaranteed to ...
Kode's user avatar
  • 243
2 votes

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

This conversion from Dollar('$') to ('#') is occuring from the below code snippet inside Sitecore.DevEx.Serialization.Client.dll, which converts all the invalid file characters to '#' symbol. I ...
ckhanna's user avatar
  • 291
1 vote
Accepted

Getting message for Sitecore CLI-5.2.113 - dotnet sitecore ser pull

Can you check the modules section configured inside sitecore.json file is correct. It should contain the path of the module file where the configuration for items to be synced are defined. You can ...
ckhanna's user avatar
  • 291
1 vote

Unhandled exception error when trying to login with Sitecore CLI

The error you're encountering seems related to the Sitecore CLI not being able to find the 'cdp.config.json' configuration file (this is a mandatory one). This issue might be due to misconfiguration ...
Nikhil Kulkarni's user avatar
1 vote

Sitecore CLI Scope & AllowedPushOperations property equalents in TDS

Sukesh, I have not used TDS much. So I will be answering SCS part of your question. TDS - ItemDeployment > NeverDeploy If you want to ignore a specific node in SCS, you can make use of rules ...
Vikrant Punwatkar's user avatar
1 vote
Accepted

How to migrate from TDS to CLI

There are a few tools/scripts that can help parse through your TDS project and convert them to the equivalent configuration for Sitecore Content Serialization (SCS): Get-PathsFromTds.ps1: A ...
Jason St-Cyr's user avatar
  • 6,781
1 vote

How to migrate from TDS to CLI

You can see it indeed in the project file that you opened. There are 2 settings for every item in the project file, like in the first line of your file: First one is ItemDeployment. Options there are ...
Marek Musielak's user avatar
  • 23.8k
1 vote

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

Try out the below approaches and see if it works for you. Delete user.json file and run the command securely by passing --authority and --cm with https://. dotnet sitecore login --authority https://&...
Sumit Helaiya's user avatar
1 vote
Accepted

open id configuration issue with sitecore CLI

In addition to Sumit's checklist. When you try to browse the URL https://qa1.url.com/.well-known/openid-configuration and it does not return json then it could also be related to Sitecore license ...
Sumit Helaiya's user avatar
1 vote

open id configuration issue with sitecore CLI

It looks like your Identity server is not working. When you copy the URL that is shown in the image i.e. https://qa1.url.com/.well-known/openid-configuration and open it in the browser, you will get a ...
Sumit Bhatia's user avatar
  • 5,035
1 vote
Accepted

Facing issue with Non interactive Sitecore CLI 5+

Adding the client id and client secret in the Identity server ~/Config/Sitecore.IdentityServer.DevEx.xml resolved my issue.
Jagmeet Kaur's user avatar
1 vote
Accepted

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

I faced similar problem while doing CLI setup in Sitecore 10.1. After discussing with Sitecore support, I removed the CLI plugins from my project and did the fresh CLI installation again. That fixed ...
Koushik Mukherjee's user avatar
1 vote

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

Sitecore support resolved the issue. Here is their response: "Thank you for confirmation. Serialization pull command used management service api on CM, which seems to fail with following error: ...
Eveready1153's user avatar
1 vote
Accepted

XConnect and CLI not acknowledging a custom purge condition

Having recently implemented something similar (I wrote about it here), I think you may be missing a config that essentially whitelists the conditions that can be used on the cortex processing role. ...
George Tucker's user avatar
1 vote

XConnect and CLI not acknowledging a custom purge condition

When registering a purge task (direct request through the Web API or the DevEx CLI plugin), the purging tool checks the CutoffDays or StartedDaysCutoff parameter against the specified ...
Sumit Helaiya's user avatar
1 vote

DevOps build pipeline failing on SCS serialize/package step

I agree with Marcel that upgrading CLI is the recommended way in most cases. But if for some reason you cannot upgrade, you can still install .Net Core 3.1 on build agent with the following task: - ...
Marek Musielak's user avatar
  • 23.8k
1 vote
Accepted

DevOps build pipeline failing on SCS serialize/package step

Sitecore CLI 4.2.1 does in fact depend on .NET Core 3.1. .NET Core 3.1 reached end of life at the end of 2022: https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-...
Marcel Gruber's user avatar
1 vote

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

The potential issue here is reserved words. There is also a list of words that needs to escape when used in the path, there words are: ancestor and child descendant div false following mod or parent ...
Sumit Helaiya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible