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

Getting "Access denied: DimensionHierarchyConstraintActivate" when posting journals in batch

(1) ShareShare
ReportReport
Posted on by 97
Hey all, I'm getting /Access denied: DimensionHierarchyConstraintActivate/ when I'm posting journals in batches for some vouchers but some journals were posted without error. Anyone know what the issue would be?
 
Updated: After debugging, I found out that on line number 115, execution got stopped and the error was thrown. But when I posted the same journal manually, it got posted.
 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at
    Hi Krishna,
     
    Did this work correctly before? What security roles are assigned to this user? Are you using custom/configured roles? Do you get the same error for the same journals or will it work with a second attempt? Do you have the same error when posting the journal not via the batch framework? What exact version of the application are you using? Do you have customizations in your environment? 
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    According to the error message, please check your dimension hierarchy to make sure you have security permissions. https://learn.microsoft.com/en-us/dynamics365/finance/cost-accounting/dimension-hierarchy#define-dimension-hierarchies-for-security-setup
    Also, An old thread with similar issues that you can briefly browse: Solved: Access denied to table Dimension code set (DimensionAttributeValueSet) (dynamics.com)
    Best Regards,
    Hana
  • Krishna Bhardwaj Profile Picture
    97 on at
    I'm able to post the same journal manually and I'm getting this error with a few journals not all journals when Post in batch. 
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 on at
    Hi,
     
    Check if you have access to the screen DimensionConfigureAccountStructure. This screen is references the DimesionHieararchyConstraintCriteria table. This table is invoked from screens like Advanced rule structures.
     
    Security privileges to be provided include:
     
    Role to be assigned: Accounting Manager or Accounting Supervisor 
    Duties to be assigned: Maintain chart of account master
    Privileges to be Assigned: Maintain account structure configuration; Maintain Advanced Rules
     
     
     
     
    Happy to answer questions, if any.
  • Krishna Bhardwaj Profile Picture
    97 on at
    Did this work correctly before? Yes
    What security roles are assigned to this user? Admin
    Are you using custom/configured roles? No
    Do you get the same error for the same journals or will it work with a second attempt? Same error with second attempt
    Do you have the same error when posting the journal not via the batch framework? No, manually working fine
    What exact version of the application are you using? 10.0.38
    Do you have customizations in your environment? Not customizations on posting journals
     
    I believe there is no security issue because batch jobs are running though system admin. 

    Updated: After debugging, I found out that on line number 115, execution got stopped and the error was thrown. But when I posted the same journal manually, it got posted.


  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at
    Hi Krishna,
     
    Thanks for the provided details. With these answers, I think you might encountered a bug. It is indeed not security related. You can check if it works correctly in 10.0.39 and there is even a preview for 10.0.40 available at this moment. If it is also an issue in these two versions, you can create a ticket for Microsoft Support.
  • Krishna Bhardwaj Profile Picture
    97 on at
    Hey All,
     
    I appreciate your responses. The conclusion reached after thoroughly examining the issue is that whenever we set up an account structure for a journal, a new record on the DimensionHierarchy table is created with the value of "yes" in the IsDraft field. Does anyone know why this is occurring and what the underlying issue is?
     
     

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
Abhilash Warrier Profile Picture

Abhilash Warrier 677 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 339 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans