Cannot add user to channel

Summary

A user exists and is available in mattermost for (e.g.) Direct Messages, but does not appear in the search results when trying to add the member to a channel (public or private).

Steps to reproduce

Not sure how to reproduce. We are using the following versions. Most of our users authenticate via LDAP through gitlab.

(Updated per suggestion)

Mattermost Version: 5.23.0
Database Schema Version: 5.23.0

Expected behavior

I expect to be able to add any existing user to any channel.

Observed behavior

The user is not found in the search results (but other users are), and so cannot be added to a channel.

Would you be open to upgrading your server version? Our supported versions include v5.19 and later.

1 Like

Thanks for the suggestion. We have upgraded to 5.23.0. The issue is still present.

:man_facepalming:Solved:
In our case, the users (two in question) had either (1) left or (the other one) never been invited to a particular team, but because they are users in another team, we can DM them even when our interface is showing the team they’re not a member of. So adding the existing users to the team in question via the “invite people” feature solved our issue.