Gvardiol, a defender, has three goals in his last six Premier League games for Manchester City.
San Marino's players charged onto the pitch in joy after securing promotion to League C at the Rheinpark Stadion in Vaduz.
Haaland was at his destructive best as Norway brushed aside Kazakhstan 5-0 to finish top of Group B3 ahead of Austria who were held to a 1-1 draw by Slovenia.
Ex-Juventus midfielder Rabiot netted from Lucas Digne set-pieces in each half at the home of his former Milanese rivals to ensure that Les Bleus leapfrogged Italy into top spot in Group A2 on goal difference, with both teams already in the quarterfinals before kick-off.
Netherlands and Hungary went into the match tied on five points each and with the winner set to join Germany in ensuring their progress from Group A3 to the quarter-finals.
Meanwhile, Lee Carsley, whose brief reign as England coach ends on Sunday, enjoyed an emphatic victory in Athens that put his team top of their pool on goal difference.
England play Greece away on Thursday followed by Ireland three days later at Wembley but nine players, some of them regular starters, who were called up by interim boss Lee Carsley have pulled out due to injuries.
Israeli and Dutch leaders on Friday condemned "anti-Semitic" clashes that erupted after a Europa League football match in Amsterdam overnight, with Israel sending rescue planes for their citizens.
It is the second successive France squad from which the national team captain has been absent after he also missed the October double-header against Israel and Belgium.
Still something of a novelty, UEFA's inaugural Nations League tournament reaches its final stage with a four-team mini-competition in Portugal this week, which will be short and sharp and looks to be a wide-open contest.