dotnet sitecore ser push or dotnet sitecore ser pull - You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions.
Error:
In my case, when I was trying to setup a Helixbase project, got the following error, when trying to run dotnet sitecore ser push
You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions.
Cause:
Ensure to provide the correct identity server address in this command:
dotnet sitecore login --authority https://sc1011devidentityserver.dev.local/ --cm https://sc1011devsc.dev.local --allow-write true
I had provided an identity server that was existent in the machine but not relevant to this instance. So, I got the above error.
When I regenerated the sitecore.json with correct login command, my serialization commands also ran successfully without the above error.
Comments
Post a Comment