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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Work flow error - Insufficient security permissions for user X

(0) ShareShare
ReportReport
Posted on by 85

I have  workflows that are assigned to a user group.  The users in the group all have roles that should allow them to have a workflow assigned to them.  HOWEVER, the users that do not have system admin as a role create the error.

This is happening in Ledger daily journal workflow and customer free text invoice workflows.

I have the same question (0)
  • MATTGUO Profile Picture
    22,349 Moderator on at
    RE: Work flow error - Insufficient security permissions for user X

    Hello,

    Please check if these users have the permission for the privileges of the Approve free text invoices and Approve ledger journal.

    Moved to D365 Finance forum: community.dynamics.com/.../dynamics-365-for-finance-and-operations-forum

  • André Arnaud de Calavon Profile Picture
    299,668 Super User 2025 Season 2 on at
    RE: Work flow error - Insufficient security permissions for user X

    Hi Heather,

    It should be related to security. Check if these users do have permissions on the approval menu items and also do have acces to at least read the free text invoices and journals.

  • CrniBranislav Profile Picture
    10 on at
    RE: Work flow error - Insufficient security permissions for user X

    I have similar problem with custom WF, with custom query in document class. When I debug this issue, I saw that error message is misleading, and problem was in custom query. if you look into class SysWorkflowDocument, method assertAsUser(), you will see this piece of code:

         pastedimage1667548863916v1.png

    Basically, if document query returns empty buffer, then "permission" variable is "false" and AX will return misleading message that "user don't have insufficient rights...", but problem is not in user rights, but in query.

    Maybe this will help someone....

  • André Arnaud de Calavon Profile Picture
    299,668 Super User 2025 Season 2 on at
    RE: Work flow error - Insufficient security permissions for user X

    Hi Branislav,

    In case it works as system administrator, then still it is related to the granted permissions. If due to insufficient permissions the query is not returning data, then the user needs to have permissions to read data from the query.

  • CrniBranislav Profile Picture
    10 on at
    RE: Work flow error - Insufficient security permissions for user X

    I agree (in first part). But... rather it works as system administrator or not, if query (from document class) doesn't return anything (not necessary  security related, but also bad joins between datasources, bad ranges...) then AX will throw this error.

  • Suggested answer
    b_radlyjames Profile Picture
    3,155 on at
    Work flow error - Insufficient security permissions for user X
    I know this is old but I wanted to respond and expand on CrniBranislay's answer.
    User CrniBranislay is correct.  This error is showing because of the query.
    More specifically it is showing because although you were allowed to submit, the query isn't returning a record for the workflow to process.
    It's a very misleading 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.

Helpful resources

Quick Links

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 796

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 530 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans