# \[SOLVED\] Recovering User Data

**URL:** <https://forum.mattermost.com/t/solved-recovering-user-data/3985>\
**Category:** Troubleshooting\
**Created:** [October 20, 2017, 10:44am UTC](https://forum.mattermost.com/t/solved-recovering-user-data/3985 "2017-10-20T10:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunny](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gunny](https://forum.mattermost.com/u/Gunny)\
**Post date:** [October 20, 2017, 10:44am UTC](https://forum.mattermost.com/t/solved-recovering-user-data/3985/1 "2017-10-20T10:44:35Z")

</div>

Hi, we are using Mattermost Team Edition and LDAP authentication. Recently we changed a the AD name of an employee this resulted in the user getting a new Mattermost account. The old Account still exists. Is there a way to migrate all data from the old to the new account? Or maybe change the new user id to the old one?

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [October 23, 2017, 7:49am UTC](https://forum.mattermost.com/t/solved-recovering-user-data/3985/2 "2017-10-23T07:49:26Z")

</div>

Hi @Gunny,

Thank you for your question,

Perhaps you’ll find [this documentation](https://docs.mattermost.com/deployment/sso-ldap.html#troubleshooting-faq) helpful?
