Palace progressed to the fourth round of the FA Youth Cup for the first time since 2011 after Levi Lumeka scored in extra-time to beat Accrington Stanley.
Goals from Corie Andrews and Luke Dreher had put the visitors in the driving seat at the Crown Ground, but Stanley rallied to tie things up and force the game beyond 90 minutes, however Lumeka managed to grab the decisive goal and set up a home time against Aston Villa in the next round.
Palace found themselves in front by scoring in the opening 10 minutes when Aaron Bissaka got free on the left and whipped in a cross for Andrews who drilled the ball into the back of the net.
Soon after Andre Coker went close with a clever free-kick routine but Stanley keeper Christian Evans did well to get down low and smother the effort, and at the other end the hosts went close when centre-back Ross Sykes was found by a Reuban Dass corner, but despite being unmarked he headed a great opportunity wide.
That looked to prove costly as just before the interval Palace went two ahead. Again it was Andrews who was involved as he got a shot off in the area which was pushed away by Evans, however Dreher was on hand to tuck away the rebound.
After the break Stanley were desperate to stay in the competition and Oliver Pain was forced into a brilliant diving save after Harry Blackburn smashed a low shot towards goal, but they did pull a goal back a minute later when Palace conceded a penalty which was dispatched by Nathan Webb.
And on 75 minutes they managed to draw level again when Stuart Callaway rode a couple of tackles 20 yards out before cleanly striking the ball past Pain and finding the bottom corner.
They nearly won the game when Webb nearly netted a second as he curled an effort just over the bar, meaning the game would head into an additional 30 minutes to determine a winner.
That would come in the first half of extra-time when, after being introduced as a substitute, Lumeka managed to score the Eagles’ third when he forced the ball over the line following a melee in the box and clinched the victory for his side.
Palace: Pain, Hosannah, Wynter, Woods, Sturgess, Coker (Lumeka 68), Dreher, Phillips, Bissaka, Andrews (Flanagan 103), Lokilo (Fundi 62). Subs not used: McAdden, Hogan.