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)

Active Directory user name change

(0) ShareShare
ReportReport
Posted on by

Hi all,

where I work, if an employee is replaced by a new joiner, we give the new joiner the same active directory account, after changing the user name to match the new joiner name.

Recently, we have Dynamics AX in the picture, and when this happens, the transaction of the new joiner appears in the name of the old one in AX.

Example

Jim Approved an AX Purchase order (PO01) in January.

Jim left in February.

Alex joined to replace Jim in March, and took Jim active directory account.

Alex approved an AX Purchase order (PO02) in April.

If we check PO02 history, we find it is approved by Jim in April.

What is the the solution for this case?

Thank you!

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,093 Most Valuable Professional on at

    The result is completely expected; it's what you should expect in every system if you keep the same account and merely change its properties.

    But if you want, you can keep the same AD account and create a new user in AX.

  • Community Member Profile Picture
    on at

    Thanks Martin, but how will creating a new user with the same AD help?

  • Martin Dráb Profile Picture
    239,093 Most Valuable Professional on at

    Purchase orders have reference to AX user ID, not to AD SID. If you create a new user in AX (with a new ID), it won't be related in any way to transactions of the other user.

  • Community Member Profile Picture
    on at

    Thank you, let me test this

  • Community Member Profile Picture
    on at

    I believe it will not work, since once I create a new user, it gives me error

    Duplicate alias and network domain for the user.

    duplicatealias.PNG

  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    You must delete the old user first. You can't have multiple AX users for one AD account.  

    But why on earth do you have this kind of process for new employees? In my opinion the Active Directory account should be the unique identifier for each employee. It can be used to audit things that have been done in the past, and from any history and logs we always know who did what. As you know, this history is broken if you don't have separate AD user accounts for each employee.

    My suggestion is to create a new user account for new employees.

  • Community Member Profile Picture
    on at

    This is exactly what I also believe

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    Its generally better to disable than to delete both in Ax, )or you may get table relation issues in field where user id has been used e.g. 'Created by' and in AD  as mentioned for reasons of audit.

    The problem is that you don't want to have to reconfigure all of your workflows for a new approver user, and there will also be open workflows in process. the simple workaround is to use User Groups , you can add and delete users to and from the group. You can also have just one user in a group if need be, and as needed change the user within the group. So when you get to a change, add the new user to the group and then delete the old one form the group, then disable the old user.

  • Community Member Profile Picture
    on at

    the issue isn't only the WF, it is the tractability of who did what all around the system. once the AD Account name change, AX correspondent user record will not accept any update or delete.

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
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans