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, ...
Unanswered

Logging user security role assignment

(1) ShareShare
ReportReport
Posted on by 1
Is there a way to log the assignment of security roles to users such that each time a new role is granted or revoked for a given user, the affected user, role, date/time and the user who assigned/revoked that role is logged?
 
I've tried implementing this through the database log by enabling insert and delete operation logging for the Security User Role Association table but this doesn't have any effect. 
 
Oddly, enabling database logging for the User Role Organization Assignment table does work for instances where I add a role to a user for a specific legal entity, but I get no data in the database log for roles that apply across all legal entities. Digging deeper, I find that the  Security User Role Association table is a kernel table whilst the User Role Organization Assignment table is a normal table and I can only assume that the Database Log feature doesn't work for kernel tables. 
 
This seems like a fairly standard thing to want to be able to do. Is there a feature elsewhere that can provide the data that a security audit might require in order to answer questions like /What rights did user X have on some date?/?  
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at
    Hi,
     
    There are ISV solutions providing full history logging and insights about all security changes. E.g. at To-Increase we have a Security and Compliance Studio solution. 
     
    You can also implement an own customization for logging these details.  

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

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans