May 20 2021
- last edited on
Feb 07 2023
We have an existing OneDrive inclusion retention policy that specifically designates specific OneDrive accounts to have a longer retention period than others. I would like to add additional users' OneDrive accounts to this policy.
I go to https://compliance.microsoft.com/, choose the existing policy and Edit. On the Locations tab under OneDrive accounts, select Edit.
I can see the existing accounts already selected. When I search for a new account by the username and actual OneDrive URL, the option to select it is not there.
May 20 2021 08:54 AMSolution
May 26 2021 12:15 PM
The following command worked:
Set-RetentionCompliancePolicy -Identity <PolicyIdParameter> -AddOneDriveLocation <MultiValuedProperty>
Hopefully the compliance admin portal will be updated in the future to allow edits there are well.