Forum Discussion
kpsingh69
Jul 26, 2023Copper Contributor
Sensitivity Labels backups
Hello, Is there a way to keep a backup of Sensitivity labels for a scenario where someone accidently deletes the labels and needs to be restored? Thanks ,
miller34mike
Jul 28, 2023Steel Contributor
Hi, kpsingh69,
There is no official back-up that can be performed on sensitivity labels. You could use PowerShell to export your labels to a csv file if you wanted, but it is hardly a perfect solution for creating a "back-up" of your labels.
Connect-IPPSSession
# There is no module needed to install in order to connect to IPPSSession, which is the Security and COmpliance center
Get-Label | Format-List | Out-File C:\labels.csv
#Creates a .csv file of the label export
If you have a deleted label at this time, I recommend you review this Microsoft documentation to understand what that impact may be.
https://learn.microsoft.com/en-us/purview/create-sensitivity-labels#removing-and-deleting-labels
- kpsingh69Aug 01, 2023Copper Contributor
miller34mike Thank you for your response!