Hi @JD It looks like you're running into an issue where your Content Search isn't returning any results based on the Compliance Asset ID, even though you've already created a retention event. Here are a few things to check that might help troubleshoot the problem:
Compliance Asset ID Assignment Since you mentioned you're able to see the correct Compliance Asset ID on items in SharePoint, that’s a good start. Just make sure it's applied in a way that’s searchable ideally through a metadata field that can be indexed.
Content Search Syntax When running a Content Search, make sure you're using the correct syntax. You can use either of the following formats:
-
ComplianceAssetId:Project2025End30D
-
ComplianceAssetId:"Project2025End30D"
Both work, but the version with quotes is safer especially if your Asset ID includes spaces or special characters. Double-check for typos, smart (curly) quotes, or extra spaces even small formatting mistakes can prevent results from appearing.
- Data Sources You've mentioned all SharePoint sites are already included in your Data Sources, which is great. Still, it's worth confirming that the specific content you're targeting is within those scopes and has been indexed properly.
- Event and Label Configuration Make sure the event you created is using the exact event type that your retention label expects. If there’s a mismatch, even a small one, items won’t be picked up when the event is triggered.
- Indexing & Processing Time There can be a delay after creating the event. Microsoft notes it can take up to 7 days for the event-based retention to fully take effect and start processing the relevant items.
- Custom Properties If you're testing with a custom property (like a managed property or refinable string), make sure it's properly indexed and searchable. These properties need to be mapped correctly and tested with the right query syntax.
- Disposition Review Even if Content Search and Event Status show zero items, if items appear in the Pending Disposition Review (e.g., 2 items), that confirms the retention is working.
References:
https://learn.microsoft.com/en-us/purview/event-driven-retention#how-to-set-up-event-based-retention
Following up to see if the above answer was helpful. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.