Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

(L2) Ensure 'third-party storage services' are restricted in 'Microsoft 365 on the web'

CIS.M365.1.3.7MediumMicrosoft 365Organization settings

Part of CIS · Microsoft 365 · Organization settings · All checks

Run this check
Invoke-Maester -TestId CIS.M365.1.3.7

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.

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 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.

  1. Navigate to Microsoft 365 admin center
  2. Go to Settings > Org Settings > Services > Microsoft 365 on the web
  3. Uncheck Let users open files stored in third-party storage services in Microsoft 365 on the web
  1. Connect to Microsoft Graph using Connect-MgGraph -Scopes "Application.ReadWrite.All"
  2. 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:$false
Every attribute of this check
FieldValue
Test IDCIS.M365.1.3.7
SeverityMedium
SuiteCIS
ProductMicrosoft 365
FeatureOrganization settings
AreaExternal access and sharing
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1567.002 Exfiltration to Cloud Storage
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 1.3.7
Benchmark levelL2
Benchmark profilesE3 Level 2, E5 Level 2
Supports controlscis-m365:1.3.7, nist-800-53-r5:AC-20, nist-800-53-r5:CM-7
PowerShell testTest-MtCisThirdPartyStorageServicesRestricted
ServicesGraph