Unable to Exclude Specific OneDrive Users from Retention Policy

Vinay Shivakoti 0 Reputation points
2026-08-26T08:40:41.62+00:00

Hi Microsoft Community,

We are supporting a Microsoft 365 tenant as a CSP and need assistance with an issue related to a Microsoft Purview retention policy for OneDrive.

We have a retention policy that is intentionally applied to all users in the organization, and we do not want to disable or modify the retention policy for the remaining users.

However, we have 4 users with very high OneDrive storage consumption. When these users delete unwanted files, the files are being retained in the Preservation Hold Library due to the retention policy, so the storage is not being released.

Our requirement is:

Keep the existing retention policy enabled for all users.

Exclude only these 4 specific OneDrive users from the retention policy.

Allow the remaining users to continue following the existing retention policy.

In Microsoft Purview → Data Lifecycle Management → Retention Policies → Locations → OneDrive accounts, we have selected All user accounts and are trying to use the Exclude users/accounts option.

However, the 4 users are not appearing in the exclusion/search list, even when we search using their complete email addresses.

We would like to understand:

Why are these OneDrive users not appearing in the exclusion list?

Can specific OneDrive accounts be excluded using their OneDrive URLs instead of their email addresses?

If the URL-based exclusion is not available in our current UI, what is the recommended Microsoft-supported method?

Would creating an Adaptive Scope for these 4 users and using it for the retention policy exclusion be the recommended approach?

Is there any specific requirement for the OneDrive accounts to be provisioned or licensed before they appear in the exclusion picker?

We want to maintain the retention policy for the organization and only exclude these 4 specific OneDrive accounts.

Any guidance on the correct configuration or troubleshooting steps would be appreciated.

Microsoft 365 and Office | OneDrive | For business | Other

1 answer

Sort by: Newest
  1. Vasil Michev 127.8K Reputation points MVP Volunteer Moderator
    2026-08-26T08:49:33.37+00:00

    You need to use URLs for OneDrive, yes. But for your scenario, I would suggest using Priority cleanup instead. This way you will be able to keep the original retention policy settings in place (which I imagine are required for compliance reasons), but still be able to cleanup items by targeting them via standard KQL queries. Here's the relevant documentation: https://learn.microsoft.com/en-us/purview/priority-cleanup-onedrive-sharepoint

    And also my take on the feature: https://michev.info/blog/post/6927/priority-cleanup-for-sharepoint-online-and-onedrive-for-business

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.