SharePoint Online:通过警报监控外部共享邀请
要求:监控 SharePoint Online 和 OneDrive 外部共享邀请。
SharePoint Online:配置外部共享警报
启用外部共享后,用户可以与团队成员、同事、外部供应商或合作伙伴安全地共享存储在 SharePoint 或 OneDrive for Business 网站中的文件。您可以通过使用 Set-SPOTenant cmdlet 将“BccExternalSharingInvitations”参数设置为“$True”并向“BccExternalSharingInvitationsList”提供电子邮件地址列表来审核 SharePoint Online 和 OneDrive for Business 中的外部用户邀请。默认情况下,此配置设置为 False - 意味着外部共享的 BCC 被禁用。您可以将其打开并配置电子邮件地址,以便在发送外部共享邀请时接收通知。
#Parameters
$TenantAdminURL = "https://crescent-admin.sharepoint.com"
#Connect to Admin Center
Connect-SPOService -Url $TenantAdminURL -Credential (Get-Credential)
#enable alert for external user invitation
Set-SPOTenant -BccExternalSharingInvitations $True -BccExternalSharingInvitationsList "Admin@Crescent.com"
这会将电子邮件密件抄送 (BCC) 到 BccExternalSharingsInvitationList 参数中列出的电子邮件 ID。您可以通过创建不带空格的逗号分隔列表来指定单个电子邮件地址或多个地址。
Set-SPOTenant -BccExternalSharingInvitations $True -BccExternalSharingInvitationsList "Admin@Crescent.com,helpdesk@Crescent.com"
因此,每个外部用户邀请的副本都将发送到指定的电子邮件,并可供以后审核或审阅。如果需要,这可以是监视外部共享邀请的 PowerShell 方式。
禁用密件抄送外部共享邀请
要禁用密件抄送外部共享邀请,只需将该标志设置为 False 即可。
Set-SPOTenant -BccExternalSharingInvitations $False
使用 Get-SPOTenant cmdlet 检查现有设置
您可以使用以下命令检查租户的现有设置:
Get-SPOTenant | Select BccExternalSharingInvitations, BccExternalSharingInvitationsList
使用合规中心警报监控外部用户共享
外部共享报告是组织中的常见要求。我们可以搜索审核日志并获取所有外部共享资源的列表,或者创建警报策略以在发生时获取电子邮件通知。要使用 Microsoft 365 合规中心监控外部内容共享,
- 导航至合规中心警报策略:https://protection.office.com/alertpolicies
- 单击新警报策略 >> 提供名称和其他参数。
- 选择“外部共享文件”活动并创建策略。
更多信息请参见:https://docs.microsoft.com/en-us/microsoft-365/compliance/alert-policies?view=o365-worldwide
