Event type
SharePoint Anonymous Link Created
Public File Sharing - Data Exposure Risk
Records SharePoint Online anonymous link creation events where users create publicly accessible sharing links for files or folders, enabling external access without authentication
Overview
What this event covers
Captures SharePoint Online events where users create anonymous sharing links ('Anyone with the link') for files or folders. These links allow unauthenticated access to content, creating potential data exposure risks, especially for sensitive documents in Finance, HR, or Legal sites.
When generated
- ›User shares a file or folder via 'Anyone with the link' option
- ›Anonymous sharing link created for collaboration with external partners
- ›Accidental oversharing of confidential documents
- ›Attacker with compromised account creates links for data exfiltration
- ›Legitimate business sharing for public content
Security relevance
MediumCompliance
Frequency notes
Medium-high frequency in knowledge worker environments (15 events/hour baseline). Business hours show 3x activity as users actively collaborate. Suspicious patterns: anonymous links to Finance/HR/Legal sites, very long expiration dates (30+ days), Edit permissions (vs View-only), and links created outside business hours for sensitive content.
Resources
Docs and tools
Generation
Configuration
- Base frequency
- 15 events/hour
- Time patterns
- business_hours night_hours
- Business hours
- 3.0x
- Night hours
- 1.5x
- Weekend
- 0.8x
Schema
Field definitions
Field reference for this event type — types, requirements, examples, and allowed values.
CreationTime
Timestamp when the anonymous link was created
Source: now() | iso8601
ISO 86012024-12-15T13:29:41ZId
Unique identifier for this audit record
Source: random_guid()
GUIDc6d7e8f9-a0b1-2c3d-4e5f-6a7b8c9d0e1fOperation
SharePoint operation performed
Source: Static value 'AnonymousLinkCreated'
AnonymousLinkCreatedOrganizationId
Microsoft 365 tenant identifier
Source: Derived from organization domain
GUIDb4c5d6e7-8f9a-0b1c-2d3e-4f5a6b7c8d9eRecordType
Office 365 audit log record type (14 = SharePointSharingOperation)
Source: Static value 14
14-
14SharePointSharingOperation - SharePoint and OneDrive sharing activities
ResultStatus
Outcome of the link creation operation
Source: random_choice(['Success', 'Success', 'Success', 'Failed'])
Success-
SuccessAnonymous link created successfully -
FailedLink creation failed (permissions, policy restriction, or validation error)
UserKey
Unique identifier for the user in SharePoint membership format
Source: SharePoint membership format with user email
i:0#.f|membership|{email}i:0#.f|membership|user@contoso.comUserType
Type of user creating the link
Source: Static value 0
0-
0Regular user
Workload
Office 365 service where the operation occurred
Source: Static value 'SharePoint'
SharePointUserId
User principal name of the account that created the link
Source: registry.get_random_user().email
Email/UPNuser@contoso.comClientIP
IP address from which the link was created
Source: random_choice([random_public_ip(), random_private_ip()])
IPv4198.51.100.45ObjectId
Full SharePoint URL to the file or folder being shared
Source: SharePoint URL with site, library, and filename
URLhttps://contoso.sharepoint.com/sites/Finance/Shared Documents/Q4_Financial_Report.xlsxEventSource
Source of the sharing event
Source: Static value 'SharePoint'
SharePointItemType
Type of item being shared
Source: random_choice(['File', 'File', 'Folder'])
File-
FileIndividual file being shared -
FolderFolder being shared (higher risk - multiple files exposed)
ListId
GUID of the SharePoint list/library containing the item
Source: random_guid()
GUIDf1e2d3c4-b5a6-7c8d-9e0f-1a2b3c4d5e6fListItemUniqueId
Unique identifier for the list item
Source: random_guid()
GUIDa1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6dSite
GUID of the SharePoint site
Source: random_guid()
GUIDb2c3d4e5-f6a7-8b9c-0d1e-2f3a4b5c6d7eUserAgent
Browser user agent string
Source: Random modern browser user agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36WebId
GUID of the SharePoint web/subsite
Source: random_guid()
GUIDd3e4f5a6-b7c8-9d0e-1f2a-3b4c5d6e7f8aCorrelationId
Correlation identifier for related operations
Source: random_guid()
GUIDe4f5a6b7-c8d9-0e1f-2a3b-4c5d6e7f8a9bEventData
XML string containing sharing settings (AnonymousLinkType, Expiration)
Source: XML with link type and expiration date
XML<SharingSettings><AnonymousLinkType>View</AnonymousLinkType><Expiration>2025-01-15T13:29:41Z</Expiration></SharingSettings>HighPriority
Indicates if this is a high-priority security event
Source: random_choice(['true', 'false', 'false']) - weighted toward normal priority
truePlatform
SharePoint platform identifier
Source: Static value 'SharePointOnline'
SharePointOnlineSiteUrl
Base URL of the SharePoint site
Source: SharePoint site URL
URLhttps://contoso.sharepoint.com/sites/FinanceSourceFileExtension
File extension of the shared item
Source: random_choice(['xlsx', 'docx', 'pdf', 'pptx', 'zip'])
xlsxSourceFileName
Name of the file being shared
Source: Contextual filename with extension
Q4_Financial_Report.xlsxSourceRelativeUrl
Relative URL path to the file
Source: Relative path within SharePoint
sites/Finance/Shared DocumentsTargetUserOrGroupName
Who can access via the anonymous link
Source: Static value 'Anyone with the link'
Anyone with the linkTargetUserOrGroupType
Type of sharing target
Source: Static value 'Anonymous'
AnonymousUniqueSharingId
Unique identifier for this sharing link
Source: random_guid()
GUIDf7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2cExternalAccess
Indicates if the link was created from outside the corporate network
Source: random_choice(['true', 'false', 'false'])
trueModifiedProperties
Properties showing link settings (type and expiration)
Source: Array with AnonymousLinkType and LinkExpiration
ModifiedProperties[].Name
Property name (AnonymousLinkType, LinkExpiration)
AnonymousLinkTypeModifiedProperties[].NewValue
Link permission type or expiration date
Source: Link type (View, Edit, Review) or ISO date
View-
ViewRead-only access (lowest risk) -
EditRead and write access (higher risk) -
ReviewView and comment access
ModifiedProperties[].OldValue
Previous value (empty for new links)
Source: Empty string