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, ...
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
    303,365 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 390

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans