Longitudinal assessment revealed the shifts in rumen and colon mucosal-attached microbiota of dairy calves during weaning transition.