The script handles the engineering. This playbook is what makes it safe in production. Several defaults have customer-visible consequences the moment they take effect โ silent labelling on every new document, 7-year mail deletion, DLP blocking external sends. Follow this timeline so the deploy lands as a planned change, not a help-desk ticket generator.
Nothing touches the tenant yet. This phase exists to make the rest predictable.
-BPOnly is needed; AI governance is default-on for E5 / Purview Suite.Deploy team-AdoptExisting vs rename/archive.Deploy team-BPOnly ยท -SkipAIControls ยท -ApplyRetention (+ duration) ยท -SkipContainerLabels-EnablePremiumAudit (+ mailboxes) ยท -EnableLabelCoAuthoring (one-way!)EnableContentMarking in config โ leave $false for initial deploy; flip after day-30Preview, apply during the agreed window, and verify simulation mode before anyone notices.
-WhatIf first; capture the full transcript.[Managed by SMBTool Purview Toolkit].Connect-SPOService clashes when EXO/Graph/Az/PnP are pre-loaded โ pass -SharePointAdminUrl on vanity-UPN tenants.Set-Label -Priority throws on pre-existing top-level labels โ audit existing labels in Phase 0.Labels are live; DLP only observes. Watch the signals before anything enforces.
General \ Anyone (unrestricted) is the Outlook default and Confidential\AllEmployees the Office default.UnifiedAuditLog captures label events.EnableContentMarking = $true (off by default until day-30).The conversation most deploys skip โ and the one that decides whether DLP becomes real protection or shelfware.
| Decision | Options | How to action |
|---|---|---|
| Promote DLP out of simulation? | Promote / extend / refine first | Flip DlpStartInSimulation = $false & re-run, or toggle per policy in portal |
| Turn on content marking? | Yes / no | Flip EnableContentMarking = $true & re-run |
| Tighten Endpoint DLP (E5)? | Audit โ Block / Warn | Edit EndpointDlpRestrictions[].Value & re-run |
| Reconfirm retention | Enable / keep off / change duration | -ApplyRetention on re-run, or edit Retention.DurationDays |
| Add SPO / OneDrive to retention? | Yes / no | Add to Retention.Locations |
The deployment is idempotent โ re-run any time to verify or extend the baseline.