# (L2) Ensure 'External sharing' of calendars is not available

(L2) Ensure 'External sharing' of calendars is not available. A Maester check for Microsoft 365, Organization settings.

Source: https://maester.dev/docs/tests/CIS.M365.1.3.3

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/soulemike" title="Michael Soule · Original author"><img src="https://github.com/soulemike.png" alt="Michael Soule" width="28" height="28" loading="lazy" decoding="async" /></a><a class="test-byline-avatar" href="/contributors/merill" title="Merill Fernando · Co-contributor"><img src="https://github.com/merill.png" alt="Merill Fernando" width="28" height="28" loading="lazy" decoding="async" /></a><a class="test-byline-avatar" href="/contributors/nzlostboy" title="Ben Miles · Co-contributor"><img src="https://github.com/NZLostboy.png" alt="Ben Miles" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/soulemike">Michael Soule</a> with 2 co-contributors</span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/cis">CIS</a> · Microsoft 365 · Organization settings · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId CIS.M365.1.3.3
```

## Overview

1.3.3 (L2) Ensure 'External sharing' of calendars is not available

External calendar sharing allows an administrator to enable the ability for users to share calendars with anyone outside of the organization. Outside users will be sent a URL that can be used to view the calendar.

#### Rationale

Attackers often spend time learning about organizations 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.

#### Impact

This functionality is not widely used. As a result, it is unlikely that implementation of this setting will cause an impact to most users. Users that do utilize this functionality are likely to experience a minor inconvenience when scheduling meetings or synchronizing calendars with people outside the tenant.

#### Remediation action

To remediate using the UI:

1. Navigate to Microsoft 365 admin center [https://admin.microsoft.com](https://admin.microsoft.com).
2. Click to expand **Settings** select **Org settings**.
3. In the **Services** section click **Calendar**.
4. Uncheck **Let your users share their calendars with people outside of your organization who have Office 365 or Exchange**.
5. Click **Save**.

##### PowerShell

1. Connect to Exchange Online using `Connect-ExchangeOnline`.
2. Run the following Exchange Online PowerShell command:

```powershell
Set-SharingPolicy -Identity "Default Sharing Policy" -Enabled $False
```

#### Related links

* [Microsoft 365 Admin Center](https://admin.microsoft.com)
* [Share Microsoft 365 calendars with people outside your organization](https://learn.microsoft.com/microsoft-365/admin/manage/share-calendars-with-external-users?view=o365-worldwide)
* [CIS Microsoft 365 Foundations Benchmark v7.0.0 - Page 56](https://www.cisecurity.org/benchmark/microsoft_365)

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | CIS.M365.1.3.3 |
| Severity | Medium |
| Suite | CIS |
| Product | Microsoft 365 |
| Related products | Exchange Online |
| Feature | Organization settings |
| Area | External access and sharing |
| Resource type | Policy |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1591 Gather Victim Org Information |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 1.3.3 |
| Benchmark level | L2 |
| Benchmark profiles | E3 Level 2 |
| Supports controls | cis-m365:1.3.3, nist-800-53-r5:AC-3, nist-800-53-r5:SC-7(10) |
| PowerShell test | [Test-MtCisCalendarSharing](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.1.3.3.ps1) |
| Services | ExchangeOnline |

</details>

## Source

- Test: [`tests/cis/Test.CIS.M365.1.3.3.ps1`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.1.3.3.ps1)
- Documentation: [`tests/cis/Test.CIS.M365.1.3.3.md`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.1.3.3.md)
