MS OneDrive Business icon

MS OneDrive Business

Access MS OneDrive for Business and SharePoint

Folder → Search

AI-generated

Summary

Search folders

Inputs

  • driveType — Type of drive to access: User Drive, SharePoint Site Drive, or Shared Folder (Link).
  • sharedLinkUrl (required) — Paste the sharing link of the shared folder (right-click → Share → Copy link in OneDrive/SharePoint).
  • userId — User email or ID. If empty, uses the authenticated user.
  • siteId (required) — The SharePoint site to access.
  • folderSharingUrl (required) — Paste the sharing link copied from OneDrive or SharePoint ("Share → Copy link").
  • query (required) — Search query string.

Output shape

a list of folder items

May return up to 100 items; only folders are returned; includes Graph API fields such as id, name, webUrl, and other metadata.

Examples

Example 1: Search a folder that was shared via a link

Set Drive Type to Shared Folder (Link), provide the Sharing Link, and enter a Search Query.

Example 2: Search within a SharePoint site

Select the SharePoint Site, optionally provide a User ID, set Drive Type to SharePoint Site Drive, and enter a Search Query.

Example 3: Search the authenticated user's OneDrive

Leave User ID empty, keep Drive Type as User Drive, and enter a Search Query.

Links

Discussion