Share via

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 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.