Announcements
The error message "OrganizationServiceFault" with the error code 0x80040265
and the details pointing to ApiExceptionMessageName: PrivilegeDenied
strongly indicates that the users lacking the System Administrator role are missing a specific privilege required to create Price List Items.
The fact that System Administrators can perform this action without issue confirms that the core functionality is working correctly, and the problem lies within the security role assignments of the other users.
Here's a breakdown of the likely cause and how to troubleshoot and resolve this:
Root Cause: Missing Privilege on a Related Entity or Operation
While the user role has full access to the Product
table, creating a Price List Item
involves interactions with other related entities and potentially specific operations. The error message points to a plugin Microsoft.Dynamics.SalesPro.Plugins.PreValidationPriceListItemCreate
, which suggests the privilege check is happening during the pre-validation stage of creating the Price List Item.
Troubleshooting Steps to Identify the Missing Privilege:
Ensure the user's role has the necessary Read, Create, Write, and potentially Associate/Disassociate privileges for these entities. Even if they don't directly create these records during the Price List Item creation, the system might perform checks against existing ones.
Price List
Price List Item
Add to Price List
Manage Prices
Discount List
(as Price List Items can be linked to discount lists)These privileges might reside under different tabs within the Security Role editor (e.g., Core Records, Sales).
Microsoft.Dynamics.SalesPro.Plugins.PreValidationPriceListItemCreate
. This plugin is likely performing the privilege check. While you can't directly see the plugin's code without customization, the fact that it's triggering the "PrivilegeDenied" error is a key indicator. The plugin might be checking for a privilege that isn't obvious just from looking at the Product
entity.Price List Item
entity and related entities (Price List, Unit Group, Currency) for the "Create" operation. After a non-admin user attempts to create a Price List Item and gets the error, review the audit logs. The logs might provide more context about which operation or entity access was denied.
Steps to Resolve the Privilege Issue:
Price List
, Unit Group
, and Currency
entities.Example of Potential Missing Privileges:
Based on common scenarios, some privileges you might need to explicitly grant (beyond full Product
access) are:
By systematically reviewing the privileges of the affected user roles, especially concerning related entities and specific pricing operations, you should be able to identify and grant the missing privilege that is causing the "PrivilegeDenied" error when creating Price List Items. Remember to test thoroughly after each change to the security role.
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator