I think they are both correct. British use "be in a team" to describe someone is a member of the team, whereas American like to use "be on a team". So I see it as merely the difference between American English and British English. It's my opinion.let's see what teachers will say.
Student or Learner