← Back to articles Security

Purview Label Inheritance from Attachments: iOS & Android

Purview Label Inheritance from Attachments: iOS & Android

Roadmap ID 569021 finally closes the mobile parity gap for Purview sensitivity label inheritance. If you've already configured label inheritance on Outlook desktop and you're scratching your head wondering why your mobile users keep sending Confidential attachments under a General email label — this is the fix. This article walks through every layer: policy configuration, Intune APP, PowerShell automation, Graph API integration, and the production gotchas that will bite you if you skip them.

⚠ In Development / Rolling OutRoadmap ID 569021 is listed as In Development → General Availability as of this writing (August 2026). Validate app versions in your tenant before enforcing policy in production. Minimum confirmed builds: Outlook iOS 4.2406.x, Outlook Android 4.2406.x.

How Label Inheritance Actually Works

Label inheritance is not magic — it is a priority integer comparison. Every sensitivity label in your tenant has a numeric priority (0 = lowest). When a user attaches a file, Outlook reads the label metadata embedded in that file, compares its priority to the current email label, and if the attachment wins, one of two things happens: the label is silently promoted (Automatic mode) or the user is nudged with a recommendation bar (Recommended mode). The email is never allowed to leave at a lower classification than its most sensitive attachment.

Email DraftLabel: General (P1)AttachmentLabel: Confidential (P3)Priority EngineP3 > P1 → InheritAuto ModeSilent label upgradeRecommend ModeUser sees prompt barAuditLog entryLABEL INHERITANCE DECISION FLOW
When a labelled attachment is added, Outlook compares priority integers. The higher-priority label always wins. Both enforcement modes write an audit event to Purview.

Prerequisites Checklist

RequirementMinimumRecommendedMobile Needed
Sensitivity Labels PublishedM365 E3 / Business PremiumM365 E5
Purview IP P1 (manual labels)Included in E3
Purview IP P2 (auto policy)E5 / P2 add-onE5
Intune APP/MAM policy on OutlookIntune Plan 1Intune Plan 2
Outlook iOS ≥ 4.2406.xApp Store updateLatest build
Outlook Android ≥ 4.2406.xPlay Store updateLatest build
Unified Labelling Client (tenant)Enabled by default (post-2022)
🚨 Critical: P2 Licence GateThe AttachmentAction = Automatic advanced setting requires Purview Information Protection P2. If your users are on P1 only, the policy will silently fall back to no action. Confirm licence assignment before wondering why nothing is happening on device.

Step-by-Step Implementation

  1. Verify and order your label priorities

    Navigate to Microsoft Purview compliance portal → Information Protection → Labels. Drag labels so higher-sensitivity labels sit lower in the list (higher priority number). The order here is the order the inheritance engine uses. A mislabelled priority ordering is the most common root cause of unexpected inheritance behaviour in production.

  2. Enable AttachmentAction on the Label Policy

    Use Security & Compliance PowerShell. The UI exposes a toggle, but the advanced settings give you full control and are script-repeatable across tenants.

    # Connect to S&C PowerShell
    Connect-IPPSSession -UserPrincipalName admin@contoso.com
    
    # Inspect current advanced settings first
    Get-LabelPolicy -Identity "Corporate-Label-Policy" | Select-Object -ExpandProperty Settings
    
    # Set Automatic inheritance (silent promote)
    Set-LabelPolicy -Identity "Corporate-Label-Policy" `
      -AdvancedSettings @{
        AttachmentAction    = "Automatic"
        AttachmentActionTip = "Label upgraded to match attachment sensitivity."
      }
    
    # OR set Recommended mode (shows a prompt bar)
    Set-LabelPolicy -Identity "Corporate-Label-Policy" `
      -AdvancedSettings @{
        AttachmentAction = "Recommended"
      }
    
    # Confirm the setting landed correctly
    (Get-LabelPolicy -Identity "Corporate-Label-Policy").Settings | `
      Where-Object { $_.Key -match "Attachment" }
  3. Configure Intune App Protection Policy for Outlook

    In the Intune admin center → Apps → App protection policies, target com.microsoft.outlook (Android) and com.microsoft.Outlook (iOS). The critical data protection settings that must align with your label boundaries are below. If these are misconfigured, a labelled file can leak outside the policy-managed boundary before inheritance even triggers.

    # Data protection settings — set via UI or Graph
    Send org data to other apps:    Policy managed apps
    Receive data from other apps:   Policy managed apps
    Save copies of org data:        Block
    Restrict cut/copy/paste:        Policy managed apps with paste in
  4. Automate APP deployment via Graph API

    If you are managing multiple tenants or want to codify this in a pipeline, use the Graph API to read and patch iOS Managed App Protection policies. The endpoint below retrieves all iOS APP policies for inspection.

    # GET — list all iOS Managed App Protection policies
    GET https://graph.microsoft.com/v1.0/deviceAppManagement/iosManagedAppProtections
    
    # PATCH — update data protection settings on a specific policy
    PATCH https://graph.microsoft.com/v1.0/deviceAppManagement/iosManagedAppProtections/{policyId}
    Content-Type: application/json
    
    {
      "allowedOutboundDataTransferDestinations": "managedApps",
      "allowedInboundDataTransferSources":      "managedApps",
      "appDataEncryptionType":                  "whenDeviceLocked"
    }
    💡 Required Graph ScopeYou need DeviceAppManagement.ReadWrite.All for PATCH operations on APP policies. Use a service principal with a client credential flow in automation pipelines — never delegate interactive credentials in scripts.
  5. Validate on a test device

    Label a Word document as Confidential. On an iOS or Android device running the minimum Outlook build, compose a new email, manually set the email label to General, then attach the document. In Automatic mode the label bar should immediately flip to Confidential. In Recommend mode a yellow info bar appears. If neither happens, check app version first, then policy sync lag (allow up to 24 hours for label policy propagation).

  6. Monitor via Purview Audit

    Run the audit search below after your validation to confirm label events are flowing. This PowerShell script exports the last 7 days of label activity to CSV for review.

    # Full audit export — label apply and update events
    Search-UnifiedAuditLog `
      -StartDate (Get-Date).AddDays(-7) `
      -EndDate   (Get-Date) `
      -Operations "SensitivityLabelApplied","SensitivityLabelUpdated" `
      -RecordType "AipSensitivityLabelAction" `
      -ResultSize 5000 |
    Select-Object CreationDate, UserIds, Operations, AuditData |
    Export-Csv -Path "./LabelAudit_$(Get-Date -Format yyyyMMdd).csv" -NoTypeInformation # Parse AuditData JSON for mobile-sourced events $results = Search-UnifiedAuditLog ` -StartDate (Get-Date).AddDays(-1) ` -EndDate (Get-Date) ` -Operations "SensitivityLabelUpdated" ` -ResultSize 1000 $results | ForEach-Object { $data = $_.AuditData | ConvertFrom-Json [PSCustomObject]@{ User = $_.UserIds Time = $_.CreationDate OldLabel = $data.OldSensitivityLabelId NewLabel = $data.SensitivityLabelId Source = $data.ApplicationId # look for Outlook mobile app ID here } } | Format-Table -AutoSize

