1

We are getting an error when trying to deploy code of our project into another sandbox. Every profile has failed with 'Deployment Error: Unknown user permission CanAccessCE'.

While the nature of such types of deployment errors is more or less clear, it is really tough to figure out what is the difference in configuration between our 'good' sandbox and this 'bad' new one, and the error message is very cryptic, i.e. have no clue what CE means at all.

Is there any documentation available with descriptions of user permission names and which system feature they belong to? Or maybe someone has a clue what CanAccessCE may refer to? Any help would be appreciated.

4
  • 1
    CanAccessCE (Access Conversation Entries) is the permission that gets enabled when Messaging is enabled in your org. Once you enable "Messaging" in your target org, you can enable the permission "Access to the conversation " for the system admin profile and try deployment. Let me know how it goes. Thanks Commented Apr 3, 2023 at 12:22
  • More on enabling the Access Conversation Entries user permission on infallibletechie.com/2021/05/… Commented Apr 3, 2023 at 12:36
  • 1
    Thanks a lot @Swetha, that was it. Please post this as a separate answer so that I can accept it.
    – wesaw
    Commented Apr 3, 2023 at 13:49
  • Happy to know! I've posted this as an answer so it can help other too in future. Cheers! Commented Apr 3, 2023 at 17:06

1 Answer 1

1

The CanAccessCE here means 'Access Conversation Entries' permission. It gets enabled when Messaging is turned on in your org.

As per doc

To use the ConversationEntry object for Chat, you need to enable the new "Access Conversation Entries" user permission.

So to fix the error, once Messaging is enabled in the target environment, you can enable the permission "Access to the conversation " for the system admin profile and proceed with deployment.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .