Control: 2.2 Ensure calendar details sharing with external users is disabled
Description
You should not allow your users to share the full details of their calendars with external users.
Attackers often spend time learning about your organization before launching an attack. Publicly available calendars can help attackers understand organizational relationships and determine when specific users may be more vulnerable to an attack, such as when they are traveling.
Remediation
To disable calendar details sharing with external users, use the Microsoft 365 Admin Center:
- Select
Admin Center
and Click to expandSettings
. - Click
Org settings
. - Click
Calendar
. - Uncheck
Let your users share their calendars with people outside of your organization who have Office 365 or Exchange
. - Click
Save
.
To disable calendar details sharing with external users policy, use the Exchange Online PowerShell Module:
- Connect to Exchange Online using
Connect-ExchangeOnline
. - Run the following Exchange Online PowerShell command:
Set-SharingPolicy -Identity "Name of the policy" -Enabled $False
Default Value: On
Usage
Run the control in your terminal:
powerpipe control run microsoft365_compliance.control.cis_v150_2_2
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run microsoft365_compliance.control.cis_v150_2_2 --share
SQL
This control uses a named query:
microsoft365_calendar_sharing_disabled