Skip to main content
Version: 2.1.1-preview

DPDP.Sec.04.3 - Ensure user-owned and unregistered third-party application access is restricted

Overview

5.1.2.2 (L2) Ensure third party integrated applications are not allowed

App registration allows users to register custom-developed applications for use within the directory.

Rationale

Third-party integrated applications connection to services should be disabled unless there is a very clear value and robust security controls are in place. While there are legitimate uses, attackers can grant access from breached accounts to third party applications to exfiltrate data from your tenancy without having to maintain the breached account.

Impact

The implementation of this change will impact both end users and administrators. End users will not be able to integrate third-party applications that they may wish to use. Administrators are likely to receive requests from end users to grant them permission to the necessary third-party applications.

Remediation action:

  1. Navigate to Microsoft 365 Entra admin center.
  2. Click to expand Entra ID > Users select Users settings.
  3. Set Users can register applications to No.
  4. Click Save.
PowerShell
  1. Connect to Microsoft Graph using Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization"
  2. Run the following commands:
$param = @{ AllowedToCreateApps = "$false" }
Update-MgPolicyAuthorizationPolicy -DefaultUserRolePermissions $param

Test Metadata

FieldValue
Test IDDPDP.Sec.04.3
SeverityUnknown
SuiteDPDP Act 2023
CategoryGeneral
PowerShell testTest-MtCisThirdPartyApplicationsDisallowed
TagsDPDP, DPDP.Sec.04, DPDP.Sec.04.3, DPDP.Sec.05, DPDP2023

Source

  • Pester test: tests/dpdp/Test-MtDpdp-NoticeAndConsent.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisThirdPartyApplicationsDisallowed.ps1