Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Implement logging for SystemAdmin role in x++

(0) ShareShare
ReportReport
Posted on by
Hello,

Anyone have experience or idea how to implement tracking of all changes(inserts, updates, deletes) made by users with System administrator security role. Additionally we want to track log-ins for user Admin. 
We tried to use same concept as in dual write or data event but all information were pass from kernel so we are stucked.

Best regards
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,979 Super User 2025 Season 1 on at
    Implement logging for SystemAdmin role in x++
    Hi Aleksandar,
     
    Have you considered revoking access to persons as system administrator? For what type of users do you want this logging and for what reason? I can think of several (valid) reasons but would like to hear the background of your request.
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    Implement logging for SystemAdmin role in x++
    Hi Aleksandar,
     
    You can configure database logging for the tables. But it's not possible to enable database logging for all the tables, which will affect the performance also.
    Refer to the below documentation for performance impacts when you enable database logging.
    Instead of database logging you can create an alert rule whenever the record is created or deleted.
    Also, for identifying the User login details you can make use of the User log form under System Administration >> Inquiries >> User log.
     
    Thanks,
    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans