For multi-input multi-output (MIMO) nonlinear discrete-time bipartite formation multiagent systems (BFMASs) performing trajectory tracking tasks with unknown dynamics, a dynamic event-triggered model-free adaptive iterative learning control (DET-MFAILC) algorithm is proposed to address periodic denial-of-service (DoS) attacks. First, using the pseudo-partial derivative, a compact format dynamic linearization (CFDL) method is employed to construct an equivalent CFDL data model for the MIMO multi-agent system. A DoS attack model and its corresponding compensation algorithm are developed, while a dynamic event-triggered condition is designed considering both the consensus error and the tracking error. Subsequently, the proposed DoS attack compensation algorithm and the dynamic event-triggered mechanism are integrated with the model-free adaptive iterative learning control algorithm to design a controller, which is further extended from fixed-topology systems to time-varying topology systems. The convergence of the control system is rigorously proven. Finally, simulation experiments are conducted on bipartite formation multi-agent systems (BFMASs) under fixed and time-varying communication topologies. The results demonstrate that the proposed algorithm effectively mitigates the impact of DoS attacks, reduces controller updates, conserves network resources, and ensures that both the tracking error and consensus error converge to an ideal range close to zero within a finite number of iterations while maintaining a good formation shape.