(L2) Ensure 'third-party storage services' are restricted in 'Microsoft 365 on the web'
Part of CIS · Microsoft 365 · Organization settings · All checks
Invoke-Maester -TestId CIS.M365.1.3.7Overview
Section titled “Overview”1.3.7 (L2) Ensure ‘third-party storage services’ are restricted in ‘Microsoft 365 on the web’
Third-party storage can be enabled for users in Microsoft 365, allowing them to store and share documents using services such as Dropbox, alongside OneDrive and team sites.
Ensure Microsoft 365 on the web third-party storage services are restricted.
Rationale
Section titled “Rationale”By using external storage services an organization may increase the risk of data breaches and unauthorized access to confidential information. Additionally, third-party services may not adhere to the same security standards as the organization, making it difficult to maintain data privacy and security.
Impact
Section titled “Impact”Impact associated with this change is highly dependent upon current practices in the tenant. If users do not use other storage providers, then minimal impact is likely. However, if users do regularly utilize providers outside of the tenant this will affect their ability to continue to do so.
Remediation action:
Section titled “Remediation action:”- Navigate to Microsoft 365 admin center
- Go to Settings > Org Settings > Services > Microsoft 365 on the web
- Uncheck Let users open files stored in third-party storage services in Microsoft 365 on the web
PowerShell
Section titled “PowerShell”- Connect to Microsoft Graph using
Connect-MgGraph -Scopes "Application.ReadWrite.All" - Run the following script:
$SP = Get-MgServicePrincipal -Filter "appId eq 'c1f33bc0-bdb4-4248-ba9b-096807ddb43e'"# If the service principal doesn't exist then create it first.if (-not $SP) { $SP = New-MgServicePrincipal -AppId "c1f33bc0-bdb4-4248-ba9b-096807ddb43e"}Update-MgServicePrincipal -ServicePrincipalId $SP.Id -AccountEnabled:$falseRelated links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | CIS.M365.1.3.7 |
| Severity | Medium |
| Suite | CIS |
| Product | Microsoft 365 |
| Feature | Organization settings |
| Area | External access and sharing |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1567.002 Exfiltration to Cloud Storage |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 1.3.7 |
| Benchmark level | L2 |
| Benchmark profiles | E3 Level 2, E5 Level 2 |
| Supports controls | cis-m365:1.3.7, nist-800-53-r5:AC-20, nist-800-53-r5:CM-7 |
| PowerShell test | Test-MtCisThirdPartyStorageServicesRestricted |
| Services | Graph |
Source
Section titled “Source”- Test:
tests/cis/Test.CIS.M365.1.3.7.ps1 - Documentation:
tests/cis/Test.CIS.M365.1.3.7.md
About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Microsoft 365
- Feature
- Organization settings
- Area
- External access and sharing
- Suite
- CIS