While trying to create a new customer in BC using Web API V2.0. I'm getting below error.
{
/error/: {
/code/: /Internal_ServerError/,
/message/: /Sorry, the current permissions prevented the action. (TableData LSC Preaction Creation Preaction Creation Read: LS Central) CorrelationId: d8c5e94c-fac5-44ed-8765-66fae4f1404f./
}
}
Though I'm successfully able to get the list of customers not sure why while creating/updating new customers, I'm getting the below error. Please let me know how to overcome this issue. Your forward for the inputs.
Since we are using the connect app credentials and authentication type as Oauth, The connect app user doesn't appear in the users. I followed below steps.
1. Open search box in BC
2. Type Azure Active Directory Applications
3. Open your application
4. Goto User Permission Sets
5. Add SUPER(DATA) permission
As you have mentioned it needs read access to TableData LSC Preaction Creation table. I think SUPER(DATA) permission set has this permission included. Thanks for your input. It helped me figuring out the resolution. Thanks.
Navigate to Users, click on the user configured for OAuth authentication. Click on Effective Permissions action on the User Card. This page will list down all the permission for the OAuth user. Check if the user has READ permission for the TableData listed in your error. Add the TableData READ permission if it is not there.
Retrieving the list of customers probably doesn't need this table information but creating a customer does. Hence, BC threw a permission error.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.