Coach Laurent Blanc made his final cut, ahead of his first major tournament in charge, with midfielder Gourcuff omitted just days after he played 75 minutes in the 3-2 friendly win over Iceland.
The Lyon midfielder, who has endured a season undermined by injury, left the pitch with France 2-1 behind before his replacement, Franck Ribery, levelled.
Defender Yanga-Mbiwa, who helped Montpellier to their first Ligue 1 title, also made way while striker Loic Remy had already been ruled out from the initial 26-man list due to injury.
Blanc included 12 France-based players in his squad, headed by skipper Hugo Lloris, while there are seven players from the Barclays Premier League including Manchester City's title winners Gael Clichy and Samir Nasri.
France 23-man squad
Carrasso (Bordeaux), Lloris (Lyon), Mandanda (Marseille), Clichy (Man City), Debuchy (Lille), Evra (Man Utd), Koscielny (Arsenal), Mexes (AC Milan), Rami (Valencia), Reveillere (Lyon), Cabaye (Newcastle), Diarra (Marseille), Malouda (Chelsea), Martin (Sochaux), Matuidi (Paris St Germain), M'vila (Rennes), Nasri (Man City), Ben Arfa (Newcastle), Benzema (Real Madrid), Giroud (Montpellier), Menez (Paris St Germain), Ribery (Bayern Munich), Valbuena (Marseille).