A no-confidence vote in Nicola Sturgeon is to be submitted by the Scottish Conservatives.
Ms Sturgeon's deputy, John Swinney, agreed to hand over the legal advice after himself being threatened with a no-confidence vote.
He acknowledged "reservations were raised" by government lawyers about the way allegations about Mr Salmond were investigated.
Watch: Nicola Sturgeon on 'moment she will never forget' when Alex Salmond showed her letter of harassment claims he faced
Scottish Conservative leader Douglas Ross said: "Credible witnesses have now backed up Alex Salmond's claims and the legal advice shows the government knew months in advance that the judicial review was doomed but they still went on to waste more than £500,000 of taxpayers' money.
"There is no longer any doubt that Nicola Sturgeon lied to the Scottish Parliament and broke the ministerial code on numerous counts."
He added: "The weight of the evidence is overwhelming. Nicola Sturgeon must resign.
"We will be submitting a vote of no confidence in the first minister."
Watch: Nicola Sturgeon tells inquiry into Alex Salmond investigation any suggestion she plotted against him is 'absurd'