Skip to main content

Notifications

Dynamics 365 general forum
Answered

Unable to create records in a purchase order. The security policy permission is denied. Procedure

editSubscribe (2) ShareShare
ReportReport
Posted on by 14
hello,  Set roles(According to purch sec rule view purch) for users, When a purchase order is created, the Purchase rights group will look up the user's purchase rights group from the user group. If it cannot be found, an error will be reported
The error message is:   Unable to create records in a purchase order. The security policy permission is denied. Procedure
 
How should I solve this problem?
 
Thank you all.
  • Verified answer
    CU07050640-0 Profile Picture
    CU07050640-0 14 on at
    Unable to create records in a purchase order. The security policy permission is denied. Procedure
    After in-depth analysis of the creation process of the purchase order, it was found that there was no value in the procurement rights group field on the Human resources > regular employees, this problem is the logic code of secondary development, and the problem has been solved, thank you
  • Verified answer
    CU07051000-0 Profile Picture
    CU07051000-0 5 on at
    Unable to create records in a purchase order. The security policy permission is denied. Procedure
    1. Review User Groups and Purchase Rights Groups: First, ensure that each user is assigned to the appropriate user group that corresponds to their purchasing rights. Similarly, ensure that each purchase rights group is properly configured with the necessary permissions and access rights.

    2. Check Security Policies: Review the security policies that govern the creation of purchase orders. Ensure that the permissions are correctly configured to allow users in the purchase rights group to create purchase orders.

    3. Troubleshoot Lookup Process: If the error occurs when the system is looking up the user's purchase rights group, verify the lookup process. Double-check the logic or configuration that determines how the system retrieves the user's purchase rights group from their user group. Ensure that it is functioning as expected and that any conditions or filters are correctly applied.

    4. Error Handling: Implement error handling mechanisms to provide more detailed error messages or logging information when the system encounters issues with user permissions or lookup processes. This can help in identifying the root cause of the problem more effectively.

    5. Testing and Validation: Thoroughly test the purchase order creation process with different user roles and scenarios to ensure that users are correctly assigned to their respective purchase rights groups and that they have the necessary permissions to create purchase orders.

    6. Consult Documentation or Support: If you are still unable to resolve the issue, consult the documentation or seek assistance from your system administrator or technical support team. They may be able to provide additional insights or assistance in troubleshooting and resolving the problem.

    https://community.dynamics.com/forums/thread/details/?threadid=778a6a57-fddb-4d36-bd9e-06337eff9d7bsnow rider

  • Martin Dráb Profile Picture
    Martin Dráb 223,308 Super User on at
    Unable to create records in a purchase order. The security policy permission is denied. Procedure
    Which D365 app are you using? This forum is about D365 in general, while your question seems to be about a particular product (such as Finance and Operations or Business Central).

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans