{"id":15835,"date":"2023-10-20T06:18:28","date_gmt":"2023-10-20T13:18:28","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=15835"},"modified":"2024-02-09T06:15:56","modified_gmt":"2024-02-09T14:15:56","slug":"retirement-of-older-sharepoint-file-services-versions","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/retirement-of-older-sharepoint-file-services-versions\/","title":{"rendered":"Retirement of older SharePoint file services versions"},"content":{"rendered":"<p>We are retiring older file services versions in October 2023. These older APIs are replaced by Microsoft Graph Drives and DriveItems. We encourage everyone to migrate their applications.<\/p>\n<p><strong>After April 2024<\/strong>, there will be no guarantees that these APIs will continue to function.<\/p>\n<p>It is likely you are not using these APIs as they were never documented but please check the list below to see if you are impacted and follow the links for more information on transitioning to modern replacements.<\/p>\n<h3>_api\/web\/defaultdocumentlibrary\/files<\/h3>\n<p>This API provides a short-cut method to access the default document library\u2019s files. As an alternative, use <a href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/onedrive?view=graph-rest-1.0\">Microsoft Graph<\/a>.<\/p>\n<p><code>https:\/\/graph.microsoft.com\/v1.0\/sites\/{site id}\/drive<\/code><\/p>\n<p>Note: \u201c<code>_api\/web\/defaultdocumentlibrary<\/code>\u201d remains undeprecated and fully supported.<\/p>\n<h3>_api\/beta\/files<\/h3>\n<p>This API is an old implementation of file access within SharePoint and is no longer required. As an alternative, use <a href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/onedrive?view=graph-rest-1.0\">Microsoft Graph<\/a>.<\/p>\n<p><code>https:\/\/graph.microsoft.com\/v1.0\/drive\/{drive id}<\/code><\/p>\n<p><code>https:\/\/graph.microsoft.com\/v1.0\/sites\/{site id}\/drives<\/code><\/p>\n<h3>_api\/v1.0\/files<\/h3>\n<p>This API is an old implementation of file access within SharePoint and is no longer required. As an alternative, use <a href=\"https:\/\/learn.microsoft.com\/graph\/api\/resources\/onedrive?view=graph-rest-1.0\">Microsoft Graph<\/a>.<\/p>\n<p><code>https:\/\/graph.microsoft.com\/v1.0\/drive\/{drive id}<\/code><\/p>\n<p><code>https:\/\/graph.microsoft.com\/v1.0\/sites\/{site id}\/drives<\/code><\/p>\n<p>Review your solutions to see if you are impacted and make any necessary adjustments to your applications. The modern Graph APIs will provide a better, documented experience.<\/p>\n<p>Find more information in the <a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/dev\/\">SharePoint Developer documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are retiring older SharePoint file services versions in October 2023. These older APIs are replaced by Microsoft Graph Drives and driveItems.<\/p>\n","protected":false},"author":128874,"featured_media":15841,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,166],"tags":[146,162],"class_list":["post-15835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-sharepoint","tag-microsoft-graph-api","tag-sharepoint"],"acf":[],"blog_post_summary":"<p>We are retiring older SharePoint file services versions in October 2023. These older APIs are replaced by Microsoft Graph Drives and driveItems.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/15835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/128874"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=15835"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/15835\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/15841"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=15835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=15835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=15835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}