Retention labels can be applied to items in SharePoint and OneDrive for Business programmatically today using CSOM and REST APIs. To offer more flexibility with our products and a more scalable solution, we’re excited to introduce these 4 new Microsoft Graph APIs:
- Set (apply) a retention label to items in SharePoint and OneDrive for Business
- Get metadata information for the retention label applied to an item
- Remove the retention label from the item
- Lock and unlock record labels (records versioning)
This message is associated with Microsoft 365 Roadmap ID 145118
[When this will happen:]
Preview: We will begin rolling out these changes to Microsoft Graph API beta in early September and should be fully available to customers by mid-September.
Standard Release: We will begin rolling out to Microsoft Graph API v1 in early October and should be fully available to customers by mid-October.
[How this will affect your organization:]
If you are using CSOM or REST APIs to apply and manage retention labels, we recommend using these new Graph APIs instead.
[What you need to do to prepare:]
No action is needed; however, you may want to communicate this new feature to the team responsible for Data Lifecycle and Records Management at your organization.