The extensions endpoint on DriveItems

Nicolaas Burgers 0 Reputation points
2024-12-18T23:52:41.3833333+00:00

Functionally it seems that POSTing a payload such as {"extensionName": "<some_unique_name>", "Custom Field": "Custom Value"} to a DriveItem's /extensions endpoint seems to work - it returns a 201, although it also returns a message in the body of the response indicating an internal error.

This endpoint is not mentioned in the documentation though - will it be supported in the future but just hasn't been finalised & documented yet? Or is it something that was supported in the past but has been phased out of the documentation and will eventually be phased out functionally too?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,656 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,221 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,003 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 37,151 Reputation points Microsoft Vendor
    2024-12-19T03:11:02.8933333+00:00

    Hi @Nicolaas Burgers,

    Currently extensionName resource only support to add custom data to users. You could refer to following document

    https://learn.microsoft.com/en-us/graph/extensibility-open-users?tabs=http

    There is no informtion about it will be supported for DriveItem in the future. We will continue to pay attention to this API and notify you in time if there is any updates.


    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.


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.