# Mattermost mass update users

**URL:** <https://forum.mattermost.com/t/mattermost-mass-update-users/22236>\
**Category:** Troubleshooting\
**Created:** [January 16, 2025, 4:04pm UTC](https://forum.mattermost.com/t/mattermost-mass-update-users/22236 "2025-01-16T16:04:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daddydayz](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@daddydayz](https://forum.mattermost.com/u/daddydayz)\
**Post date:** [January 16, 2025, 4:04pm UTC](https://forum.mattermost.com/t/mattermost-mass-update-users/22236/1 "2025-01-16T16:04:54Z")

</div>

I am wanting to update our users auth method from saml to gitlab, i am running into issues where i update the user field in our SQL data base from SAML to gitlab it just changed the error and doesnt update it. When i use mmctl and import myname.json it doesnt update the user account. What is the best way to update all my users.

---

<div class="post-metadata">

**Author:** ![john.combs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.combs/32/7118_2.png) [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Post date:** [January 24, 2025, 2:24am UTC](https://forum.mattermost.com/t/mattermost-mass-update-users/22236/2 "2025-01-24T02:24:30Z")

</div>

Heya @daddydayz! Welcome to the Mattermost forums. Switching authentication methods in Mattermost requires careful migration to ensure a smooth transition for users. For updating from SAML to GitLab authentication, the recommended approach is to use Mattermost’s built-in commands and follow their migration documentation. Modifying the SQL database directly can cause issues, and generally isn’t recommended.

Here’s a useful starting point: [Switching Authentication Methods](https://support.mattermost.com/hc/en-us/articles/21575666726164-Switching-Authentication-Methods). Feel free to provide more details, and we can help troubleshoot further!

---

<div class="post-metadata">

**Author:** ![daddydayz](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@daddydayz](https://forum.mattermost.com/u/daddydayz)\
**Post date:** [January 24, 2025, 2:37am UTC](https://forum.mattermost.com/t/mattermost-mass-update-users/22236/3 "2025-01-24T02:37:02Z")

</div>

Sadly matter most doesn’t downgrading from saml/ldap to any other form of authentication. Big fumble on their part. We managed to fix the issue by converting all users to bots then converting them back to users. This allowed us to switch them to email/password
