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 :
Microsoft Dynamics AX (Archived)

How do I record User changes in the database log?

(0) ShareShare
ReportReport
Posted on by

I have set up the recording of user deletions but would also like to record changes to user details such as the addition or removal of security roles.

For user deletions I selected table "User Information" and clicked Delete.

For user changes I tried selecting the same table and clicked Update but no changes are being recorded.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

      You could take a look at the database logging feature of Dynamics AX. But be warned, if you really want to track all data changes,

  • Community Member Profile Picture
    on at

    I am using database logging. I just need guidance on how to record user changes.

  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

      Please follow the below link it will guide u better,

    http://floditt.blogspot.fr/2011/08/simplify-tracking-changes-with.html

  • Community Member Profile Picture
    on at

    It looks more complicated than using the AX GUI.

  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

      You can use database logging for tracking specific types of changes to AX tables and fields. When you configure logging for a table or field, a record of any change to that table or field is stored in the database log table, sysdatabaselog, in the AX database.

    You can use the Logging database changes wizard to set up database logging. The wizard provides a flexible way to set up logging for tables or fields.

    Click System administration > Setup > Database > Database log setup. Click New to start the Logging database changes wizard.

    Complete the wizard

  • Community Member Profile Picture
    on at

    Yes I've set up database logging before.

    Just need help with recording user changes.

  • Pravasti AK Profile Picture
    2,985 on at

    hi,

    Please find the below link:

    https://kaya-consulting.com/how-to-rename-records-in-ax7/

  • Community Member Profile Picture
    on at

    That's not a relevant link.

    Under "Database log setup" I have set "Security user role" on for Delete and Insert but when tested the log entries don't identify either the user or role being deleted/inserted.

  • Verified answer
    Martin Dráb Profile Picture
    239,399 Most Valuable Professional on at

    A similar question was discussed in an older thread: Database Log - changes to security roles being audited?.

  • Community Member Profile Picture
    on at

    Thanks Martin, I've downloaded the XPO and will see if it works for me.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans