Prevent Data Leaks by Controlling Windows App Email Access with Microsoft Intune


How to Prevent Data Leaks: Controlling Windows Apps Email Access with Microsoft Intune

Data leaks don’t always come from hackers — sometimes, they start with a simple app request. Many Windows apps can access user emails if not properly restricted.
Microsoft Intune offers a built-in solution for this through the “Let Apps Access Email” policy, which lets IT admins block or allow email access on managed Windows devices.


What This Policy Does

The Let Apps Access Email policy determines whether Universal Windows Platform (UWP) apps or other Windows applications can access user email data.

You can set a default rule for all apps or make exceptions for trusted apps using their Package Family Names (PFNs).

Key benefits:

  • Stronger security: Stop unapproved apps from reading or sending corporate emails.
  • Compliance control: Ensure only authorized clients handle work data.
  • Lower risk: Reduce accidental data exposure through personal or consumer apps.
  • Balance: Keep users productive without compromising security.

Real-World Scenarios

🔒 Scenario 1 – Blocking Consumer Apps

You configure the policy to Force Deny all apps.
A user installs a third-party “Mail Organizer” from the Microsoft Store — it’s blocked from accessing the company’s email, even if the user tries to allow it manually.

✅ Scenario 2 – Allowing Trusted Tools

Your help desk system uses a secure app that reads support emails to create tickets.
You whitelist it by adding its Package Family Name (PFN) and apply a Force Allow rule only for that app.


Step-by-Step Configuration Guide

Step 1 – Open the Intune Admin Center

  1. Go to Microsoft Intune Admin Center.
  2. Navigate to Devices → Windows → Configuration → Create → New policy.

Step 2 – Create a Policy Profile

  • Platform: Windows 10 and later
  • Profile type: Settings catalog
  • Click Create

Step 3 – Name the Policy

  • Name: Block Apps Email Access Policy
  • Optional description: Prevents unauthorized apps from accessing corporate emails
  • Click Next

Step 4 – Configure Settings

  1. Click + Add settings
  2. Search for Privacy
  3. Choose Let Apps Access Email
  4. Add it to the policy and close the picker

Step 5 – Choose Your Setting

SettingDescription
User is in controlUsers decide via Settings → Privacy
Force AllowAll apps can access email (cannot be changed by users)
Force DenyBlocks all apps from accessing email (cannot be changed)
Don’t configureUses Windows default behavior

Most organizations start with Force Deny to protect data, then allow exceptions as needed.

Step 6 – Assign and Deploy

  • Under Assignments, choose target user or device groups.
  • Click Next → Review + Create → Create.

Monitoring Policy Deployment

Check in Intune

  • Navigate to Devices → Configuration profiles.
  • Find your policy and review Device Status and User Status — it should show Succeeded.

Verify on Windows Client

  1. Open Event Viewer.
  2. Go to
    Applications and Services Logs → Microsoft → Windows → DeviceManagement-Enterprise-Diagnostics-Provider → Admin
  3. Look for Event ID 813 (policy applied successfully).

Advanced Configuration

Using Custom OMA-URI

If you prefer a custom CSP approach:

  • OMA-URI Path:
    ./Device/Vendor/MSFT/Policy/Config/Privacy/LetAppsAccessEmail
  • Values:
    • 0 = User in control
    • 1 = Force allow
    • 2 = Force deny

Group Policy Equivalent

You can apply the same configuration through Group Policy:

Path:
Computer Configuration → Windows Components → App Privacy → Let Windows apps access email


Managing and Removing the Policy

To Remove Group Assignments

  1. Open your policy in Intune.
  2. Edit the Assignments tab.
  3. Remove selected groups.

To Delete the Policy

  1. Go to Devices → Configuration.
  2. Select the policy.
  3. Click Delete.

Technical Details

ItemDetails
Supported platformsWindows 10 version 1607 (10.0.14393) and later
CSP Path./Device/Vendor/MSFT/Policy/Config/Privacy/LetAppsAccessEmail
Registry KeySoftware\Policies\Microsoft\Windows\AppPrivacy
Data TypeString (chr)
Access TypeAdd, Delete, Get, Replace

Best Practices

  1. Start with Force Deny for maximum data protection.
  2. Whitelist apps only after proper security vetting.
  3. Document exceptions with business justification.
  4. Pilot first before a full rollout.
  5. Review logs and reports regularly to ensure compliance.

Conclusion

With Intune’s Let Apps Access Email policy, you gain precise control over which apps can interact with corporate email data. This prevents unauthorized access and data leaks without affecting legitimate workflows.

Security shouldn’t sacrifice productivity — test, refine, and deploy with care to achieve the right balance.