You click a shared library shortcut in OneDrive for the web and nothing happens, or you see an error message instead of the library contents. This problem typically occurs when the shortcut points to a SharePoint document library that the user no longer has permission to access, or when the shortcut itself has become corrupted or disconnected from its target. This article explains the root cause of this failure, provides step-by-step methods to fix the shortcut, and covers related issues such as missing shortcuts or permission errors.
Key Takeaways: Fixing Shared Library Shortcuts in OneDrive for Web
- OneDrive for Web > Shared libraries > Shortcut target URL: Verify the target library URL by right-clicking the shortcut and inspecting its properties.
- OneDrive sync app > Settings > Account > Unlink this PC: Use unlinking and re-linking to refresh all shortcuts and cached permissions.
- Microsoft 365 admin center > SharePoint > Site permissions: Check that the user has at least Read access to the target SharePoint site.
Why OneDrive Web Cannot Open a Shared Library Shortcut
A shared library shortcut in OneDrive for the web is a link to a SharePoint document library that has been added to your OneDrive. When you click the shortcut, OneDrive attempts to navigate to the target library. If the shortcut fails, one of three things has happened.
First, the user account may have lost permission to the target SharePoint site. This can occur if the site owner removed the user from the site members group, or if the library was moved to a different site collection. Second, the shortcut itself may be broken because the target library was deleted or renamed. Third, a browser cache or authentication token issue can prevent the web interface from resolving the shortcut correctly.
The shortcut is stored as a special item in your OneDrive. It contains a reference to the target library’s URL and a unique identifier. When this reference becomes stale, the web interface shows a blank page, a redirection loop, or an error message such as “We can’t open this library” or “Something went wrong.”
Steps to Fix a Broken Shared Library Shortcut
Follow these methods in order. Stop when the shortcut works again.
- Refresh the browser and sign out and back in
Press Ctrl+F5 on Windows or Cmd+Shift+R on Mac to perform a hard refresh of the OneDrive web page. Then click your profile picture in the top-right corner and select Sign out. Close all browser tabs, reopen the browser, sign in again at https://onedrive.live.com, and try the shortcut. - Clear browser cache and cookies for Microsoft domains
Open your browser settings. In Chrome, go to Settings > Privacy and security > Clear browsing data. Set the time range to All time. Check Cookies and other site data and Cached images and files. Click Clear data. Restart the browser and sign in again. - Check the shortcut target URL directly
Right-click the shared library shortcut in OneDrive for the web. Select Copy link. Paste the link into a new browser tab. If the target library opens correctly, the shortcut itself is fine and the issue is with the OneDrive interface. If the target library shows a permission error, proceed to the next step. - Verify user permissions on the target SharePoint site
Go to the SharePoint site that hosts the library. Click the gear icon and select Site permissions. Check that your account appears in the list of site members or visitors. If you are not listed, contact the site owner to request access. After access is granted, return to OneDrive for the web and click the shortcut again. - Remove and re-add the shortcut
In OneDrive for the web, right-click the broken shortcut and select Delete. Navigate to the target SharePoint library directly. Click the three dots menu and select Add shortcut to OneDrive. A new shortcut appears in your OneDrive. Confirm that the new shortcut opens correctly. - Unlink and relink your OneDrive account in the sync app
Open the OneDrive sync app on your computer. Click the OneDrive icon in the system tray, select Help & Settings, then Settings. Go to the Account tab and click Unlink this PC. Confirm the action. Restart the sync app and sign in again. This refreshes all cached shortcuts and permissions across the web and desktop clients.
If OneDrive Web Still Cannot Open the Shortcut
Shortcut shows a red X or gray icon
A red X on a shortcut icon means the target is not accessible. Follow step 4 above to check permissions. If permissions are correct, the target library may have been moved or deleted. Ask the site owner to confirm the library still exists at the original URL.
Shortcut opens an empty library
An empty library means the shortcut resolves but the user sees no files. The user may have been given access to the site but not to the specific library. In SharePoint, go to the library settings and check that the user has at least Read permission on the library itself, not just the site.
Shortcut redirects to a login page repeatedly
A redirect loop indicates an authentication token problem. Clear all browser cookies for login.microsoftonline.com and sharepoint.com. Then sign out and sign back in. If the issue persists, try using a private or incognito browser window to rule out extension conflicts.
Shortcut is missing from OneDrive for the web
If a shared library shortcut disappears from your OneDrive, the site owner may have revoked your access. Check your email for a notification about removed access. To restore the shortcut, go to the SharePoint library directly and use Add shortcut to OneDrive again.
Shared Library Shortcut vs Direct SharePoint Access: Key Differences
| Item | Shared Library Shortcut | Direct SharePoint Access |
|---|---|---|
| Location | Appears inside OneDrive for the web and sync client | Accessed through SharePoint site URL or Teams tab |
| Permission requirement | User must have at least Read access to the target SharePoint library | Same permission level is required |
| Sync behavior | Can be synced to Windows or Mac via OneDrive sync app | Requires manual sync setup or Add shortcut to OneDrive |
| Offline access | Files are available offline if the shortcut is synced | Files are available only when online unless synced separately |
| Shortcut breakage | Can break if target is moved, deleted, or permissions change | No shortcut to break; direct URL always resolves if permissions are valid |
Shared library shortcuts provide convenient access to SharePoint content from within OneDrive. However, they rely on a persistent link that can become invalid when the target library changes. Direct SharePoint access avoids this issue but requires navigating to the site separately.
After following the steps above, you should be able to open the shared library shortcut in OneDrive for the web. If the problem continues, check that the target library has not been deleted and that your account has the correct permissions. As an advanced tip, you can use the SharePoint REST API endpoint https://yourtenant.sharepoint.com/_api/web/GetListUsingPath(DecodedUrl='library-url') to verify the library exists and return its internal ID, which can help administrators diagnose shortcut issues faster.