Anyone link SharePoint

Anonymous
2022-12-06T21:20:00.58+00:00

I have noticed that SharePoint sometimes records a user as "anonymous" when an anyone link is used but on occasion will identify a user as "urn:spo:anon#<randomstring>".

What is this random string and why/how is it being created?

It seems like it is a Session ID? How does SharePoint create this string and associated it with different actions?

I've seen the same random string associated with different identifiers, such as IP address and SharePoint site.

As an example. The same "urn:spo:anon#<randomstring> will be associated with multiple IP addresses and multiple SharePoint sites over the course of several weeks.

Thanks in advance!

Microsoft 365 and Office | SharePoint | For business | Windows

Answer accepted by question author
Xyza Xue_MSFT 30,336 Reputation points Microsoft External Staff
2022-12-08T02:46:48.153+00:00

Hi @Anonymous ,
You may see logins with anonymous or an account that starts with urn:spo:anon. This can happen when a user clicks on an anonymous link, a user ID will be automatically generated by Microsoft. This user starts with “urn:spo:anon#”.
This situation typically occurs when someone in the organization has shared 365 files publicly and anonymously and someone external is accessing that content. Microsoft logs this access as anonymous, so we cannot provide any additional details on the actual user or account that performed this anonymous activity.
Reference: https://support.blackpointcyber.com/article/63-365-defense-security-events
The same "urn:spo:anon#<randomstring> will be associated with multiple IP addresses and multiple SharePoint sites over the course of several weeks.
This means that the same anonymous user visited multiple SharePoint sites on different devices.
If you don't want this to happen, you can consider disabling anonymous public sharing to stop these types of alerts.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2022-12-07T13:51:11.427+00:00

    Hello @Xyza Xue_MSFT

    Thank you for your question.

    I was conducting SharePoint auditing and located the user identity. It seems as if SharePoint is tracking an anyone link based on some data points, I just haven't determined what data points. I attached a screenshot with what I've located. The only thing blocked out of the shot is the actual site, everything else is raw data pulled from the audit logs.

    As you can see, the dates stretch several days and there are different IP addresses, but SharePoint is associating the activity with the same anonymous user ID.

    268157-clientblockout.png

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.