We study the dynamic motion of magnetic structures composed of micron-size ferromagnetic particles. The supraparticle structures are retained in a microfluidic channel by a local oscillating magnetic field while subjected to a viscous liquid flow. We analyze the position of the magnetic structures as a function of the flow velocity and of the frequency and amplitude of the magnetic field. We also study the conditions for release of the magnetic structures from the localized magnetic field region.