This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

OneDrive Bulk Share Link Generator

Productivity · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryProductivity
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

OneDrive Bulk Share Link Generator solves a common file sharing challenge: generating shareable links for multiple OneDrive files is tedious when done one at a time. While OneDrive allows sharing individual files via the "Share" button, there is no native way to generate share links for many files simultaneously. This tool reads your current OneDrive folder view, detects all visible files and folders, and displays them in a scrollable checklist with names, types, sizes, and sharing status. You select the files you want to share, choose a link type (View, Edit, or Anyone with link), and click "Generate Links." The tool then processes each selected file sequentially through Microsoft Graph API, creating a share link for each. Generated links appear in a scrollable list with individual copy buttons, and you can copy all links at once. A preview shows your selection and link type before you generate.

WHERE IT RUNS

This extension panel runs directly inside your browser as an overlay on any OneDrive folder view. It works on the main file listing, subfolders, and shared views. The tool detects files from the page's DOM and uses Microsoft Graph API (via GM_xmlhttpRequest) for share link generation. It requires no additional API keys beyond your existing authenticated session — the tool extracts your access token from the page.

HOW TO USE

After installing the BotGentz extension and activating OneDrive Bulk Share Link Generator, navigate to any OneDrive folder view. Click the extension icon in your browser toolbar to open the panel. The tool automatically detects all files and folders displayed in the current view. Each item appears with a file icon and name alongside a checkbox — shared files show a link icon (🔗) while unshared files show a document icon (📄). Use the "Select All" toggle or individually check items. Next, choose your link type from the dropdown: View (read-only access), Edit (read-write access), or Anyone with link (public sharing). The preview section shows how many files are selected and the chosen link type. Finally, click "Generate Links." The tool processes each file with a 500ms delay, showing progress as each link is generated. Generated links appear in the "Generated Links" section with individual copy buttons. You can copy all links to your clipboard at once using the "Copy All Links" button.

TECHNICAL OPERATION — Microsoft Graph API Link Creation

This tool combines DOM-based file detection with API-based link generation for reliability. It first scans the page for file elements using selectors like `[data-file-id]`, `.file-item`, and `[role="row"]`, extracting file IDs and names. For link generation, the tool constructs a POST request to Microsoft Graph's `/me/drive/items/{fileId}/createLink` endpoint. The payload includes `type` (view, edit, or embed) and `scope` (for "anyone" links). The tool extracts the user's access token from the page's scripts, meta tags, or cookies, and includes it in the Authorization header. The API returns a JSON response containing the share link in the `link.webUrl` field. This approach is more reliable than DOM-based simulation because it works independently of OneDrive's UI structure, supports proper error handling with HTTP status codes, and can handle large numbers of files efficiently without triggering UI event delays. The generated links are displayed in a scrollable list with individual copy buttons and a bulk copy option.

THE PANEL

The extension panel is fully draggable and remembers its position per site session. It snaps to the nearest edge of the browser viewport when dragged within 50 pixels of any side. You can collapse the panel to a compact title bar using the minimize button, preserving your selection state. The panel resizes vertically by dragging the bottom edge. Press the Escape key to close the panel instantly without losing your file selection. The preview updates in real-time as you select files or change link types.

PLEASE NOTE

This tool requires the free BotGentz extension to function. The script uses Microsoft Graph API and requires your OneDrive session to be authenticated. It does not store, transmit, or log any file data, link information, or user activity. All API requests are made locally from your browser session. Microsoft Graph API has rate limits; the tool uses a 500ms delay between generations to avoid rate limiting. The tool relies on extracting your access token from the page, which may expire if your session times out. OneDrive may update its DOM structure over time, which could affect file detection; we monitor and release compatibility updates as needed. Generated share links are valid based on the permissions set and may expire depending on your organization's sharing policies.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.