MP.AIGOV.1049 Agents should not be able to share SharePoint content with external users
An agent that can share content externally can send your organization's files outside with a single action, whether it was tricked by a prompt or misconfigured. Blocking external sharing for agents closes that path for data loss.
Remediation action
Run this in SharePoint Online PowerShell as a SharePoint Administrator:
Set-SPOTenant -RestrictExternalSharingForAgents $true
Related links
%TestResult%