The Atlas Lions, who finished fourth in the World Cup in Qatar, were cheered by massive crowds as they rode on an open-top bus.
Morocco gave their players time off for a second successive day on Thursday after the physical exertion of the Spain win.
The 45-year-old Bopanna's final appearance on the Tour came at the Paris Masters, where he partnered Kazakhstan's Alexander Bublik, losing in the opening round earlier this week.
Morocco change the mood for African football with exploits in Qatar
Retired Ivorian player and Chelsea legend Didier Drogba: "They did it!!!! Well done Morocco for this feat. Long live Africa."
If we wanted the Himalayas as a backdrop, we didn't shoot it on a green screen.' 'We actually went to the Himalayas and shot on location.'
'I am not going to try and set up any particular tactical plan to counter Kylian'
Morocco are happy to sit back and look to punish opponents on the counter-attack using the speed and skill of Hakim Ziyech
French prosecutors open investigation of PSG's Hakimi, a source tells Reuters.
Egypt become third African country to qualify for World Cup
Morocco were happy to allow Spain possession but in the end, were desperately hanging on for the shootout as they battled injury and fatigue and lived dangerously in the closing stages.
IMAGES from the FIFA World Cup F Group F match played between Morocco and Canada on Thursday.
'I will tell the players to enjoy themselves, as millions in Morocco will be watching'
The French fans will be largely outnumbered by the Morocco supporters
The din of a concerned crowd transformed into a tumultuous racket when Abdelhamid Sabiri's free kick caught out Thibaut Courtois at his near post and captain Romain Saiss added a slight touch to see Morocco into the lead.
Croatia and Morocco will face off in Qatar for a second time after playing out a 0-0 draw in their group opener
Images from the FIFA World Cup Group F match between Belgium and Morocco on Sunday.
Cape Verde rarely played international football some 25 years ago but now head to next year's finals in North America as one of the nine African representatives.
Since June, India's ministry of external affairs has intensified its diplomatic calendar, hosting several heads of state and government, foreign ministers, and key trade delegations.
Having become the first African team into the semis, Morocco now face Croatia in the third-place playoff on Saturday.
Morocco's Bounou felt dizzy but will play against Canada, says team doctor
IMAGES from the FIFA World Cup semi-final between France and Morocco, played at Al Bayt Stadium on Wednesday.
Images from the FIFA World Cup Group F match between Morocco and Croatia on Wednesday.
I told my players to take 1,000 penalties, says Spain's Luis Enrique
Veteran striker Girelli, 33, replaced 16-year-old midfielder Giulia Dragoni in the 83rd minute and needed only four minutes to make an impact
Images from the FIFA World Cup Quarter-final match between Portugal and Morocco on Saturday.
Aitana Bonmat won the women's Ballon d'Or for the third year running while the 18-year-old Yamal, who was Dembele's teammate at Barcelona when he first broke through in 2023, was again awarded the men's Kopa Trophy.
At the stadium to congratulate her son was Sofiane Boufal's mother. Head Coach Walid Regragui's mother Fatima was there too, raining kisses on her son after the game.
Morocco relied on the usual mixture of North African style, combining committed defence with counter-attacks
Avinash Sable eyes personal best and World Championship redemption
'I'm not worried but we know they beat big teams to get there and we're going to take it seriously. It's not a surprise to see them here anymore. They deserve to be here.'
Fans were flanked by hundreds of police trucks securing the area as they let off fireworks and flares to the sound of honks and cheers.
Images from the FIFA World Cup third place playoff match between Croatia and Morocco on Saturday.
Morocco's World Cup progress has seen vibrant celebrations by its supporters in cities with large Moroccan immigrant populations around the world, which have sometimes turned violent.
Morocco will no doubt revel in another opportunity to thrive as underdogs
Davis Cup: Bold move by India, captain Rajpal fields Dhakshineswar against Switzerland
Macron's office had said last month that he would wait for the semi-finals to go to the World Cup if the team reached that stage.
India will travel to the city of Biel for the World Group I first-round tie, which will be played on indoor courts from September 12.
The Indian team had been relegated to the World Group II after losing 2-3 to Denmark in the World Group Play-Off earlier this year.