Try our conversational search powered by Generative AI!

A/B Testing Add on returning 401 on for non-Admin and non-Editor roles on Commerce screens


We have mapped an AD role to the CommerceAdmins virtual role, e.g "AD_CommerceUser".

Note that this role is not a CMS Editor nor a CMS Admin.  The users under this role are in charge of the product and order management only.

However, when the user logs on to the Commerce, they get kept on getting kicked off with a "You have been logged out." popup due to the paths

/EPiServer/EPiServer.Marketing.Testing/Stores/ABTestStore/... returning 401 error. 

In relation to the post:

It says that ABTestStore allows CmsAdmins and CmsEditors users. 

Is there a way I we can also map the CommerceAdmins to the AB Testing add-on? Is there a dedicated Virtual Role for A/B Testing that we can extend?

Sep 16, 2020 5:28

Resolution (from Episerver Support):

 <add key="EPiServer:Marketing:Testing:Roles" value="CommerceAdmins" />
Oct 20, 2020 0:30
Quan Mai - Oct 20, 2020 14:06
I took the liberty to mark this post as answer. it's good that you come back and share the solution :)
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.