Humza Yousaf quizzed over Covid WhatsApp cover-up claim
Humza Yousaf has been urged to accept that Scottish government ministers could have broken the law by deleting WhatsApp messages requested by the UK Covid Inquiry.
Senior figures, including the first minister's predecessor Nicola Sturgeon, have been accused of erasing data.
The Scottish government said it would submit 14,000 messages by Monday.
Mr Yousaf said all relevant messages that had been "retained" would be handed over "in full".
He said he had not removed any of his own messages and that all of his files would be handed over.
It was confirmed the 14,000 messages would not include minister-to-minister conversations.
During First Minister's Questions, Scottish Tory leader Douglas Ross likened a Scottish government records policy which advises removing some messages after a month to "building a bonfire to destroy the evidence".
He claimed it was "absolutely clear that the SNP brought in an auto-delete policy" after Ms Sturgeon had confirmed there would be a Scottish Covid inquiry in August 2021 to allow ministers to "cherry-pick" information that could be submitted.
The Moray MSP accused the Scottish government of treating the inquiries and bereaved families with "contempt".
He asked: "Does Humza Yousaf accept that if Nicola Sturgeon or any government minister has destroyed WhatsApp messages relevant to the inquiry, they would be breaking the law?"
Mr Yousaf - who served as health secretary from May 2021 before becoming first minister in March 2023 - insisted Ms Sturgeon had acted with full "accountability and transparency" during the pandemic, holding regular media briefings.
"When the former first minister stood up, did those media briefings, spoke to the public, took questions from the media, it was the opposition that wanted to stop that from happening in the first place," he said.
The Scottish inquiry issued a "do not destroy" order at the beginning of August 2022, meaning it could be an offence for witnesses to have deleted Covid-related messages after that date.
In June this year, Mr Yousaf told MSPs that all requested material would "absolutely" be handed over to the Covid inquiries in full.
The Scottish government's mobile messaging policy, which was introduced in November 2021, suggests that conversations relating to government business should be deleted at least once a month.
However, it also makes clear that before anything is wiped "salient points of any business discussions and/or decisions" should be transcribed and saved in the official record system.
The Scottish government's records management policy, introduced in February 2021, says these records should be kept as long as necessary to fulfil the Scottish government's business and legal obligations.
Confidentiality row
Scottish Labour leader Anas Sarwar asked how many of the 70 Scottish government figures cited by the UK inquiry had complied with do not destroy orders.
Mr Yousaf said he did not know what requests had been made to ministerial colleagues, nor what evidence they had provided due to confidentiality rules.
Mr Yousaf said: "It is absolutely my expectation, the expectation of the permanent secretary, that potentially relevant information is kept, recorded in the appropriate way and handed over to the inquiry when it is requested.
"That is why we are in the process of handing over 14,000 messages."
Mr Sarwar said it was "shameful" that the government was abdicating responsibility.
Mr Yousaf also apologised to bereaved families for any "anxiety or distress" the government may have caused by the issues with submitting evidence.
He added: "I can give an unequivocal guarantee to those families who have been bereaved by Covid that the messages that we have retained will be handed over and handed over in full."
It was later confirmed that the 14,000 messages were part of the Scottish government's "corporate" submission and not related to requests for information from individual ministers.
It is understood they will exclude minister-to-minister exchanges and messaging between just two people. Instead they are restricted to conversations of three or more people involving at least one civil servant.
The Scottish government said it was asked to hand over WhatsApp messages related to the pandemic in September.
The inquiry has asked to see the WhatsApp messages of 70 officials, medical chiefs, ministers and former ministers, and identified 137 messaging groups that could contain relevant information.
However, the inquiry's counsel, Jamie Dawson KC, said "very few" of the messages it was interested in appeared to have been retained.
Mr Dawson has also raised "particular concern" about an overdue witness statement from Scotland Secretary Alister Jack.
This week the Scottish government was issued a formal legal order, under section 21 of the Inquiries Act 2005, to release the material, which ministers said was necessary due to data privacy concerns.
Mr Ross cited Section 35 of the Inquiries Act, which sets out scenarios in which it could be a criminal offence to suppress, conceal or destroy evidence which could be relevant to the inquiry.
Senior members of the Scottish government's leadership team from during the pandemic - including Ms Sturgeon and former deputy first minister John Swinney - have been accused of wiping messages or using an auto-delete function.
Both have refused to deny removing messages and said they will comply with the inquiries.
Ms Sturgeon said she had "nothing to hide".
Former finance secretary Kate Forbes said she retained all relevant correspondence relating to the pandemic and had shared it with the Covid inquiry.
The MSP, who left government in March, said her submission included all WhatsApp messages though she denied being a member of any of the 137 group chats identified by the inquiry.
Health Secretary Michael Matheson - who served as Net Zero, Energy and Transport secretary during the pandemic - told BBC Scotland News he kept his WhatsApps too.
National clinical director Jason Leitch has been accused of deleting messages every day during the pandemic, while chief medical officer Prof Sir Gregor Smith is alleged to have used an auto-delete function on WhatsApp messages.
Both were approached for comment.
WhatsApp announced it was introducing the auto-delete function in November 2020, eight months after the pandemic was declared, suggesting messages before then could be recovered unless manually deleted.
It has also emerged that some Scottish government messages sent on Microsoft Teams auto-delete after five days.
The Scotsman reported the government's "chat" content on the platform auto-deletes in this timeframe, whereas Teams "channel" messages are retained for three years.
A government spokesperson said Teams is used for civil service communications but it is not a "corporate record".
They added: "Any information created within Microsoft Teams which may form a record of Scottish Government business must be saved in the official record.
"The way content is created and shared in Teams is also required to comply with Scottish government data protection policies and other codes of conduct as well as the records management policy."
Counsel to the UK inquiry, in a document published last week, said Mr Jack was asked to hand the evidence over in July, with a deadline set for 18 August.
An extension was agreed on 1 September, but the counsel said the statement "remains overdue".
A spokesperson for the Tory minister said he would submit the evidence "shortly".
"The secretary of state's representatives are in contact with the inquiry," they added.