- Get link
- X
- Other Apps
Posted by
Sudheer Kumar Suggu
on
- Get link
- X
- Other Apps
After Successful working setup of the Sitecore content serialization using CLI, Sometimes you may encounter with the below error especially during the ser pull/push commands but still the authentication will be successful.
The error is shown below.
Error Message :
You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions.
Possible Solution fix:
- Usually the authentication urls for both ID and CMS (in case of docker, it may be indexing or CM url based on setup) and along with user login information will be stored in user.json file. First we need to cross verify whether those values are correct or not.
- Some times you may need to install the Sitecore.ManagementServices package and you can refer here and go to the section "Sitecore Management Services".
- Due to any reason, the variable "identityServerAuthority" might have incorrect value. you can check this setting located in the 'App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.config' and also you check this under 'Siteurl//sitecore/admin/showconfig.aspx' as well. Update the value if it is incorrect.
Happy Serialization with Sitecore 😀😀
Comments
Post a Comment
Please do not enter any spam link in the comment box