This is a frequent occurrence when installing the ODT source from a network drive or USB 2.0. Typically, this is related to security software interference. Try temporarily disabling your third-party antivirus, Windows Defender Firewall, or VPN software before running the setup.exe /configure command.
: Expect the download to be approximately 4.5 GB or larger . Deploy Microsoft Teams with Microsoft 365 Apps microsoft office 365 offline installer