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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

You are not authorized to access table "Shared expense subcategory" TrvSharedSubCategory - D365FO

(0) ShareShare
ReportReport
Posted on by

Hi all, 

Getting the below error while trying to acces "Shared Category" Menu item from Project Management Module,

You are not authorized to access table "Shared expense subcategory" TrvSharedSubCategory. Contact your system administrator. 

Even having the admin role. 

Please advice us, do we need to create any Preveliges for this. 

Regards, 

Akbar

I have the same question (0)
  • Suggested answer
    NikolajSorensen Profile Picture
    1,814 on at

    In my test environment, the menu item is accessible when I am assigned to the System Administrator role.

    Please confirm that you can access the menu item with the system administrator role assigned to your user, if you cannot, it is not a security issue but some other issue in your environment.

    The standard "Project supervisor" security role can also maintain the shared categories, so you can look at that for reference.

    If you have created a custom security role and the access does not work with that specific role assigned, you need grant access to the table mentioned in your error message.

    BR

    Nikolaj

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Akbar,

    Do you have "Expense management" configuration enabled under License configuration (Navigation :System administration > Setup > License configuration)?

    pastedimage1648633379161v1.png

  • Akbarpasha Profile Picture
    on at

    Hi Gunjan,

    "Expense management" is not enabled, getting the below message while trying to enable this.

    "This form is read-only unless the system is in the maintenance mode. Maintenance mode can be enabled in this environment by running maintenance job from LCS, or using Deployment.Setup tool locally",

    How to make this enable?

    please let us know.

    I am having Admin role.

    Regards,

    Akbar

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Akbar,

    Please check this documentation on how you can move your instance to maintenance mode to enable the configuration. 

  • Akbarpasha Profile Picture
    on at

    Thank you Gunjan,

    If we are able to enable "Expense management' , then "Shared Category" will be accessible, am i correct.

    or do we need to perform anything else also, because we are unable to access Shared Category in any environment.

    Regards,

    Akbar

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Akbar,

    That should be it. The table TrvSharedSubCategory has this configuration key set. Enabling this configuration should resolve your issue.

  • Akbarpasha Profile Picture
    on at

    Thank you Gunjan.

    There is no "Enable Maintenance Mode" option available in DEV environmnet details page, and the the same message while trying to enable this option.

    How can we enable this in DEV.

    8244.exp.png

  • Akbarpasha Profile Picture
    on at

    Hi Gunjan,

    Found the info how we can do in DEV from the link.

    Thank you very much.

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Akbar,

    You have to run a SQL command on DEV environment. Please check this section from the documentation I shared earlier.

  • Akbarpasha Profile Picture
    on at

    Thank you very much Gunjan, able to access "Shared category" now.

    Regards,

    Akbar

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans