AnsweredAssumed Answered

How can I update the sAMAccountName for a user?

Question asked by smccnn on Mar 5, 2017
Latest reply on Mar 5, 2017 by smccnn

I have a need to allow users to capture some information into AD such as their first and last name, mobile number, etc. That in itself is not an issue and is straighforward. What I am attempting to do is to allow the user to update their login name. The users were all assigned random numbers as logon names and now the business wish to change this by presenting a form for the user to fill out.


In the workflow I have tried adding the sAMAccountName to the 'Other' field in 'Update AD' action, however the workflow fails with:


Error updating Active Directory account. Failed to set property 'sAMAccountName'.


Is there a way for me to allow this to work so the login names can be updated?