Highland League side Turriff United will host Scottish Cup holders Hibs in the Irn-Bru Cup third round.
Peterhead face a trip to Tannadice to face Championship side Dundee United.
After conquering St Johnstone Under-20s and Montrose, Ross Jack’s side will come up against their toughest test yet.
Turriff will host Neil Lennon’s men at The Haughs on either Saturday, September 3 or Sunday, September 4.
Peterhead scraped past Brora Rangers 3-2 and will have to up their game against Ray McKinnon’s men.
Dates for both games are still to be determined.