“User must be an agent to be in a group”
This error occurs during the migration of groups and their related users. Zendesk reviews user’s role, and if the user is not an agent, Zendesk returns the error, because only agents can belong to groups. If you need to keep the relationship between the users and groups, please assign the “agent” role to those users. Check out this article to get more detailed information.