9 votes

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

We also faced a similar issue so we added https:// in our instance name in user.json (\.sitecore\user.json) and then tried again and it worked for us. Make sure you have https:// in your instance, ...
Gaurav Agarwal's user avatar
7 votes
Accepted

Is Unicorn obsolete with Sitecore 10?

This question is very close to being opinion based, but I think we can answer the differences more factually here. tl/dr: No, Unicorn is not obsolete with Sitecore 10. Unicorn is not compatible with ...
Richard Seal's user avatar
  • 20.4k
7 votes

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

You need to add the serialization plugins. dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization
Mark Cassidy's user avatar
  • 25.1k
6 votes
Accepted

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

Make sure you've installed the Sitecore Management Services module. It's listed as a pre-req here: https://doc.sitecore.com/developers/100/developer-tools/en/install-sitecore-command-line-interface....
Rob Earlam's user avatar
4 votes

jss create is not supported from JSS CLI version 20.0.0

I think with the latest version of JSS, you need to use this command. npx create-sitecore-jss This command scaffolds a JSS application based on the latest version of JSS templates Follow this article ...
Sumit Bhatia's user avatar
  • 4,920
4 votes
Accepted

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

Add https://sitecore.myget.org/feed/xmcloud-preview/package/nuget/Sitecore.DevEx.Extensibility.XMCloud reference: dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.XMCloud Then you should be ...
Alexander's user avatar
  • 1,273
4 votes

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

Here is something similar you will find in the below thread where they have created a script that displays all the sites in IIS and you pick the one to update. The script changes out the cert in the ...
Sumit Bhatia's user avatar
  • 4,920
3 votes
Accepted

Sitecore serialization dotnet sitecore ser validate error

Each time you run the serialization commands, the Sitecore Content Serialization (SCS) system automatically validates the content items in your file system against the content items in a Sitecore ...
Mahendra Shekhawat's user avatar
3 votes
Accepted

Sitecore CLI integrate with Visual Studio error

As per the discussion, you need to update the user.json and verify that you are using HTTPS in host and authority. So they should look like this. "host": "https://sitecoretestsc.dev....
Sumit Bhatia's user avatar
  • 4,920
3 votes
Accepted

Pull items by language

It is not. Serializing an item that has no versions should still be possible however, you should bring this to Sitecore Support. All current options available to you can be found in the Sitecore ...
Mark Cassidy's user avatar
  • 25.1k
3 votes
Accepted

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

When I hit the below URL, it was giving HTTP Error 502.5 - Process Failure error. https://sc101identityserver.dev.local/.well-known/openid-configuration: Bad Gateway Later I found that license file at ...
Jitendra's user avatar
  • 1,028
3 votes
Accepted

GraphQL.ExecutionError: Deserialization can only be performed by Sitecore Administrators

This turnout issue of config changes was not applied properly, I created a config named - Sitecore.Owin.Authentication.ClientCredentialsMapping.config following https://doc.sitecore.com/developers/100/...
Gaurav Agarwal's user avatar
3 votes
Accepted

"Not configured to allow writing data" error in Sitecore CLI (Sitecore 10.0)

This usually means that your .\sitecore\user.json file is not yet in your folder structure. I had this happen to me when I initially downloaded a project and tried to get things up and running from ...
Jason St-Cyr's user avatar
  • 6,761
2 votes

Can not install Sitecore.CLI for Sitecore 10

I found the fix to this. In Visual Studio 2017 or 2019: Navigate to Tools > NuGet Package Manager > Package Manager Settings > Package Sources and remove the reference to Sitecore NuGet. This ...
Nikola Kramaric's user avatar
2 votes
Accepted

Sitecore CLI Error executing dotnet sitecore ser pull

I don't know if this is recommended to update the settings on the config Sitecore.Services.GraphQL.Serialization.config but it does resolve my issue by updating the requireAuthentication node to false ...
Jovit Mayo's user avatar
2 votes
Accepted

Sitecore Not Showing New Item Fields in Items Resource File

Items as resources rely on the CompositeDataProvider class which was added in 10.1. As this is a "data provider" it is subject to the same caching mechanisms as other data providers- ...
jrap's user avatar
  • 4,871
2 votes
Accepted

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

One of the comments questioned the casing of the topology. In trying to figure this out, I decided to burn down the docker implementation and start over from scratch. Instead of using -Topology "...
Pete Navarra's user avatar
  • 14.6k
2 votes

How to publish only serialized items

I think your issue is the way you are adding the --config parameter, you should add the path to the folder containing sitecore.json, rather than the file itself. Please try this instead: dotnet ...
Dean OBrien's user avatar
  • 1,545
2 votes
Accepted

Sitecore Serialization using Sitecore CLI Installation Error

For Sitecore 10.0, the only version of the CLI that you can use is 2.0.0 (https://dev.sitecore.net/Downloads/Sitecore_CLI/2x/Sitecore_CLI_200.aspx) Source: https://support.sitecore.com/kb?id=...
Maarten's user avatar
  • 91
2 votes

Sitecore 10.2 CLI error the SSL connection could not be established

Make sure you have https:// in your instance. Add https:// in your instance name in user.json (\.sitecore\user.json) and then try again. "host": "https://sc10sc.dev.local", "...
Gaurav Agarwal'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
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
1 vote
Accepted

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

This appears to be the same as an issue I bumped into when upgrading the CLI/Sitecore Management Service 5.1.25 in a solution using Sitecore Headless Rendering 20.0.0 on XP 10.2 There are a few ...
George Tucker's user avatar
1 vote

How to publish only serialized items

There could be two reasons the command is failing. Some of the Sitecore CLI commands wrap items names in single quotes for correct interpretation by PowerShell The command may have been executed ...
Rajendra Patil's user avatar
1 vote

How to publish only serialized items

Check your sitecore.cli version using dotnet tool list for me its 5.1.25 If you run dotnet sitecore publish --help. It will show you a default path like (Path to root sitecore.json directory (default: ...
Sumit Helaiya's user avatar
1 vote

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

Check if You forgot to create the dotnet tool manifest file via, powershell dotnet new tool-manifest Follow this blog for more details - https://thecodeattic.wordpress.com/2021/03/09/quick-start-to-...
Gaurav Agarwal's user avatar
1 vote
Accepted

Sitecore CLI can't locate plugin that actually exists

This is a bug in Sitecore CLI v5.0.16 and it is fixed in v5.1.25. The new version has the following information in "Resolved issues" in the release notes: Could not locate plugin Sitecore....
TheHvidsten's user avatar
  • 1,004
1 vote
Accepted

Unable to run Sitecore CLI Serialization push command

For this, I found some discrepancies which are as follows: As per the screenshot above for the sitecore.json the package Sitecore.DevEx.Extensibility.Serialization was at version 3.0.0 but when I ...
Jumping Rabbit's user avatar
1 vote
Accepted

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

The issue can be fixed by setting the --client-credentials argument to false in the interactive login command: dotnet sitecore login --authority https://<Sitecore identity server> --cm http://&...
Gatogordo's user avatar
  • 20k
1 vote

openid-configuration: No such host > is known

Able to resolve the issue. Missing host entry in host file (C:\Windows\System32\drivers\etc) 127.0.0.1 xc1id.localhost After adding this, it is resolved.
Srikar's user avatar
  • 41

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