Microsoft Teams vs Mattermost for HIPAA: which side fits which setup
A covered entity or business associate whose staff chat may carry protected health information has to settle where that chat lives before choosing an app. Microsoft documents a business associate agreement that covers Microsoft Teams among the Office 365 services, and that BAA is available by default through the Online Services Data Protection Addendum, as Microsoft Learn's HIPAA and HITECH page explains. Self-hosted Mattermost moves hosting, configuration and the evidence for each control onto your organization. This page covers only the HIPAA angle. The general comparison of Slack, Microsoft Teams and Mattermost sits on its own page, so use that page for features, licensing and operating effort.
Four decisions should drive the choice. First, is there an existing Microsoft 365 estate? If staff already work in Microsoft 365 under a BAA, Teams sits inside a contract and tenant your compliance team has likely reviewed, and the remaining work is configuration. Second, where must the data sit? Map chat content, backups and notification metadata against your residency rules before you pick a host. Third, can your team patch inside Mattermost support windows? Mattermost ships server releases on the 16th of each month, v11.11 support ends 2026-12-15 and v12.0 support ends 2027-01-15, so an unpatched server can run out of support quickly. Fourth, does Mattermost offer a BAA for your chosen deployment? Confirm this with the vendor in writing, for your exact build and hosting model. Mattermost's HIPAA security guide also recommends a generic push notification description so protected health information stays off a locked phone.
Neither product makes your organization HIPAA compliant on its own. The covered entity or business associate carries the obligations under the Security Rule for electronic protected health information, including the administrative, physical and technical safeguards. That stays true whether the chat runs on Microsoft 365 or on your own servers. A signed BAA is one input. Your risk analysis, access reviews, audit logging, retention settings and the records proving each of them remain yours to produce. DeployOpen prepares systems, controls and evidence for assessments, including the settings, logs and documentation an assessor will ask for. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work.
What the HIPAA Security Rule asks of a team chat tool
The Security Rule sets the baseline a team chat tool must meet once it carries electronic protected health information. The cards separate who is covered, what the 18 standards and their specifications require, how addressable items must be decided, and which chat components fall under those safeguards.
Who the rule covers
The Security Rule applies to covered entities (health plans, health care clearinghouses and covered health care providers) and to business associates, for electronic protected health information (45 CFR 164.302). Once staff post patient details in a chat tool, that tool is likely in scope. For Microsoft Teams, confirm the Microsoft 365 BAA covers your tenant and the services you switch on. For a self-hosted Mattermost, list every party with access to the data, including any support or managed hosting provider, because that list decides which agreements you need.
Subpart C textEighteen standards, three safeguard groups
Appendix A to Subpart C groups 18 standards into administrative safeguards (164.308), physical safeguards (164.310) and technical safeguards (164.312). Those standards contain 36 implementation specifications, 14 required and 22 addressable. Map each chat component to the standards it touches: access and workforce controls for user accounts, data center or cloud controls for the server, and audit, integrity and transmission controls for messages. Gaps usually appear where the vendor's responsibility ends and yours begins.
Appendix A matrixAddressable specifications still need a decision
Each addressable specification requires an assessment of whether it is reasonable and appropriate for your environment (45 CFR 164.306(d)). If it is not, you must document the reason and implement an equivalent alternative measure where that is reasonable and appropriate. An assessor will expect a written decision for each one, whichever way it goes. For example (illustrative), an automatic logoff setting on shared clinic workstations either gets enabled, or the record explains why it does not fit and which alternative, such as client session timeouts, covers the risk.
Chat components under the safeguards
Chat places several data types under the same safeguards: message content, attachments, notifications, admin accounts and the hosting layer. Attachments carry the same ePHI as messages, so access and integrity controls must cover files too. Push notifications can show message text on a locked phone, which is why Mattermost's HIPAA guide recommends a generic notification description. Admin accounts can read or export history, so they need the same access discipline as the data. The hosting layer decides which physical and technical controls you inherit and which you must provide.
Mattermost HIPAA guidePolicies, contracts and retention records
Section 164.314 sets organizational requirements, including the contracts that bind business associates to the Security Rule. Section 164.316 requires written policies, procedures and documentation, kept current when the configuration changes. Expect an assessor to ask who may create channels, export history and change retention, plus evidence that each setting matches the written policy. Teams Export APIs can retrieve messages deleted by users for up to 21 days, so your deletion policy must match what the platform keeps. Confirm how long the Mattermost audit logs you rely on as evidence are kept.
Mattermost audit loggingHow each side meets the requirement as documented
This table sets the documented position of Microsoft Teams and self-hosted Mattermost against seven HIPAA-relevant areas, from the business associate agreement to release cadence. Read each cell as what the vendor documents, and treat every item marked confirm as an open point to close in writing before it counts as evidence. Teams has a documented BAA path, while Mattermost leaves more of the configuration and evidence to your own team.
| Requirement area | Microsoft Teams as documented | Mattermost as documented |
|---|---|---|
| Business associate agreement | Available by default through the Online Services Data Protection Addendum, and the Microsoft 365 BAA covers Teams. | Mattermost has a Data Processing Addendum. Confirm in writing whether it will sign a BAA for your deployment and edition. |
| PHI in push notifications | Confirm with Microsoft how mobile notifications display message content on a locked device and whether admins can restrict it. | The HIPAA guide advises a generic push notification text so PHI stays off a locked phone. Test it on each device type. |
| Deleted message retention | Export APIs retrieve user-deleted messages for up to 21 days and deleted teams, channels or users for up to 30 days. | Confirm your retention and purge settings for deleted messages, and how backups handle them. |
| Audit logging | Export APIs cover messages and meeting artifacts. Confirm which audit log feeds your license and retention provide. | Mattermost documents audit logging. Confirm which events, fields, retention and export path your edition provides. |
| Data location | Available only to EU and EFTA commercial and public sector customers. Confirm your tenant region. | If self-hosted, location follows your infrastructure. Confirm where backups, files and logs are kept. |
| Encryption and access control | Confirm encryption at rest and in transit, and admin access controls, against Microsoft's Teams security and compliance overview. | Confirm TLS, database and file storage encryption, SSO and admin roles in your own configuration and edition. |
| Patching and release cadence | Confirm with Microsoft how service updates are announced and scheduled for your tenant. | New server binaries ship on the 16th each month. V11.11 support ends 2026-12-15 and v12.0 support ends 2027-01-15. |
What happens to deleted messages and exports on each side
On Teams, the first decision is whether exports are planned before anyone's license changes. The Teams Export APIs in Microsoft Graph export one-to-one, group, meeting and channel messages, plus meeting recording and transcript links, using application permissions that a Microsoft 365 administrator must approve. Each exported user needs an active Teams license, so removing a leaver's license can stop their messages from being exported. Microsoft documents a retrieval window of up to 21 days for messages users delete, and up to 30 days for messages from deleted teams, channels and users, after which the content is hard deleted. Confirm with your tenant administrator exactly which content types your export job covers before you depend on it.
Those windows are short, and that gap is where assessors press. If your written retention period is longer than the export window, the export window alone does not cover it, so you need to show how copies are kept during that window, who approves each export and how each export is logged. An assessor will ask for the retention schedule, the export job records and evidence that a departing user's content was captured before their license was removed. Illustrative example: if a clinician leaves on a Friday and their license is removed on Monday, the export has to have run before Monday. Build that check into the offboarding checklist rather than relying on memory.
On the Mattermost side, deletion and export behavior come from your own configuration, so you must confirm the message retention, file retention and export settings in the deployment you run. Then run a restore test to show that content is removed on schedule and that backups restore with the results you expect. Mattermost releases a new server version in binary form on the 16th of each month, and each release has a support end date: v11.11 ends on 2026-12-15 and v12.0 ends on 2027-01-15. A line past its support end date is no longer supported, so retention settings must be retested after each upgrade. The Mattermost HIPAA security guide is the natural starting point for the settings to review.
The evidence an assessor asks for, and where each side produces it
Microsoft supplies most of the platform-side paper for Teams, but the evidence that binds your tenant is still yours to collect. Microsoft's Business Associate Agreement for Microsoft 365 is available by default through the Online Services Data Protection Addendum, and Microsoft Learn says it covers Microsoft Teams among Office 365 services. An assessor will want the record that applies to your tenant, so start with Microsoft 365 HIPAA and HITECH guidance.
- BAA position for the tenant: Microsoft defines the BAA terms; you must record that your tenant is under them and keep the accepted version in your contract file.
- Compliance scope pages: Microsoft publishes the HIPAA and HITECH scope. You must map the Teams features your staff actually use to that scope, because the page does not show your configuration.
- Admin configuration exports: Your administrators generate exports of retention, guest access and app settings. Date them and keep them with change tickets.
- Export API run records: The Teams Export APIs in Microsoft Graph need admin-approved application permissions, and Microsoft's export guidance documents the retention windows for deleted content. Your team produces the run logs and must schedule exports inside those windows.
- License and access review records: Exports require an active Teams license on each exported user, so keep license assignments and periodic access reviews.
Confirm that your BAA position covers every Teams feature you enable, and ask Microsoft's account team to confirm the scope in writing.
Self-hosting moves most of the platform evidence into your hands. Mattermost's HIPAA security guide describes controls you configure on your own servers, so the proof of each setting comes from your environment. Any BAA or assurance that applies to your deployment must come from Mattermost in writing, and it should be confirmed before you store protected health information on the platform.
- Vendor confirmation: Request written confirmation of any BAA or assurance for your deployment, and file it with the Data Processing Addendum you agreed to.
- Audit logs and sample exports: Show your audit logging configuration and sample exports from your own server. The logging guide explains the settings to capture.
- Push notification setting: Mattermost recommends a generic push notification description so protected health information does not appear on a locked phone. Record the value you set and a device test that confirms it.
- SSO, TLS and database encryption: Export your SSO and access records from the identity provider, plus your TLS and database encryption settings. You produce all of them.
- Backup, restore and upgrade records: Keep restore test results and upgrade logs with version and date. Mattermost releases server versions on the 16th of each month, and v11.11 support ends on 2026-12-15 while v12.0 support ends on 2027-01-15, so your records should show which line you run and when it leaves support.
Before your first assessment, confirm which of these your vendor paper covers and which your team must generate.
Some evidence falls on your organization whichever platform you choose. The Security Rule applies to covered entities and business associates for electronic protected health information under 45 CFR 164.302. Its administrative, physical and technical safeguards sit in 164.308, 164.310 and 164.312, and the organizational and documentation standards sit in 164.314 and 164.316. No chat vendor can produce these records for you.
- Documented risk analysis: Your team produces the analysis for the chat platform, its integrations, mobile devices and admin accounts. Vendor documents describe the software, not your risk.
- Policies mapped to the standards: Map each policy to the standards above. For each addressable implementation specification, record your assessment under 45 CFR 164.306(d), and if a measure is not reasonable and appropriate, document why and the equivalent measure you adopted.
- Training and incident response records: Keep training attendance, course content, incident response runbooks and exercise results.
- Physical safeguard records: Keep access and facility records for the devices and, for self-hosted systems, the data center or cloud facility that hosts the platform.
- Certification position: Read the HHS FAQ on certification and confirm with counsel what it means for your audit.
Ask your assessor which artifacts they expect and in what format, because one risk analysis and one policy set can serve either platform.
How evidence moves from each platform to the assessor
The diagram starts in two places. Teams messages sit in the Microsoft 365 tenant, where an admin can pull them through the Teams Export APIs, but only with admin-approved permissions and for users who hold an active Teams license. Mattermost data sits inside the organization's own boundary, across the server, PostgreSQL, backups, the log store and the policy repository. Both flows, plus the policy documents, feed one evidence pack owned by the compliance lead before it reaches the assessor. The BAA covers Teams as a contract layer outside the data path, and the organization owns every control on its own side. Check that backups, audit logs and policies can be retrieved in a form the assessor accepts.
Evidence flows from the Microsoft tenant and the organization's boundary into one pack.
Configuring Microsoft Teams or Mattermost for HIPAA before any PHI enters
This sequence sets the conditions that must hold before any protected health information reaches a team chat workspace. Each step produces a written record or a tested check, so the organization can show an assessor what it decided, configured and verified. The order matters because a missing contract or an unclear retention setting is hard to correct once patient data is already stored.
Confirm the business associate agreement scope
Ask the vendor in writing whether a business associate agreement is required for the exact product, plan, tenant or deployment model you will run, before any PHI is sent. Microsoft documents that the Microsoft 365 BAA is available by default through the Online Services Data Protection Addendum and covers Microsoft Teams among Office 365 services, so confirm that your tenant and license fall inside that coverage. For Mattermost, confirm whether the agreement and the Data Processing Addendum apply to a self-hosted build or only to a hosted subscription. Done when a signed agreement names the product and deployment model in scope and a copy is filed.
Check licensing, export rights and release line
Confirm that the license includes every feature the workflow needs and that the release line is still supported. For Teams, the Export APIs require an active Teams license on each exported user, so check the SKU for your region, since Microsoft introduced Microsoft 365 suites without Teams outside the EEA and Switzerland effective April 1, 2024. For Mattermost, pick the server line you will run and check its support end date: v11.11 is supported until 2026-12-15 and v12.0 until 2027-01-15. Done when the license record and chosen release line are filed with the change request.
Set generic push notification text
Set mobile push notifications so message content never reaches a locked screen. Mattermost's HIPAA guide recommends setting push notification contents to a generic description, so protected health information does not appear on a locked phone. For Teams, review the mobile notification and preview settings in your tenant policies and confirm the exact control names in current admin documentation. Test with synthetic messages containing made-up patient-style text on each mobile platform you support. Done when every test message shows only the generic line on a locked device and the settings are saved in the change record.
Lock down access control and offboarding
Connect the platform to your identity provider, enforce multifactor authentication, and limit who can create teams, workspaces and guest accounts. Write an offboarding procedure that removes platform access on the day a person leaves, including active sessions, guest access and any admin-approved application that can export data. For Mattermost, confirm which single sign-on options your edition includes before you rely on them. The identity team and the platform admin share ownership of this step. Done when a test account passes joiner, mover and leaver checks and each access change appears in the audit trail.
Enable audit logging and test exports
Turn on audit logging and decide where the logs are stored before go-live. Mattermost documents its audit logging in the administration guide, so confirm which events are captured, where they are written and whether they are forwarded to your central log store. For Teams, the Export APIs use admin-approved application permissions to pull 1:1, group, meeting and channel messages, plus meeting recording and transcript links, so run one export against a synthetic conversation and check that the output is complete and readable. Done when a test admin action appears in your log store and the test export matches the synthetic messages.
Set retention and prove restores
Set retention rules that match your records schedule, then confirm what happens to deleted content. Microsoft documents that Teams Export APIs can retrieve messages deleted by users for up to 21 days, and messages from deleted teams, channels and users for up to 30 days, after which they are hard deleted, so any longer retention needs a capture process that runs inside that window. For Mattermost, set message and file retention in the admin settings your edition provides, then confirm your backups hold data for the same period. Done when a restore of a test environment returns the synthetic messages and the records owner signs off on the retention decisions.
Configure encryption and backups for self-hosting
For self-hosted Mattermost, you own encryption in transit, encryption at rest, database and file store backups, and key custody, so document each control with the technology that implements it. Mattermost runs as a single Linux binary on PostgreSQL, so back up the database and the file storage location together and restore them as a pair. For Teams, Microsoft's compliance documentation describes the platform-side controls, so your work is to confirm tenant settings and to check whether the EU Data Boundary matters for your data residency commitments. Done when an encrypted backup has been restored in a test environment and the key custody record names an owner.
Document the risk analysis and map settings
Finish with a documented risk analysis that covers electronic PHI in the chat platform, then map each configured setting to the Security Rule standard it supports. The Security Rule sits in 45 CFR Part 164 Subpart C, with administrative safeguards at 164.308, physical at 164.310, technical at 164.312, and organizational and documentation standards at 164.314 and 164.316. For each addressable implementation specification, record whether it is reasonable and appropriate, and if it is not, document why and the equivalent measure you chose, as 164.306(d) requires. Done when every setting from steps one to seven has a row in the map, an owner and a retained record.
What do buyers ask before hiring help with Microsoft Teams or Mattermost for HIPAA?
What drives the cost of hiring help for Teams or Mattermost?
Cost depends on the scope you agree in writing, and DeployOpen does not publish a price list, so a quote follows from that scope. Each side has different cost components. Microsoft Teams licenses are charged per user according to the license SKU your tenant holds, and that spend goes to Microsoft. Mattermost costs come from the plan you choose plus the servers, storage, PostgreSQL database and backups you run in your own infrastructure. Administrator time is an internal cost on both sides, and evidence work such as policies, configuration exports and control mapping adds to it. Setup is largely one-time, while licenses, infrastructure and any retainer recur. Ask each provider for a quote that separates one-time work from recurring items and names the systems in scope.
How long does a HIPAA chat implementation take?
No duration can be stated responsibly before the scope is written, so the timeline should be part of that written scope. Effort depends mainly on three things: how identity is integrated, such as single sign-on with your identity provider, the number of users and channels to configure or migrate, and the edition and deployment model you choose. Confirm which Mattermost edition includes the SSO method you need before you plan. For Teams, much of the work sits in tenant configuration, retention and export settings. For self-hosted Mattermost, add the server build, PostgreSQL setup, TLS, backup and restore testing. Ask for milestones, the dependencies on your identity team, and the change approval windows that will set the pace.
What does the client need to provide for the engagement?
Before work starts, you need a named owner with authority to approve changes, access to the Microsoft 365 tenant or the Mattermost servers, a documented decision on the Business Associate Agreement, existing or drafted policies, and an evidence owner who will hold the records an assessor asks for. The owner signs off on scope and settles conflicts between security controls and clinical workflow. Admin access should be limited to the work, with implementation accounts you can revoke at handover. Confirm early whether your organization already has a BAA covering the Microsoft 365 services you use, since Microsoft says its BAA is available by default through the Online Services Data Protection Addendum. Microsoft 365 HIPAA and HITECH guidance explains the coverage. For Mattermost, confirm with the vendor which contractual terms apply to your deployment before protected health information goes onto it.
Can our team configure Teams or Mattermost without outside help?
Yes, for many configuration tasks, a capable administrator can work through the Teams admin settings or the Mattermost system console without an implementation partner. The skills gap sits mainly in the self-hosted layer. Running Mattermost needs internal skill in PostgreSQL administration, TLS certificate management, backups with tested restores, and upgrade testing, because Mattermost publishes a new server version on the 16th of each month and each release line has a support end date. Teams has its own operational work, including retention policies, export configuration through the Teams Export APIs, and admin-approved application permissions. Ask whether your team can produce the evidence, such as configuration exports, change records and restore test results, without relying on one person who knows the system. If not, outside help can focus on evidence and testing.
Does DeployOpen sign a BAA or certify HIPAA compliance?
No. DeployOpen does not sign a Business Associate Agreement, and it does not certify HIPAA compliance or issue audit reports, attestations or certifications. DeployOpen prepares systems, controls and evidence so your compliance and security teams, and any independent assessor you engage, can review them. For background on whether the Security Rule requires a certification of compliance, read the HHS FAQ on certifying compliance. Ask your counsel which vendors and service providers with access to systems holding protected health information need a BAA, and have that decision made before the engagement starts. The implementation scope should then reflect those agreements.
What does ongoing support look like after go-live?
Ongoing support is offered as a retainer, and it covers upgrades and continuous testing. A retainer makes sense when the platform keeps changing. Mattermost publishes a new server version on the 16th of each month, and each release line has a support end date, so a planned upgrade cadence matters. Confirm in the written scope what the retainer includes: how many upgrade cycles, who tests before a change goes live, how patches are applied, and how the evidence is refreshed for your next assessment. For Teams, ask which changes remain your responsibility, since Microsoft operates the service itself. Ask for response expectations in writing and make sure they appear in the quote.
What evidence will an assessor ask for from the chat platform?
An assessor will usually ask for evidence that maps to the Security Rule's administrative, physical, technical and documentation standards, and the chat platform is one source among many. Expect requests for access control and audit logging records, retention and deletion settings, encryption configuration, the risk analysis, and the documented decision for each addressable implementation specification. Under 45 CFR 164.306(d), an addressable specification requires an assessment of whether it is reasonable and appropriate, documentation if it is not, and an equivalent measure where that is reasonable. For Mattermost, its HIPAA guide recommends generic push notification text so protected health information does not appear on a locked phone, and your evidence should show that setting. Ask DeployOpen for the evidence list in the written scope, and confirm with your assessor which items they will accept.
How DeployOpen helps prepare, implement or migrate for HIPAA scope
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a HIPAA decision between Microsoft Teams and Mattermost, that means starting from the Security Rule controls your organization must meet and the evidence an assessor will request. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors issue any attestation.
How we scope
- The written scope names which Teams and Mattermost workspaces hold protected health information and who uses them.
- Scope records the BAA position for Teams and the Mattermost terms to confirm with the vendor.
- Scope maps each applicable Security Rule standard to an owner, a control and an evidence source, with addressable items documented.
How we build
- For a self-hosted Mattermost option, build covers the PostgreSQL database, file storage and network placement inside your environment.
- Build applies the generic push notification setting Mattermost's HIPAA guide recommends, so protected health information stays off locked phone screens.
- Build tests audit logging, access control and SSO against the requirements in the written scope before go-live.
How we hand over
- Handover delivers configuration records, a control-to-evidence map and runbooks your compliance and security teams can review.
- Documentation notes Teams Export APIs can retrieve user-deleted messages for up to 21 days, so retention timing is recorded.
- Handover includes a written list of open items the organization must still complete, such as its own risk analysis.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, which keeps reviews aligned with version changes.
- Mattermost v11.11 support ends 2026-12-15, so confirm which version your deployment will run at go-live.
- Support stays within the written scope, so any change to platforms, users or agreements is re-scoped first.
Sources and further reading
- 45 CFR Part 164 Subpart C, Security Standards for the Protection of Electronic Protected Health Information ↗
- Appendix A to Subpart C of Part 164, Security Standards: Matrix ↗
- HHS FAQ 2003: Are we required to certify our organization's compliance with the standards? ↗
- Microsoft 365 HIPAA and HITECH ↗
- Mattermost HIPAA security guide ↗
- Export content with the Microsoft Teams Export APIs ↗

