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

Security role changes are shown in Database log in DAT-company

(0) ShareShare
ReportReport
Posted on by 485

Hi,

We are tracing couple of tables in standard database log and one of them is Security user role (we want the system to log the changes to any user role). However, the log shows in dat-company for some reason. This causes problems for us, because we are an export data project which will export the log data out of the system and obviously it's company related. Is this somehow fixable? In normal scenario, if I make a change to role setup it would appear on the company I'm using. Check the pic below. 

pastedimage1588762978825v1.png

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    The underlying table is global (SaveDataPerCompany: No), which means it's shared across all companies and DataAreaId for all records is dat.

    This setup is not company related at all. No matter which company you login and assign roles to users, the outcome is exactly the same.

    Also when you assign user to role, they have access to all companies by default.

    You can link user's role assignment to company/companies, and this data is saved in OMUserRoleOrganization table. But also this table is global and therefore dataAreaId is always dat.

  • migi111 Profile Picture
    485 on at

    Ok, so I guess the only way to export the security user role -lines with the data export project, is to create the project in dat-company as well.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If data project in other companies doesn't export these rows, yes, then I recommend trying in dat company.

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 611 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