Skip to main content
Version: 3.0.0-preview

MT.1041 - Ensure users installing Outlook add-ins is not allowed

Overview​

Users SHOULD NOT be allowed to install Outlook add-ins

Rationale: When users can install their own Outlook add-ins, it creates security risks. Malicious add-ins could access email content, exploit vulnerabilities, or facilitate data exfiltration through legitimate-looking add-ins.

Remediation action​

  1. Connect to Exchange Online:
Connect-ExchangeOnline
  1. Get the current role assignment policy:
Get-RoleAssignmentPolicy | Where-Object { $_.IsDefault }
  1. Check which app-related roles are assigned:
Get-ManagementRoleAssignment -RoleAssignee "Default Role Assignment Policy" | Where-Object { $_.Role -like "My*Apps" }
  1. Remove the app installation permissions from the default policy:
Get-ManagementRoleAssignment -RoleAssignee "Default Role Assignment Policy" | Where-Object { $_.Role -like "My*Apps" } | Remove-ManagementRoleAssignment -Confirm:$false
  1. Verify the changes:
Get-ManagementRoleAssignment -RoleAssignee "Default Role Assignment Policy" | Where-Object { $_.Role -like "My*Apps" }

The result should return no assignments.

Test Metadata​

FieldValue
Test IDMT.1041
SeverityMedium
SuiteMaester
ProductExchange Online
FeatureOutlook
AreaApplications and workload identities
Resource typePolicy
User impactMedium
Implementation costLow
MITRE ATT&CKT1137.006 Add-ins, T1114.002 Remote Email Collection
Supports controlsnist-800-53-r5:CM-7, nist-800-53-r5:CM-11
PowerShell testTest-MtExoOutlookAddin
ServicesExchangeOnline

Source​