Forum Discussion
Office 365 Groups and Site Policy / Group Life Cycle
Thanks for this. I don't think this would meet the requirement for example, I have Project A and Project B sites. Project A needs to be closed on 15 December 2018 and Project B on 20 June 2018. If I create a policy with a custom date for 15 December 2018, Project B wont receive a renewal email until 20 November whereas this group should have been closed by 20 June. Hope this make sense!
This was possible through Site Policy, but apparently group expiration can only allow you to set one custom date and only one policy per tenant. Graph API seems to suggest that you can create multiple policies https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/grouplifecyclepolicy_addgroup
But I get an error: "message": "Error in validating lifecycle manangement policy. Error: Tenant already has maximum allowed 1 policy(s).",
Not 100% about this, but it's possible that Azure Information Protection (AIP) licensing is needed for the policy you're trying to create, and by default it allows the single policy per tenant. This guess is based on the understanding that it will be possible to apply AIP Labels (where a label is basically the Display Name of a policy) to content anywhere in M365 - Exchange, OneDrive, SPO, etc. There is already a fair bit of documentation available on the topic, including a roadmap for availability of labels in SPO, which I presume will by extension apply to groups.
Cheers,
-Eli.