This can only be done is story mode from the main menu (cannot be done in quick match).
Also, 1 v 1 matches do not count, and this must be done in a standard 5 v 5 match.
You can do this in any friendly or cup match throughout the main game, but your first opportunity is early on after you form your team and play a friendly against the Toddlers FC.
Before the match, set your match difficulty to ‘easy’ in the options menu to give yourself an easier time in getting this, as even on ‘medium’ match difficulty, I found the AI quite challenging.