How to access shared file via Graph API?

Himanshu Garg 46 Reputation points Microsoft Employee
2022-11-13T12:31:37.767+00:00

Hi,

I have shared a excel file with another user and now the other user wants to make changes in this file via Graph API. We both are using personal microsoft accounts. Is it possible to do so and how, if yes?

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,491 Reputation points
    2022-11-13T13:37:18.56+00:00

    Hi Himanshubhai,

    You can check this page and the set of commands to update excel via the API, excel

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.


  2. Srinivasa Rao Darna 6,761 Reputation points Microsoft External Staff
    2022-11-14T15:38:26.37+00:00

    Hello @Himanshu Garg ,

    As per documentation workbook-list-worksheets, OneDrive personal accounts are not supported for workbook APIs.

    260193-image.png

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


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.