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, ...
Suggested Answer

An Error occurred while retrieving the row count of entity Ledgerjournalheader. Error details: User not authorized to read view LedgerHeaderEnitity. Request Denied.

(0) ShareShare
ReportReport
Posted on by 283

Hi All,

When some users are trying to open the data entity template through excel add-in, they are getting the following error:

pastedimage1621941865627v1.png

An Error occurred while retrieving the row count of entity Ledgerjournalheader. Error details: User not authorized to read view LedgerHeaderEnitity. Request Denied.

Only one user facing the issue other users having the same roles are able to upload journals.

Please provide me steps to solve this issue.

Regards,

Vinod

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

    Hi Vinod,

    Ensure the role(s) assigned to the user has a privilege containing permissions for the entities LedgerJournalHeaderEntity and LedgerJournalLineEntity. Can you verify this?

  • Vinod Kumar Reddy Profile Picture
    283 on at

    Hi Andre,

    Thanks for the reply. Checked the roles another user having same roles able to upload journal.

    Please provide me steps how to check user has a privilege containing permissions for the entities LedgerJournalHeaderEntity and LedgerJournalLineEntity.

    Regards,

    Vinod

  • Suggested answer
    Michal Krejza Profile Picture
    on at

    Hi Vinod,

    Please confirm I understand the issue correctly. 

    Only one user is not able to open the Excel due to the error message "User not authorized to read view LedgerHeaderEnitity". Other users can use this feature without troubles. All users have the same roles assigned., 

    If I understand it correctly I would suggest following actions:

    - delete usage data for the user and try again

    - ask user to login from a different machine and try again

    - delete the user and create again

    Please let us know about your results.

  • Hetal Gore Profile Picture
    102 on at

    Hi, 

    Was there a solution for this problem?

    Hetal 

  • Suggested answer
    Dinaz Profile Picture
    115 on at

    I tried adding security privilege "Maintain ledger journal and ledger journal line entities" to the user role and it worked.

  • Juergen Salaboeck Profile Picture
    10 on at

    Hi Dinaz,

    we ran into the same problem but the security privilege is not the solution from my perspective.

    The problem we had was because users do have limitations on entity level - if you apply a role which has no limitation on organization level it always worked for the user. Applying that privilege globally could lead to users accessing data which they should not access via Excel-Addin.

    We tracked it down to the default company of that user. The default company of the user card had the wrong setup because the user was not allowed to access that company.

    We think that this might be something related with ODATA as the system is always checking the default company.

    But changing the default company to one which the user has permission solved the problem w/o changing existing privileges.

    Just for documentation.  

    BR

    Jürgen

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans