sharepoint
Get all drives accessible to the user.
This exhaustively walks the Microsoft Graph drive discovery surfaces that are relevant for the current user:
- GET /me/drive: https://learn.microsoft.com/graph/api/drive-get
- GET /me/drives, GET /groups/{id}/drives, GET /sites/{id}/drives: https://learn.microsoft.com/graph/api/drive-list
- GET /me/drive/sharedWithMe(): https://learn.microsoft.com/graph/api/drive-sharedwithme
- GET /me/joinedTeams: https://learn.microsoft.com/graph/api/user-list-joinedteams
- GET /sites?search=*: https://learn.microsoft.com/graph/api/site-search
- Group-backed library metadata uses the Microsoft Graph group visibility and resourceProvisioningOptions properties: https://learn.microsoft.com/graph/api/resources/group https://learn.microsoft.com/graph/group-set-options
- Search requests discover matching group-backed libraries with GET /groups?$search="displayName:..."&$top=20 plus ConsistencyLevel: eventual before fetching GET /groups/{id}/drives: https://learn.microsoft.com/graph/search-query-parameter
get/api/v1beta/integrations/sharepoint/all-drives
Request
- The document declares no server URL.
- Auth: bearer_auth (a scheme the document does not define)
Query parameters
querystring
Optional Drive/site search query used to filter the returned drives by drive title or site name. If empty or omitted, wildcard search is used for site discovery and no filtering is applied.
Response
List of accessible drives
Changes
No recorded changes to this operation across all 51 revisions of this API.