 Upon being consecrated bishop, Migazzi was removed to Madrid as ambassador in Spain.After concluding a treaty, in 1756, the Empress appointed him coadjutor of Count Bishop Althan of Waitzen.But as Althan died before Migazzi's arrival, and six months later Prince Archbishop Trantson also died in Vienna, the Empress named Migazzi his successor.