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

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

(0) ShareShare
ReportReport
Posted on by 489

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,172 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
    489 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,172 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

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 April 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 620

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans