RETENTION LABEL applied which will retain the files forever
Step 1: Sign into Office 365
Step 2: open https://compliance.microsoft.com/informationgovernance?viewid=labels
Click on +Create a label

Click next



Review and click finish
Now create label policy
Choose a label

Choose static

Select scope

Name it again and finish

Wait for 10 minutes it will take time to publish
Open SharePoint and any of site click on library settings

Choose the RED highlighted option
Here we have

Select and save
- 1. Now let’s apply a label to any offile
- 2. Go to documents Library
- 3. Select anydocument/file

After applying label try to delete a file and it will show error like.

Setup completed
