Hi I have to create new records in accounts from the data obtained from Business central. A plugin is created to read the data obtained from BC and update the fields of Main form on account. In QA environment it is working fine but while deployed the same solution into live environment, it is throwing the following error. Can you please help me how to fix it.
The User has system administrator access along with other roles for which I have provided access to all roles for "user settings" and "Virtual Entity Data Source".
Error:
Principal user (Id=4a275a74-5aff-eb11-94ef-002248237a3e, type=8, roleCount=3, privilegeCount=112, accessMode=4), is missing prvReadcre78_paymnentterms privilege (Id=d4134a84-c10e-4cc2-b6b8-13c68c3c13e2) on OTC=10308 for entity 'cre78_paymnentterms' (LocalizedName='Payment Term'). context.Caller=4a275a74-5aff-eb11-94ef-002248237a3e. Or identityUser.SystemUserId=742adbd4-b06c-4ee9-90d2-93c526bee478, identityUser.Privileges.Count=3686, identityUser.Roles.Count=0 is missing prvReadcre78_paymnentterms privilege (Id=d4134a84-c10e-4cc2-b6b8-13c68c3c13e2) on OTC=10308 for entity 'cre78_paymnentterms'
I am struggling to figure out how a system administrator could not have adequate permissions with this issue. Anybody have any ideas how to approach resolving this? Please help me