information management policy in SharePoint online

waaromikniet 101 Reputation points
2022-10-31T10:53:20.28+00:00

I am trying to get information management policy to work in one of my site collections in my dev tenant. I have configured a contenttype with a retention policy to move documents to a document center. My documents get expire dates when I look at them with:

/sites/dev/_api/web/lists/GetByTitle('Documents')/Items(5)/FieldValuesAsText

<d:OData__x005f_dlc_x005f_ExpireDate>10/21/2022 5:18 AM</d:OData__x005f_dlc_x005f_ExpireDate>

I know you can monitor the 2 timer jobs that are needed for information management policy with some properties on the web object.

So I navigate to [https://mytenant.sharepoint.com]/sites/dev/_api/web/allproperties

<d:dlc_x005f_policyupdatelastrun>2/24/2021 11:06:44 PM</d:dlc_x005f_policyupdatelastrun>
<d:dlc_x005f_expirationlastrun>6/18/2020 11:07:48 PM</d:dlc_x005f_expirationlastrun>

As you can see the timerjobs haven’t run for quite a while. However, my documents do get expire dates. I also see these properties.

<d:dlc_x005f_policyupdatelastrunv2>10/21/2022 10:15:18 PM</d:dlc_x005f_policyupdatelastrunv2>
<d:dlc_x005f_expirationlastrunv2>10/27/2022 7:01:07 PM</d:dlc_x005f_expirationlastrunv2>

Those timerjobs seem to run weekly. But they have no effect.

Does information management policy n o longer work in SharePoint online? Or am I missing something?

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,481 Reputation points Microsoft External Staff
    2022-11-01T02:36:38.88+00:00

    Hi @waaromikniet
    Information management policies still work in sharepoint online. You can set up a policy to control how to track documents and how long to retain documents by administrator permission. To set up information management policy, you will need E5 customer license. If you're not an E5 customer, you can try all the premium features in Microsoft Purview for free. Use the 90-day Purview solutions trial to explore how robust Purview capabilities can help your organization manage data security and compliance needs. Please refer to the following steps in the document to set your information management policy.

    https://learn.microsoft.com/en-us/microsoft-365/compliance/create-info-mgmt-policies?view=o365-worldwide


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

  2. waaromikniet 101 Reputation points
    2022-11-01T02:40:44.267+00:00

    I am using a dev tenant with license: Microsoft 365 E5 Developer (without Windows and Audio Conferencing)
    So this should work?
    I have set up the policy . expire dates are set but expiration policy is not working.

    0 comments No comments

Your answer

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