Need some guidance

Hello, @batinz

On top of the suggestions shared by @amy.blais, you can also run the following SQL query to understand the complete status of the users (teams and channels users belong & the membership - system admin OR normal users) and run the CLI commands suggested in the documentation accordingly:

SELECT DISTINCT u.Username, t.DisplayName AS TeamName, c.DisplayName AS ChannelName, cm.SchemeUser AS User, cm.SchemeAdmin AS Admin FROM ChannelMembers AS cm JOIN Channels AS c ON (cm.ChannelId=c.Id) JOIN Users AS u ON (cm.UserId=u.Id) JOIN Teams AS t ON (c.TeamId=t.Id);

You can narrow down the scope by adding the WHERE statement at the end of the SQL statement. Hope that helps.