Fix Power Automate Error: Cannot Share Any More Items in This Drive
Question details
The user needs to resolve an issue where a Power Automate flow fails to create new sharing links.

- Product
- Microsoft Power Automate and OneDrive
- Device & OS
- not provided
- Scenario
- Running an automated flow to generate anonymous file-sharing links for documents stored in OneDrive.
- Observed behavior
- The flow stops executing and displays the error message "Cannot share any more items in this drive" because the OneDrive account has reached its link or sharing limit.
Before modifying your flow, log into your Microsoft 365 admin center to ensure your organization's tenant sharing policies have not been recently restricted, and check your overall OneDrive storage capacity.
Remove or Expire Unnecessary Sharing Links
Manually clear out old sharing links in your OneDrive to free up capacity for the Power Automate flow.
OneDrive enforces limits on the total number of unique sharing permissions. If your flow constantly generates non-expiring anonymous links, the drive will eventually hit this cap.
Log in to your OneDrive account through a web browser and click on the 'Shared' tab in the left-hand navigation pane.
Select the 'Shared by you' option to view all files and folders that currently have active sharing links.
Click the 'More options' (three dots) icon next to a file or folder that no longer requires anonymous access, and select 'Manage Access'.
Under the 'Links Giving Access' section, find the anonymous links and click the trash can icon to remove them, freeing up space for new flow-generated links.

Consult the Microsoft Power Automate Community
Reach out to the official community forums for specialized assistance if the problem persists after clearing old links.
Manage and Share Documents Easily with WPS Office
If you frequently encounter strict sharing limits or complex flow configurations with Microsoft tools, consider switching to WPS Office. It provides a lightweight, unified platform for document creation, cloud storage, and hassle-free, secure file sharing.
- 1. Download WPS Office: Visit the official WPS website to download and install the free software on your device.
- 2. Sign In to WPS Cloud: Create or log in to your account to activate your free WPS Cloud storage space.
- 3. Open Your Documents: Open your existing Microsoft Office files seamlessly without worrying about formatting issues.
- 4. Share Easily: Use the built-in 'Share' button in the top right corner to generate secure, customizable document links in seconds.

Frequently Asked Questions
What causes the 'Cannot share any more items in this drive' error?
This error is triggered when a OneDrive account reaches its maximum threshold for unique sharing permissions or anonymous links. Automated workflows like Power Automate can quickly exhaust this limit if they generate thousands of non-expiring links.
Can I automatically delete expired links using Power Automate?
Yes. You can enhance your Power Automate flow by adding steps that revoke access or delete specific sharing links after a set period, preventing your drive from reaching its sharing capacity.
Why does the flow work for some folders but fail for others?
The sharing limit is enforced at the drive or site level. If a specific OneDrive account or SharePoint site has accumulated too many active anonymous links from past automated runs, any new link generation within that specific drive will fail, even if the files themselves are new.




