About SharePointAPI “GET /me/drive/sharedWithMe".

Ayase Morita 80 Reputation points
2025-02-07T09:06:52.65+00:00

https://learn.microsoft.com/ja-jp/graph/api/drive-sharedwithme?view=graph-rest-1.0&tabs=http

I would like to know what queries can use “GET /me/drive/sharedWithMe” in GraphAPI.

As far as I can tell, the top, search, orderby, and count queries are not available.

I would like to know more about this and what queries can and cannot be used.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,022 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.
3,278 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 45,181 Reputation points
    2025-02-07T10:32:37.85+00:00

    Hi @Ayase Morita

    This endpoint does not yet support using OData system query options to customize the response. It only supports the ?allowexternal=true parameter to get drive items that include shared from external tenants.

    GET /me/drive/sharedWithMe?allowexternal=true
    

    Hope this helps.

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

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.