I’m setting up my new iPhone 15, but when I got to the point where it wanted me to sign with my iTunes Apple ID (I have separate iCloud and iTunes accounts), I didn't get the verification code popup on my other devices. Eventually I chose send to phone and the verification just disappeared. I have no idea if verification codes are broken in iOS 17 or something is odd as part of the migration process.