Add OneDrive location to an existing retention policy

Copper Contributor



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, 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.


Any ideas?



2 Replies
best response confirmed by terzogenito (Copper Contributor)

Thanks@Vasil Michev 

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.

1 best response

Accepted Solutions