كتب : وكالات
After striker Mouhssine Iajour had give the Moroccans a first-half lead, Roy Krishna equalized for Auckland in the 63rd minute.
But Abdelilah Hafidi snatched the winner in the second minute of injury time.
Three-time African champions Raja advance to face Mexico's Monterrey on December 14.
At the same stage, African champions Ahli will meet China's Guangzhou Evergrande for a place in the semi-final.