Change to https://graph.microsoft.com/v1.0/shares/{encodedUrl}/driveItem

Stephanie Laurent 1 Reputation point
2022-05-06T17:14:09.64+00:00

Good day @SrinivasaRaoDarnaMSFT-7657

We have seen a change in the https://graph.microsoft.com/v1.0/shares/{encodedUrl}/driveItem endpoint that happened around April 28/29th. We were not able to retrieve information on a document library and do not see any information on such a change in the changelog. Can you confirm what happened there? Please see log of a successful call and quickly thereafter a call that failed. Calls kept on failing from then on. We had to make an emergency change to our logic.

199802-image.png

Thanks
Stephanie

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,388 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,711 Reputation points Microsoft Vendor
    2022-05-10T13:32:28.05+00:00

    Hi @Stephanie Laurent ,

    Based on my test, shares-get-driveItem API working fine in my lab test. Don't have visibility to what changes have been made on this API on certain date.

    Here is my test for the GET /shares/{shareIdOrUrl}/driveItem.

    200675-839792-0.jpg

    Also, from the attached screenshots you are using 2 different API's not the same endpoint.

    200682-839792-1.jpg

    References: shareddriveitem

    Hope this helps,

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".