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

User is not authorized to read view WorkflowWorkItemEntity. Request denied.

(0) ShareShare
ReportReport
Posted on by

Hi All,

         I am getting following error  "User is not authorized to read view WorkflowWorkItemEntity.  Request denied." when trying to read data from that entity using api call.

        I gave permissions to read/update/write/delete  WorkflowWorkItemTable  for appropriate roles assigned to user.

Screenshot-_2800_43_2900_.png

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Samath,

    Can you explain how this error can be reproduced? What exactly were you doing? Were you opening a form or import/export data?

  • Community Member Profile Picture
    on at

    Hi Andre Arnaud,

    1) At first, i get the OAuth token of a registered user under the Azure AD, which in our case is a manager.

    2) Using this token i tried to access the WorkflowWorkItem entity by ODataProtocal Http Get method as below

    https://aos-rts-sf-21454f9d830-prod-westus2.hr.talent.dynamics.com/namespaces/{{instanceId}}/data/WorkflowWorkItems

    3) I was getting the exception like user cannot access the WorkFlowWorkItem entity?

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    What exact roles and permissions are granted to this user besides the manager role? Are there changes in the standard security artifacts?

  • Community Member Profile Picture
    on at

    Hi Andre,

                I gave employee role and system user (default). Standard security artifacts, do you mean Security configuration under the Personnel management?

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Samath,

    Can you try to grant (temporary) the system administrator and/or manager role? I don't think the employee role and system user role are sufficient to read this table using Odata.

  • Community Member Profile Picture
    on at

    Hi Andre,

                 If you give the system administrator role, it is working fine. But only manager role is not sufficient. Thanks a lot, but is there a way to change the read, write priorities to specific role.

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Samath,

    Try to add the Entity as part of the Entity node on a privilege. You can create a new privilege for this or add it using the security configuration on an existing privilege. Then the privilege should be part of the role for this user.

  • Mohanbalaji  Profile Picture
    10 on at

    Hi Andre,

    I have same issue in talent. I try to update WorkFlowWorkItem, but i got error like this..

    "Write failed for table row of type 'WorkflowWorkItemEntity'. Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes."

    note: User have manager and system administrator role also...

    Please, Can you help me for solving this..?

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Mohan,

    If you open this entity using the workflow designer, then you see the Published option is disabled. It means you cannot create, update and delete records using the data management framework.

    pastedimage1622789718714v1.png

  • Mohanbalaji  Profile Picture
    10 on at

    Hi parag,

    Thanks for your reply.. We are using Dynamic HR human resource trial environment and their API's for our development. I can't find these type of tap in that portal.

    While hitting patch request from postman for change the status of the WorkFlowWorkItem, I am getting above mentioned error. Please correct me if I made mistake.

    Regards,

    Mohan

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 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans