Error Item not found in get WorkSheets

chen liao 96 Reputation points

when I using "GET /me/drive/items/{id}/workbook/worksheets" throws error; I get the following error :


I want to ask a Answer,thank you

Microsoft Graph Workbooks API
Microsoft Graph Workbooks API
A Microsoft API that allows web and mobile applications to read and modify Excel workbooks stored in OneDrive for Business, SharePoint site or Group drive.
66 questions
{count} votes

Accepted answer
  1. chen liao 96 Reputation points

    Files.ReadWrite is exist.

    may be the issue is I use the /users/{user id} api endpoint.

    I only use the /me/...?

1 additional answer

Sort by: Most helpful
  1. CarlZhao-MSFT 23,766 Reputation points

    This is an error caused by your use of the /users endpoint, don't use the /users/{user id} api endpoint, because the /users context is currently not supported. You can only use the /me endpoint, and then you need to use the authorization flow that obtains the token in the delegation scenario, such as the auth code flow or ROPC flow, cannot use the client credential flow.

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

    0 comments No comments