Forum Discussion
Iamdavidc
Apr 18, 2024Copper Contributor
Disable OneDrive Retention Policy for One User Account
We have one OneDrive default retention policy for all staff in M365. We have one user, because of the work they do, has one file that is rewritten many times during the day which creates an incredib...
Kidd_Ip
Apr 19, 2024MVP
Try this:
Set-RetentionCompliancePolicy -Identity "existing-Retention-Policy" -AddOneDriveLocation "https://tenant-name-my.sharepoint.com/personal/user_domain_com/"
- Andrew GeddesApr 22, 2024Copper Contributor
Kidd_Ip isn't your script to add to retention policy, not remove? I've used the one I placed above when we had the occasional issue of PST or whatever without issue.