Portugal came from two goals behind at half-time to defeat Scotland in their Under-21 friendly in Setubal.
Chelsea forward Islam Feruz headed the Scots ahead after 12 minutes and the teenager burst into the box to add the second nine minutes later.
But Paulo Oliveria was left free to head in seven minutes after half-time.
Aldair forced in the equaliser four minutes later and, after hand ball was given against Lewis Toshney, Sergio Oliveira scored the penalty.
It was a disappointing end for the side managed for the first time by Ricky Sbragia, the youth coach who took charge after Billy Stark was given the job of interim coach of the senior side after the sacking of Craig Levein.
Portugal U21: Luis Ribeiro, David Bruno, Miguel Lourenco, Paulo Oliveira, Luis Martins, William, Amorim, Sergio Oliveira, To Mane, Rodrigues, Aldair. Subs: Joao Pinho, Kaka, Pesqueira Josue, Paulinho, Joao Reis, Gustavo Luis, Rui Coentrao, Vitor Goncalves.
Scotland U21: Archer, Duffie, McHattie, Toshney, Robertson, McLean, Paterson, Fyvie, Feruz, Holt, Smith. Subs: Kettings, Fraser, Findlay, Macleod, Herron, McKay, Kennedy.