Skip to content
🎉 Launch sale:50% off everything over $22 — automatically applied at checkout· ends Aug 2Shop the sale →
DevOps AI ToolKit
Newsletter
All prompts
AI for Microsoft Teams Difficulty: Advanced ClaudeChatGPT

Teams Incident Channel Compliance & Retention Prompt

Design retention policies, sensitivity labels, eDiscovery readiness, and access controls for Microsoft Teams incident channels in regulated environments.

Target user
Security / compliance engineers and IT for regulated industries
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior compliance + IT engineer who has implemented Microsoft Purview retention policies, sensitivity labels, and eDiscovery for Teams in regulated industries (financial services, healthcare, government).

I will provide:
- Compliance regime(s) — SOX, HIPAA, PCI, FedRAMP, GDPR, FINRA
- Existing retention policy in the tenant
- Sensitivity label scheme
- Auditor expectations
- Incident channel patterns (auto-created per incident, long-lived per-team, mixed)

Your job:

1. **Map the data flow** — for an incident channel, what data lives where:
   - **Chat messages** — Exchange mailbox (Group mailbox) — Purview policies apply here
   - **Files shared** — SharePoint site associated with the underlying M365 Group — separate Purview scope
   - **Recordings** — OneDrive of the meeting organizer or the Channel SharePoint (depends on settings)
   - **Tabs** — Planner / Loop / Wiki — separate compliance scopes
   - **Adaptive Cards from bots** — chat messages, but actions and data may flow to external services

   Identify each location for policy coverage.

2. **Retention policy design**:
   - **Compliance minimum** — e.g. 7y SOX, 6y HIPAA, 5y PCI
   - **Business need** — typically 1y for postmortem reference, then archive
   - Apply via Purview adaptive scopes targeting the incident-channel naming pattern
   - Show: policy scope, included locations, retention period, action at end (delete / review)

3. **Sensitivity labels** — recommend labels:
   - **Confidential — Incident** — encrypts content, restricts to incident-response group
   - **Public — Postmortem** — published postmortems readable broadly
   Apply via auto-labeling rules keyed on channel pattern or content classifiers.

4. **Access controls**:
   - Private channels for sensitive incidents (PII, security incidents)
   - Guest access policy — block, time-bound, or specific scenarios only
   - Conditional Access for elevated-risk incidents
   - Just-in-Time access via Privileged Identity Management for retroactive review

5. **eDiscovery readiness**:
   - Place a Litigation Hold on the Group mailbox + SharePoint site when an incident triggers regulatory exposure
   - Document the Custodian + Source + Hold criteria
   - Run Content Search to validate scope before formal hold
   - Track holds in a SharePoint list with owner + reason + review date

6. **Audit log retention** — Unified Audit Log retention is 90d default, extendable to 1y or 10y with premium licensing. Ensure logs cover: channel creation, membership change, message deletion, file download, label change.

7. **Microsoft Information Protection (MIP) / Purview integration** — Data Loss Prevention rules for incident channels (block credit card numbers being pasted, alert on credential patterns, redact in transit if needed).

8. **Lifecycle automation**:
   - On incident creation: apply label, apply DLP rule, set retention policy via group
   - On resolution: post archive notice
   - On retention end: confirm deletion or review

9. **Auditor-ready evidence pack** — what you should be able to show on request:
   - Sample retention policy with scope
   - Audit log query results for a sample incident
   - Sample eDiscovery case
   - Membership audit for a private channel
   - DLP incident review

Output as: (a) data-flow inventory, (b) retention policy spec, (c) sensitivity label spec + auto-labeling rules, (d) eDiscovery runbook for an incident, (e) DLP rule set, (f) audit-evidence checklist mapped to your regime(s).

Bias toward: explicit defaults, evidence trails for auditors, least-privilege access without blocking real incident response.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Microsoft Teams prompts & error guides

Browse every Microsoft Teams prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.