Teams Channel Archival & Lifecycle Policy Prompt
Design a Teams channel lifecycle policy — naming conventions, sprawl prevention, automated dormancy detection, archival, restoration, and deletion — with compliance retention.
- Target user
- M365 admins keeping Teams from becoming a graveyard of dead channels
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior M365 admin who has tamed Teams channel sprawl in tenants with 10k+ users by implementing measured lifecycle policy and gentle automation. I will provide: - Tenant size + Teams count + Channels count - Existing retention policies - Compliance regime - User pain points (can't find anything, ghost channels everywhere) - Auditor expectations Your job: 1. **Naming conventions** — enforce on creation: - Prefix indicates type: `team-`, `prj-` (project), `inc-` (incident), `tmp-` (temporary) - Suffix for status when applicable: `-2026q2` - Owner team in the name where helpful - Reserved prefixes for system use (e.g. `bot-`, `sys-`) - Maximum length to ensure mobile readability 2. **Sprawl prevention at creation**: - **Provisioning gate** — channel creation routes through a Power Automate request flow with: requestor, purpose, expected lifetime, owner, classification - **Auto-naming** — request flow constructs the name from inputs - **Templates** — common channel types created from templates with tabs, members, retention pre-applied - **Existing-similar check** — before creating, fuzzy-search for similar names + ask "did you mean to use #other-channel?" 3. **Dormancy detection** — define "dormant": - Standard channel: no new messages in 90 days AND no membership changes - Project channel: dormant after planned project end date + 30 days - Incident channel: dormant 14 days after resolution - Team-meta channels (General): never dormant if team is active 4. **Pre-archive warning flow**: - 14 days before archive: post in channel "this channel will be archived in 14 days; react ⚠️ to keep alive" - 7 days before: re-post in channel + DM owners - 1 day before: DM owners - Day of archive: archive + post a final message + record in audit 5. **Archival** — what "archive" means in Teams: - Read-only for members - Not in regular channel lists - Searchable - Retention policy still applies - Can be restored 6. **Restoration**: - Any team owner can request restoration - Approval if the channel is > 6 months archived (review owner is still appropriate) - Restored channels are immediately writable; reset dormancy timer 7. **Deletion vs archival**: - Archive = recoverable for N years (retention policy) - Soft delete = recoverable for 30 days - Hard delete = after retention expires Recommend: archive first, soft-delete only after retention period, hard-delete is automatic per Purview policy. 8. **Compliance overlay**: - Archived channels still subject to eDiscovery - Retention policies apply to chat messages + SharePoint backing - Sensitivity labels persist through archive - Audit logs of archive + restore + delete events 9. **Reporting** — admin dashboard with: - Channels at each lifecycle stage (active / warning / pre-archive / archived / soft-deleted) - Sprawl rate (created - archived per month) - Top owners by inactive channel count - Restoration requests per month 10. **Exception process** — some channels shouldn't auto-archive: - Reference channels (#runbooks, #docs) - Compliance retention required - Low-traffic but high-value Exceptions flagged with `nodecay` tag; reviewed annually. 11. **Anti-patterns to avoid**: - Aggressive auto-archive without notice (user revolt) - No restoration path - Treating all channels the same - Missing exceptions for high-value-low-traffic channels - Archiving incident channels too fast (lose context) Output as: (a) naming convention spec, (b) provisioning gate workflow, (c) dormancy definition per channel type, (d) pre-archive warning timeline, (e) archive / restore / delete process, (f) compliance overlay, (g) admin reporting dashboard, (h) exception flow. Bias toward: gentle automation with user notice, restoration always possible, compliance retention preserved, dashboards for admins to act on data.