What urn:spo:anon Means in SharePoint and OneDrive Audit Logs
Question details
The user wants to understand an urn:spo:anon identifier in a Microsoft 365 audit log and determine how a file was accessed.

- Product
- Microsoft SharePoint, OneDrive, and Microsoft Purview Audit
- Device & OS
- not provided
- Scenario
- A Microsoft 365 audit log records access to or a download of a SharePoint or OneDrive file by an unfamiliar identifier.
- Observed behavior
- The audit record shows urn:spo:anon# followed by a unique value instead of a recognizable signed-in account.
Locate the audit event and note its time, activity, and file path. You may need audit permissions in Microsoft Purview and access to the file's sharing settings.
Review the Anonymous Audit Event and File Sharing Link
Use the audit event and the file's sharing settings to investigate how anonymous access may have occurred.
An identifier beginning with urn:spo:anon# generally represents access without a signed-in account. An “Anyone” link can allow someone with the link to open a file without authenticating.
The identifier alone does not establish who accessed the file or whether the activity was unauthorized.
In the Microsoft Purview portal, open Audit and search around the event time. Open the matching result to review its activity, file path, and available details.
In the event details, look for the operation, timestamp, and client IP address if available. Compare them with expected file-sharing activity; the anonymous identifier does not itself reveal the person's identity.
In SharePoint or OneDrive, locate the file, select it, and open Manage access. Review its links and permissions for an “Anyone” link that could allow access without signing in.
In Manage access, select the unwanted link and remove it using the available link settings. Confirm the change, then share a new link with the intended recipients if needed.

Restrict Anonymous Sharing in SharePoint and OneDrive
Use administrator settings to limit future anonymous sharing when “Anyone” links are not appropriate for your organization.
Work With Shared Office Files in WPS Office
WPS Office is a free, lightweight alternative for working with Office files in a familiar interface. Its format compatibility helps you move existing documents into your workflow, although it does not investigate or change Microsoft 365 audit logs or sharing policies.

Frequently Asked Questions
Does urn:spo:anon mean a file was accessed without signing in?
It generally indicates anonymous access without a signed-in account. An “Anyone” sharing link can permit this type of access.
Can I identify the person from urn:spo:anon alone?
No. The identifier alone does not identify the person. Open the event in Microsoft Purview Audit and review available context, such as the time, operation, and client IP address.
Does an anonymous audit event mean the file was stolen?
Not necessarily. Someone may have used a legitimately shared “Anyone” link. Review the event's operation and the file's sharing settings before drawing a conclusion.
How do I stop an anonymous link from working?
Select the file in SharePoint or OneDrive, open Manage access, and remove the unwanted link. Users may still have access through other links or permissions.
Can administrators prevent new “Anyone” links?
Yes. In the SharePoint admin center, go to Policies > Sharing and choose an external sharing setting that does not allow “Anyone” links. Review affected sites and existing file access after the change.