Architecture: Where Inheritance Fits in the Stack

Purview PortalLabel Policy + AttachmentActionIntune AdminAPP Policy for OutlookEntra IDUser scope / licensingOutlook MobileiOS & Android ≥ 4.2406.xINHERITANCE ENGINEExchange OnlineLabelled email sentPurview AuditAipSensitivityLabelAction
Label policy and APP policy flow into Outlook Mobile from two separate control planes. Purview sets the inheritance rules; Intune enforces data boundaries. Both must be correctly configured or inheritance will silently fail.

Common Gotchas From Production

🚨 AttachmentAction Setting Not PropagatingAfter running Set-LabelPolicy with advanced settings, policy sync to mobile clients can take up to 24 hours. Force a sync by having the user sign out of Outlook mobile and back in. Also confirm with Get-LabelPolicy | FL Settings that the key actually landed — a typo in the key name silently discards the value with no error.
⚠ Label Metadata Only Present in Office FilesInheritance only triggers when the attached file carries embedded Purview label metadata. Native Office formats (DOCX, XLSX, PPTX, PDF with AIP) work. A JPEG, ZIP, or un-labelled PDF will not trigger inheritance even if it contains sensitive content. This is expected behaviour, not a bug — but communicating it to end users is your job.
⚠ Mandatory Label Policy + Inheritance = UX FrictionIf your label policy requires a label on send AND you have inheritance on Automatic, a user attaching a Highly Confidential file to an unlabelled draft will have the email silently jump to Highly Confidential. Some users find this alarming. Consider Recommended mode for initial rollout and switch to Automatic once users understand the behaviour.
💡 Testing Quickly Without Waiting 24 HoursLabel policy advanced settings respect the -Force flag on Set-LabelPolicy and can be pulled down faster by resetting the Outlook mobile policy cache. On iOS: Settings → Outlook → Reset. On Android: clear app cache via device settings. This does not affect inbox data.

Quick Reference: AttachmentAction Modes

ModeUser SeesLabel Promoted SilentlyRequires P2Audit Event Written
AutomaticLabel bar changes, no prompt
RecommendedYellow info bar with Accept/Dismiss
(Not configured)Nothing — email sends at original label

The Deployment Decision

Start with Recommended mode for the first 30 days. Harvest the audit logs, quantify how often users are being prompted, and watch how many accept vs. dismiss. If accept rates are above 80%, switch to Automatic — you are just adding friction for no gain. If dismiss rates are high, that is a training gap, not a policy gap. Fix the training first.

For GCC High and DoD environments, the same configuration applies but ensure your Purview compliance portal endpoint is the correct sovereign cloud URL and that your Connect-IPPSSession targets -ConnectionUri https://ps.compliance.protection.office365.us accordingly. All roadmap timelines for those environments typically trail the commercial GA by 4–8 weeks.

✅ Confirmed Working PatternLabel inheritance on Outlook mobile works end-to-end when: (1) Purview IP P2 is licensed, (2) AttachmentAction advanced setting is confirmed via Get-LabelPolicy, (3) Outlook build ≥ 4.2406.x is installed, and (4) the Intune APP policy scopes Outlook to policy-managed apps only. All four must be true simultaneously.

Was this article helpful?

🎓 Ready to go deeper?

Practice real MD-102 exam questions, get AI feedback on your weak areas, and fast-track your Intune certification.

Start Free Practice → Book a Session
Souhaiel Morhag
Souhaiel Morhag
Microsoft Endpoint & Modern Workplace Engineer

Souhaiel Morhag is a Microsoft Intune and endpoint management specialist with hands-on experience deploying and securing enterprise environments across Microsoft 365. He founded MSEndpoint.com to share practical, real-world guides for IT admins navigating Microsoft technologies — and built the MSEndpoint Academy at app.msendpoint.com/academy, a dedicated learning platform for professionals preparing for the MD-102 (Microsoft 365 Endpoint Administrator) certification. Through in-depth articles and AI-powered practice exams, Souhaiel helps IT teams move faster and certify with confidence.

Related Articles

Popular on MSEndpoint