Set up the microsoft-365 integration.
Detect when a user creates an anonymous link for a Microsoft 365 document in OneDrive. This would allow any unauthenticated user to access this document, if they had the link.
This rule monitors the Microsoft 365 logs for the event name AnonymousLinkCreated
.