Scotland will meet Greece in a Nations League play-off in March.
Having finished third in their A group, Steve Clarke’s side must beat the B group runner-up to remain in the top tier of the competition.
The matches will be played on 20 and 23 March, with the second leg at Hampden.
Scotland finished with wins at home to Croatia and away to Poland to end their first campaign at A level on seven points.
Greece were second behind England on goal difference in Group B2, taking 15 points from their six matches, which included a 2-1 victory at Wembley.
The Greeks, managed by Ivan Jovanovic, are 42nd in the Fifa rankings, nine places above Scotland.
Scotland and Greece have only ever met in Euro 96 qualifying, with both winning their home matches 1-0.