logo
search
OneDrive File Issues

How to Search OneDrive Mobile Files Programmatically by File Name

Ayan MasoodAyan Masood Oct 12, 2026 869 views

Question details

The user wants to automatically filter or search for specific files using wildcard queries or URL parameters based on file names (like record IDs) on a mobile device.

How to Search OneDrive Mobile Files Programmatically by File Name
Product
OneDrive
Device & OS
iOS
Scenario
Attempting to use query strings or cloud-style wildcards to programmatically filter a list of files within the OneDrive mobile app or via iPhone local search.
Observed behavior
The OneDrive mobile app and iPhone local search do not support programmatic query strings, URL filtering, or cloud-style wildcard searches, requiring manual keyword searches instead.
Before you start

Determine whether the files you need to search are stored locally on your iPhone or hosted online, as cloud queries and local device searches require entirely different automation approaches.

Solution 1Recommended

Use Manual Keyword Search via the OneDrive App or Web

Since query strings and URL parameters are not supported natively in the mobile app, utilize standard keyword searching to locate files.

The OneDrive mobile app is designed for manual user input rather than programmatic URL filtering. To find specific files such as those containing a record ID, you must rely on standard keyword search functions either in the app or via a mobile browser.

1
Open OneDrive

Launch the OneDrive mobile app on your iPhone or navigate to OneDrive for Business using your mobile web browser.

2
Access the search function

Tap the search icon (magnifying glass) located at the top of the screen.

3
Enter precise keywords

Type the exact file name or specific record ID into the search bar. Avoid using wildcards (like asterisks), as the mobile app matches standard alphanumeric text.

Use Manual Keyword Search via the OneDrive App or Web
Browser Alternative: Using OneDrive for Business through Safari or Chrome on your mobile device may offer a more robust search experience compared to the standalone iOS app.
Free Microsoft Office alternative

Organize and Edit Your Documents Seamlessly with WPS Office

If you are frustrated by the search limitations of the OneDrive mobile app, consider switching to WPS Office. It provides an intuitive, built-in file manager for your documents and is a powerful, lightweight alternative for all your office tasks.

  1. 1. Download the app: Get WPS Office for free from the Apple App Store or Google Play Store.
  2. 2. Access your files: Open the app and use the integrated file manager to quickly search and organize your local and cloud documents.
  3. 3. Edit with ease: Open Word, Excel, or PowerPoint files instantly and enjoy full formatting compatibility.
Free, lightweight, and easy-to-use alternative to Microsoft OfficeFully compatible with Microsoft Office formats including DOCX, XLSX, and PPTXBuilt-in robust file manager to easily locate and organize mobile documentsSeamless cross-platform syncing across iOS, Android, Windows, and Mac
microsoft office alternative - wps office

Frequently Asked Questions

Can I use wildcard characters to search in the OneDrive mobile app?

No, the OneDrive mobile app and iPhone Spotlight search do not support cloud-style wildcard queries (such as using an asterisk). You must search using exact or partial alphanumeric keywords.

Why doesn't my URL parameter filter files in OneDrive on iOS?

The mobile version of OneDrive currently lacks the capability to read query strings or URL parameters to open a filtered file listing programmatically. It requires manual keyword entry.

Does Power Automate work for finding local files on my iPhone?

No. Power Automate on a mobile device is designed to connect to online services and cloud data. It cannot be used to programmatically search or manipulate files stored locally on your iOS device.

How can I automate file searches locally on my iPhone?

For local iOS file automation, it is recommended to use Apple's native Shortcuts app. You can create custom workflows using file retrieval actions. If you need advanced assistance, contacting Apple Support is recommended.