Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Insufficient security permissions for user RetailServiceAccount.

(0) ShareShare
ReportReport
Posted on by 11,721

Hello All,

I am getting this after submitting the general journal in workflow approval process.

Checked from my side in below areas.

-- "Accountant" role is assigned to user 'A'.

-- User is enabled.

-- Provider is https://sts.windows.net/

-- 'Person' is linked in the user.

-- System admin role also assigned (for test purpose).

-- Same "Accountant" role is assigned to user 'A' in "Positions" form.

Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user RetailServiceAccount. 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

1856.Capture.JPG

Workflow is participant based.

102723.JPG

Point: - If workflow is created on 'user based' with same user 'A'; then there is no issue and work items are created properly.

Kindly let me know if I am missing anything in this case!

Best regards,
Sourav Dam

  • Verified answer
    SouravDam Profile Picture
    SouravDam 11,721 on at
    RE: Insufficient security permissions for user RetailServiceAccount.

    Hi André,

    Sorry for late response!

    The reason what we identified is; client's admin team added a few additional privileges to the "Accountant" role which, being an accountant, not supposed to perform in general. And due to this, this error was coming. However; the issue is a bit awkward compared to what assigned to the role as the client is not in 'Retail' domain and they do not even use this module!

    Solution delivered as follows;

    -- First; suggested to remove those additional privileges from this role which client did not accept as they want the accountant to perform those tasks out of actual role assigned.

    -- Therefore; 2nd option we suggested to go to System admin > Security > Assign users to roles and remove the "RetailServiceAccount" role manually from the 'Accountant' role.

    Once this is done; the case got solved.

    Thanks for your feedback too as you highlighted to act on 2nd option in your post.

    Regards,
    Sourav

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,431 Super User 2024 Season 2 on at
    RE: Insufficient security permissions for user RetailServiceAccount.

    Hi Sourav,

    Is your accountant role assigned to the Retail service account? Does your accountant role have the permissions for approving the journals?

    If the retail service account is having the accountant role, you can remove it from this user to see if it solves this issue. However, it might be required for another permission for the retail service account.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans