Is there a way to get the Item Id of a One Drive file given its URL

RmR 5 Reputation points
2023-02-25T07:41:12.84+00:00

If any personal one drive user can see something like this when they open the file (say excel)

https://onedrive.live.com/edit.aspx?resid=
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,266 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,142 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 25,621 Reputation points Microsoft Vendor
    2023-02-27T08:46:22.3366667+00:00

    Hi,

    I suggest you post this issue to OneDrive Developer forum:

    https://techcommunity.microsoft.com/t5/onedrive-developer/bd-p/OneDriveDeveloper

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.