Most background checks don't go into that great of detail.
They want to know what company you worked for; when you worked for them; and if you were fired. Mot companies will only provide dates of employment and possibly job title. Some will provide salary information if the request is to verify income to determine if you qualify for a loan.
Which team you worked for will never come up during a background investigation. If you worked on one team longer you might be expected to have more words associated with the skills and results for that team. There i no telling which team will have the better buzz word, or technology that will interest a future employer.
Hiring managers realize that sometimes you end up in a position that doesn't seem as strong because of what is available when a previous project comes to an end. Little detours within the same company are not something to worry about.
The one place you do need to mention all your teams is within the internal company resume. When applying for internal positions you need to be accurate regarding who is your current manager/team. If you don't keep it up to date you may miss out on opportunities, or confuse the issue when they are trying to evaluate your skill set.