web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Insufficient security permissions for the user

(0) ShareShare
ReportReport
Posted on by 142

Hi All

We have developed a custom form with security roles and duties. When a user creates a form and it goes for the manager approval, we get an error as shown below.

Manager user is given with the role Employee, Manager and newly created role.

Workflow template property is designed as below

Please find the below 

pastedimage1642699056666v1.png

I check from development server and got an error message from event viewer as below

Work item could not be created. Insufficient security permissions for user crm.user. Please review the user's security permissions to ensure they are sufficient for this workflow document and then resume the workflow. at SysWorkflowWorkItem-create SysWorkflowWorkItem-createWorkItems SysWorkflow-save SysWorkflowQueue-resume X++ Exception: The workflow system could not access the business document data. Report this issue to your system administrator. at SysWorkflowDocument-assertAsUser SysWorkflowDocument-assert SysWorkflowDocument-assertPermission SysWorkflowWorkItem-create SysWorkflowWorkItem-createWorkItems SysWorkflow-save SysWorkflowQueue-resume
I tried by making the break point in sysworkflowdocument but it did not the debug option.  I am not sure if something i am missing. The manager user id is missing some permission for the approval of the workflow. Appreciate if anyone can let me know with any solution
Thanks
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Sindhu,

    Can you check what menu items were added to the new privilege for this security role? (BTW, you only mentioned a new role and duty, but I do assume you did create the privileges as well.) Ensure that the menu items for approval, rejection, delegation and also the workflow document menu item are part of the privilege. If they are on the privilege, then check if the grant permissions are set correctly for all the menu items on the privilege.

  • Vamsa Profile Picture
    142 on at

    Thank you so much for your response. Yes I have created security privileges and added menu items with delete access. I will check if i have missed any other menu item like document menu item

  • Verified answer
    Vamsa Profile Picture
    142 on at

    Hi Andre

    I have checked and found that menu item is added

    Thanks

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans