🎉 Our Microsoft 365 Reporting & Management Tool is available in Marketplace 🚀
SharePoint Online

How to Find All Sharing Links in the SharePoint Online

Shared links in SharePoint Online play a key role in collaboration by enabling external sharing with anyone. However, if left unmonitored, they can lead to unauthorized access and potential data exposure. Monitoring these links is not just about maintaining control; it is also critical for meeting compliance requirements. This guide shows how to generate detailed reports on shared links in SharePoint Online to help secure and manage external access effectively.

Microsoft 365 tools

Monitor All Shared Links in SharePoint Online to Prevent Data Leakage

AdminDroid's SharePoint Online reporting tool helps you stay informed about all sharing activities and their associated shared links within your organization. It offers detailed reports on the creation, deletion, and usage of all shared links to better control access to sensitive documents.

Visualize All Shared Links with Interactive Dashboard

Use the shared links overview dashboard to track all shared link details and gain a complete view of usage trends, external collaboration, access risks, and more.

Monitor Expired Sharing Links in SPO for Enhanced Data Governance!

Identify all expired sharing links in SharePoint Online to manage outdated access permissions, perform effective cleanup, and enhance data security.

Investigate Every Anonymous Link Events in SharePoint Online

Audit all anonymous link events in SharePoint Online to uncover unnoticed link creation and sharing activities to ensure secure Microsoft 365 collaboration.

Prevent Unauthorized Access with the External Sharing Summary Report

Track the external file sharing summary report to gain clear insights into what external users access, when, and how to protect sensitive data.

Analyze Daily Sharing Link Activities to Detect Unusual Access Patterns

Get a clear view of daily sharing link activity in SharePoint Online to identify access patterns, detect unusual behavior, and prevent oversharing in the organization.

Audit All Events Related to Secure Links in SharePoint Online

Track all SharePoint Online secure link events to ensure only intended recipients access the SPO files and revoke access for unauthorized users.

Explore a full range of reporting options

Important Tips

Configure tenant-level sharing settings in the SharePoint admin center such as default expiry dates for 'Anyone' links to prevent prolonged anonymous access.

Limit domain sharing in SharePoint Online to allow sharing links only with trusted domains and block external access from other tenants.

Use sensitivity labels and DLP in SharePoint Online to apply access controls to sensitive files and avoid accidental link sharing.

Common Errors and Resolution Steps

The following are the possible errors and troubleshooting hints while getting all shared links in the SharePoint document library.

Error Input string was not in correct format. Failure to parse near offset 149. Expected an ASCII digit.

This error occurs if the Microsoft Entra ID app lacks the required API permissions or if the SharePoint site URL is incorrect while connecting to the PnPOnline PowerShell module.

Fix Add the required API permissions to the Microsoft Entra ID app and grant admin consent. Then verify and update the correct SharePoint site URL before reconnecting.

Error List '<list name>' does not exist at site with URL '<Site Url>'.

This error occurs when the specified list name does not exist at the given SharePoint site.

Fix Ensure you entered the correct list name. You can run the following cmdlet to get all available SharePoint lists in the site.
Get-PnPList | Select Title  

Error WARNING: Please specify a valid client id for an Entra ID app registration.Connect-PnPOnline: Specified method is not supported.

The error occurs as system PowerShell needs the -ClientId for app-based authentication with Microsoft Entra ID but it’s missing.

Fix Verify app registration in the Entra admin center, use a valid Client ID and ensure credentials are correct.
Connect-PnPOnline -Url "<SiteURL>" -ClientId "<ClientID"> 

Error Set-SPOSite : You do not have required licenses to perform this operation.

This error occurs when you apply execute block download policy using Set-SPOSite cmdlet without SharePoint Advanced Management (SAM) license.

Fix Purchase SharePoint Advanced Management (SAM) license from the Microsoft 365 admin center and assign it to the required user.
Frequently Asked Questions

Manage All SPO Sharing Links to Enhance Data Protection in Microsoft 365

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs Customer Stories