[Graph / one drive API] Create Link endpoind problem

Elyes Hachem 96 Reputation points
2021-11-05T13:36:21.177+00:00

Hello community,

I am developing an application that upload files into SharePoint and OneDrive using the Graph API.
99% of the endpoints I am using are in the V1 version of the API.

I only need 1 endpoint that is still in beta.
The Create Link endpoint :
POST /groups/{groupId}/drive/items/{itemId}/createLink ==> For SharePoint
POST /me/drive/items/{itemId}/createLink ==> For OneDrive

I have 2 questions :
1 - When does the V1 endpoint will be similar to the preview endpoint ?
The preview endpoint is able to share file to external users and even block blockdownload
2 - When will you fix it. Few weeks ago the preview endpoint was working properly but now when you share a sharepoint file to external identities, you receive this error :
146875-image.png
When you share a file on onedrive you don't have an error but you cannot share blocking the download.

I would appreciate if someone from Microsoft could help me.

Thank you for your time and help.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,506 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,657 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful