Zammad and Microsoft 365 email with the Graph API

The Zammad Graph channel reads Microsoft 365 and shared mailboxes through the Graph API, using an Entra app registration and a folder picker. Plan for the From header change on outgoing mail before go-live.

On this page

Zammad Microsoft 365 integration: how the Graph API connects email

Support teams whose customer mail sits in Microsoft 365 or shared mailboxes need that mail to reach Zammad as tickets without anyone forwarding messages by hand. The Microsoft 365 Graph email channel connects those mailboxes through the Graph API, using an Entra app registration for access and a folder picker that selects the inbox folder Zammad reads. Zammad's admin documentation for the Microsoft 365 Graph email channel describes it as the future-proof way to connect to Microsoft 365, with better shared mailbox support that can save license costs. Confirm with your Microsoft 365 administrator which of your shared mailboxes need licenses under your tenant before you count on those savings.

This page covers the decisions made before and during the connection: which mailboxes Zammad should read, how the Entra app registration is set up and approved, which folder the picker should select, and how to test a mailbox before live customer mail arrives. It stays on the Microsoft 365 side of the integration and does not repeat the general email channel setup covered elsewhere in this series. Start the approval conversation early, because your tenant's policy on app registrations and admin consent can hold up the project before any Zammad setting is touched.

The main limit to plan for is the From header. With the Graph channel, Microsoft replaces the From header of outgoing email with the configured display name of the Microsoft 365 account, and the IMAP variant avoids this. For a shared support mailbox, customers may see the account's display name in place of the sender name your agents expect, so decide that display name before go-live and send a test reply to an external address. Also confirm how replies thread in your customers' mail clients before you commit the whole support queue to the Graph route.

Inbound mail is pulled through Graph, and replies leave under the account name

The diagram starts with a customer writing to a user or shared mailbox in Microsoft 365. The Zammad Graph channel then retrieves messages from the inbox folder you select through the Graph API, and Zammad creates or updates a ticket. The Entra app registration and the Zammad host sit inside the trust boundary, so review the app's permissions and who can reach the host. On the way out, an agent reply goes through the Graph API, and the From header carries the display name of the Microsoft 365 account, which you should plan for before agents start replying to customers.

Inbound retrieval from a selected folder and outbound replies through the Graph API.

Why the Graph channel is the path to plan for Microsoft 365

Plan for the Graph channel unless a specific requirement points the other way. Zammad's admin documentation for the Microsoft 365 Graph email channel describes it as the future-proof way to connect to Microsoft 365, so the Entra app registration, permissions and mailbox model should be designed around it from the start. Two features make the choice concrete. First, shared mailbox support is better on the Graph channel, and the documentation says this can save license costs. Confirm the licensing effect for your own tenant with your Microsoft 365 administrator before you count on the saving. Second, the Graph channel includes a folder picker for the inbox, so you select the folder Zammad reads instead of accepting a default.

The trade-off is sender identity. On the Graph channel, Microsoft replaces the From header of outgoing emails with the configured display name of the Microsoft 365 account. The IMAP variant avoids this replacement. If your customers, internal teams or auditors depend on seeing a specific agent or sender address in replies, decide that before you choose the Graph channel. Send a test ticket from a named agent to an external address, inspect the headers the recipient receives, and record what the recipient sees. Then decide whether a fixed display name is acceptable, or whether the sender identity requirement outweighs the shared mailbox and folder benefits.

Before you commit, confirm the channel's status in the Zammad release you plan to run. The Graph channel is documented in the admin documentation, but support status, available settings and behavior can change between releases, so check the release notes for your target version on the Zammad releases page and ask your Zammad contact about anything unclear. Then test the channel in a staging instance with a shared mailbox and a folder selection that matches production. Record the Zammad release number in your design document, so the channel choice is reviewed again when you plan an upgrade.

What the Zammad Microsoft 365 Graph setup needs first

Six items need an owner and a decision before anyone configures a mailbox in Zammad. Each card names who holds the item, and the list covers the version, data services, tenant access, mailboxes, network paths and the web entry point. Gaps in any one of them tend to surface at the first mailbox test.

Zammad release with Graph support

The Graph email channel only exists in releases that ship it, so the platform owner picks the Zammad line first. The releases page lists 7.2, with security releases 7.2.1 and 7.2.2, and 6.5.5 on the 6.5 line published in parallel. Confirm the latest patch on that page before you build, and confirm the Graph channel is present in the version you install.

Zammad releases

Database and cache stack

Zammad keeps its content in PostgreSQL and uses Redis for realtime websocket communication, so both must be provisioned before the mail channel is configured. The infrastructure or DBA team owns the database and cache, including sizing, backups and network access from the Zammad hosts. Check your planned versions against the minimum versions in the documented requirements, because older releases fall outside them. Treat those minimums as a floor for each host.

Software requirements

Microsoft 365 tenant access

Someone with rights to register an application and grant Entra ID consent must create the app that Zammad uses to read mail through Graph. The Microsoft 365 administrator owns this step and decides which application permissions the app requests, since those permissions set which mailboxes Zammad can reach. Confirm the exact Entra role your tenant policy requires, and record who gave consent so the grant can be reviewed later.

Mailbox and folder inventory

List every user mailbox and shared mailbox that Zammad will read, and note the folder for each mailbox, such as the inbox where customers write. The mail administrator owns the list, and the helpdesk lead confirms which mailboxes become intake points, since each one brings its own mail flow into the queue. The Graph channel offers a folder picker and handles shared mailboxes well, and it can save license costs, so list shared mailboxes separately from personal ones.

Graph channel docs

Outbound network paths

The Zammad application host must reach Microsoft's sign-in and Graph endpoints over outbound HTTPS, and it still needs internal paths to its database, cache and any search service you run. The network or firewall team owns these rules and should build the endpoint list from current Microsoft documentation and the Zammad setup guide. If outbound traffic passes through a proxy, confirm how Zammad reaches the internet before the first test.

Reverse proxy for the web interface

Nginx or Apache sits in front of Zammad and serves the agent web interface over TLS, so the web platform team owns the virtual host, the certificate and the public hostname. This path serves agents and is separate from the mailbox connection, which Zammad opens to Microsoft itself. Confirm the proxy settings your chosen install method documents, and test them with an agent login before go-live.

Zammad Microsoft 365 integration setup, step by step

This sequence takes a Microsoft 365 mailbox from inventory to a working Zammad channel that reads from the chosen folder and replies under the right sender name. Each step closes with a check, so the team knows whether it can move on before the next dependency is built. The exact permission names, credential types and menu paths come from the Zammad admin documentation, so keep that page open throughout the work.

  1. Inventory mailboxes and map queues

    The mail owner and the Zammad administrator list every address that will receive support mail, including shared mailboxes and aliases. For each Zammad group or queue, decide whether it gets a dedicated user mailbox or a shared mailbox. Zammad's admin documentation notes that shared mailbox support can save license costs, but confirm with your Microsoft 365 administrator that the mailbox type and the account you plan to use fit your tenant policy. Record each address, its owner and the group it feeds. The step is done when the team signs off a table that maps every mailbox to exactly one group and one owner, with no unassigned addresses.

  2. Register the application in Entra ID

    A Microsoft 365 administrator creates an app registration in Microsoft Entra ID for the Zammad connection. Name it so an auditor can tie it to this Zammad instance and keep it limited to that purpose. Copy the tenant identifier and the application (client) identifier from the overview page and store them in your secrets manager, out of shared documents. Confirm the menu path and the platform settings in the admin documentation before saving, because Entra labels change over time. The step is done when the registration exists and both identifiers are recorded for the channel you will create in step five.

  3. Assign Graph permissions and grant consent

    Add the Microsoft Graph permissions that the Zammad admin documentation names for the email channel, copying each permission name exactly as written there. A tenant administrator with the right to grant consent then approves them for the whole tenant. Do not add broader permissions to get a test to pass, because extra access is harder to justify in a later review. Check that every permission listed in the documentation shows a granted status. The step is done when no permission is pending and the admin consent state is granted for each one.

  4. Create the credential and record expiry

    Create the client credential that your security policy allows for this app registration. Confirm in the admin documentation which credential type the Graph channel expects before you choose one. Set the expiry to the longest period your policy permits, and create a renewal reminder with a named owner well before it lapses. Save the secret value in your vault at creation, because Microsoft does not display it again. Write the expiry date beside the mailbox inventory from step one. The step is done when the secret is stored, the expiry date is recorded with an owner, and the renewal reminder exists.

  5. Add the Microsoft 365 Graph email channel

    An administrator in Zammad opens the channel settings and adds the Microsoft 365 Graph email channel. Enter the tenant identifier, the application identifier and the credential from step four, then enter the mailbox address and select the group that matches your inventory. Use the menu path from the admin documentation, since Zammad labels can differ between releases. Save the channel and run any connection check the form offers. The step is done when Zammad reports a successful Graph connection and the channel shows no authentication error. If the connection fails, recheck the permissions and consent from step three before you change the secret.

  6. Select the inbox folder with the picker

    Open the folder picker on the channel and let Zammad list the folders in the mailbox through Graph. Choose the folder that receives customer mail, usually the inbox, and leave sent items, drafts and archive folders out of the selection. Open the same mailbox in Outlook on the web and compare the folder names and structure with the picker output. Save the selection once the two views match. The step is done when the folder list matches the mailbox you inventoried and the selected folder is the one customers write into.

  7. Set sender name and send test message

    Set the sender display name that customers should see on replies, then confirm the same name in the Microsoft 365 account settings. Microsoft replaces the From header on outgoing messages with the display name configured on the account, so the name in Zammad alone will not control what customers see. Send a test email from an outside address into the mailbox and confirm Zammad creates one ticket. Reply from the agent view and check that the reply arrives in the outside mailbox, threads correctly with the original message, and carries the ticket number your configuration expects. The step is done when inbound ticket creation, outbound reply and threading all pass.

How mailboxes, folders and sender identities map into Zammad

This table compares each Microsoft 365 object you will touch with the Zammad object it becomes and the decision you must make for it. Read each row left to right before you configure the Graph email channel, since folder, credential and sender settings are all chosen during setup. The main takeaway is that Microsoft replaces the From header on outgoing mail with the account display name, so set that name deliberately before go-live.

Microsoft 365 itemZammad itemDecision to make
User or shared mailboxEmail channel that receives mail for a queueShared mailbox support can save license costs, so confirm your licensing before choosing.
Inbox folder chosen in the folder pickerFolder the channel reads for incoming mailChoose the folder carefully and confirm which folders receive mail that should become tickets.
Entra app registrationChannel credentials for Graph API accessDecide who owns the registration and how its credentials are stored, rotated and reviewed.
Account display nameFrom header on outgoing mailSet the display name deliberately, since Microsoft replaces the From header with it.
Incoming sender addressCustomer record in ZammadConfirm how Zammad matches senders to existing customers before onboarding the mailbox.
Message thread in Microsoft 365Ticket and article in ZammadTest reply threading with sample conversations before you rely on it in production.

The from header limit and how to plan around it

With the Graph channel, Microsoft replaces the From header of outgoing mail with the configured display name of the Microsoft 365 account, and the IMAP variant avoids this. The sender name customers see is therefore set by the display name on the mailbox in Microsoft 365, so the agent who wrote the reply will not appear in it. Before go-live, decide the display name for each connected mailbox and each shared mailbox, and confirm it in the Microsoft 365 admin center. Then ask every team that filters or identifies senders, including customer mail rules, auto-sorting, and internal reports that match on the From name, whether they depend on the current wording. The Zammad admin documentation for the Microsoft 365 Graph channel is the reference for this behavior.

Test replies before go-live from a real agent account, sending to test mailboxes in each client your customers use. At minimum, cover Outlook on Windows, Outlook on the web, Gmail in a browser, Apple Mail or the iOS mail app, and one Android client. For each, check the sender name and address in the inbox list and in the message headers, whether the reply threads with the original conversation, whether it lands in junk or a filtered folder, and whether any sorting rule your customers use still matches. Record the results against the display name you set, so a later change to that name is a known change that you have already tested. Keep the test tickets in a separate group so they cannot reach real customers. If a client shows an unexpected name, do not add a fix on your side until you have confirmed that the fix is supported.

Ask Zammad, through your support channel, whether the From header behavior is unchanged in the exact release you will run. Give the version you deploy, for example a 7.2.x or 6.5.x build, and ask whether the Graph channel behavior changed in any later release. Get the answer in writing and file it with the go-live record. If Zammad confirms that a setting controls the From name, use it only once the admin documentation describes it. Until then, treat any mail rewrite, custom header, or Microsoft 365 transport rule as an unsupported workaround that you own and must retest on every upgrade. Repeat the check when you apply a security release, since fixes for the 6.5 and 7.x lines were published in parallel in October 2026.

Securing the Entra app and the mailboxes it reads

The Graph channel gives the Entra app standing read access to the mailboxes Zammad imports, so its safety depends on the permissions, secrets and admin rights around it. The five cards cover those controls in the order to set them up: scope the app, protect its credential, restrict who can change it, secure Zammad admin access, and review access as people change roles.

Limit the app's permissions

Grant the Entra app only the permissions the mail channel needs to read the mailboxes and send outgoing mail, and nothing for calendars, files or directory data. Application-level mail permissions can reach every mailbox in the tenant unless access is narrowed, so ask your Microsoft 365 administrators to confirm that scope before consent. Then check the Graph channel documentation to see whether access can be restricted to specific mailboxes in your tenant, and write down the result before go-live.

Graph channel docs

Store and rotate the credential

Keep the app credential in a secrets manager your team already operates, and limit which people and services can read it. Record the expiry date when the credential is created, because an expired secret stops mail retrieval until someone replaces it. Set a rotation schedule that fits your policy, then rotate the secret in Entra and update the channel in Zammad in the same change window so mail flow does not break.

Restrict app registration and consent

Decide who in your Entra tenant can register applications and who can grant admin consent to them. Keep both rights with a small group of administrators, and require a review of requested permissions before any consent is given. Keep a record of who consented, when, and to which permissions, so the mail app can be traced to an approved change. Confirm the current app registration and consent settings in your tenant before you connect the first mailbox.

Protect Zammad admin access

Administrators in Zammad can change channel settings, routing and user permissions, so their accounts need the strongest controls in the helpdesk. Turn on two-factor authentication for every admin account and set a session policy that limits how long a session stays active. Use the controls in the Zammad security hardening guide as your checklist, and confirm each setting on the version you run before you rely on it.

Review sign-ins and mailbox membership

Review Entra sign-in logs for the app and audit logs for changes to its permissions, secrets and consent. Check the shared mailbox membership of each mailbox the channel reads whenever someone changes role or leaves, so people who moved teams do not keep read access. Name an owner for this review and set how often it runs, because a one-time setup check will not catch later changes. Keep the results with the change records for the channel.

Zammad Microsoft 365 integration failures and first checks

This table lists six common failures when Zammad reads or sends Microsoft 365 mail through the Graph API, with the likely cause and the first check for each. Start from the symptom you see in Zammad and work across the row. Treat every cause as a likely explanation and confirm it in your own Entra ID and Exchange Online settings before you change anything.

SymptomLikely causeFirst check
No mail arrives after setupAdmin consent for the Graph application permissions was likely not granted, or the wrong mail folder is selected for the channelConfirm admin consent status on the Entra app registration, then check the folder picker selection in the Zammad channel
Fetch errors after a period of normal operationThe client secret or certificate used by the app has likely expired or was rotated without updating ZammadCheck the expiry date under Certificates and secrets in the app registration, then review the channel error log in Zammad
Mail lands in the wrong queueThe mailbox is likely mapped to the wrong channel, or the channel is linked to a group other than the intended queueOpen each Graph channel and confirm the mailbox address, the group assignment and the destination queue
Replies show the account display name in the From headerExpected Graph behavior: Microsoft replaces the From header with the display name of the Microsoft 365 accountCheck the account display name in Microsoft 365 and read the From header section of this page before changing the mailbox setup
Duplicate ticketsThreading is likely broken by replies from other clients, or by messages moved between folders that Zammad fetches againCompare the Message-ID and In-Reply-To headers of the duplicates, and check whether the same message sits in two monitored folders
Shared mailbox unreadableThe app likely lacks access to that shared mailbox, because the Graph permission was not applied to itConfirm the app's access scope for that mailbox in Exchange Online, then test a read from the channel after the change

What buyers ask before hiring help for Zammad Microsoft 365 integration

What drives the cost and effort of a Zammad Microsoft 365 integration?

The main cost drivers are the number of mailboxes and folders Zammad must read, the design of your shared mailboxes, the Entra consent and governance steps, the testing of replies, and the current state of your Zammad deployment. Each one adds configuration, review and test work. A single mailbox with one inbox folder is the simplest case. Several shared mailboxes with multiple folders, a tenant where admin consent needs approval from a separate governance team, or an older Zammad installation that must be upgraded first will each extend the work. Ask for a written scope that lists every mailbox, every folder, each consent step and each reply test. Because the Graph channel replaces the From header with the display name of the Microsoft 365 account, reply testing should check how outgoing messages appear to customers.

What is one-time and what recurs after a Zammad Microsoft 365 setup?

One-time work covers the Entra app registration, the Zammad channel setup, folder selection and the test run before go-live. Recurring work covers rotating the client credentials the app uses, since credentials expire and must be renewed on a schedule, and applying Zammad patches as they ship. Zammad published security releases for both its 6.5 and 7.x lines in October 2026, so patching is an ongoing task, not a single event. Assign an owner to each recurring item before go-live. Ask any provider to state in the quote which items sit inside the fixed scope, which items your team takes over for ongoing operation, and whether a retainer would cover the recurring work.

Can our internal IT team connect Zammad to Microsoft 365 without a partner?

Yes, an internal team can do it if it has Entra admin rights, a test mailbox and the Zammad admin documentation for the Microsoft 365 Graph channel. The work is a sequence of tenant configuration, channel setup in Zammad, folder selection and reply testing, which an administrator familiar with Zammad can follow. The harder part is usually governance. Someone with the right Entra role must approve the app permissions, and the team needs a test mailbox where messages will not reach live customers. Before deciding, check whether the people who hold the credentials and handle rotation will also own the integration after launch. If that is unclear, a fixed-scope engagement with written deliverables can document the build so your team can run it afterward.

How long does a Zammad Microsoft 365 Graph integration take?

The duration depends on scope. The number of mailboxes and folders, the number of consent approvals your tenant requires, the state of the Zammad deployment and the amount of reply testing all change the schedule. Approvals held by people outside the project often set the pace more than the technical steps do. Ask any provider for a written timeline that lists each phase, the points where it depends on your Entra administrators, the length of the test window and what happens if an approval takes longer than planned. Fixed-scope work, agreed in writing before it starts, ties dates to a defined set of deliverables, which makes the timeline easier to check against progress.

What does self-hosted Zammad cost in licensing and support?

Self-hosted Zammad has no license fee, since the software is licensed under the GNU Affero General Public License version 3. Zammad sells optional self-hosted support subscriptions, listed on its pricing page. Business costs 2,999 EUR per year with 6-hour response times, Enterprise costs 5,999 EUR per year with 4-hour response times, and Corporation costs 9,999 EUR per year with 2-hour response times. These subscriptions are paid to Zammad. Integration work is a separate cost, quoted from your written scope and paid to whoever performs it. Confirm current subscription prices on the pricing page before you build a budget, and decide early which support tier matches the urgency of your helpdesk.

Does a shared mailbox change the Microsoft 365 license bill for Zammad?

Zammad describes the Graph channel as offering better shared mailbox support that can save license costs, but whether your Microsoft 365 bill changes depends on your tenant's license assignments and Microsoft's current terms. Confirm this with Microsoft licensing advisers or your Microsoft reseller before you fix the mailbox design. Ask them which shared mailboxes need a license, whether any connected account needs one to read mail through the API, and how the answer changes when you add mailboxes later. Record the approved design in the written scope so the build follows it and the licensing position is checked before work starts.

What must our team provide before a Zammad Microsoft 365 integration starts?

Your team provides the access and decisions the work depends on. You need an Entra administrator who can register the app and approve its permissions, a list of the shared mailboxes and the folders each one should read, and a test mailbox that does not reach live customers. You also need access to the current Zammad deployment, including its version, hosting details and backup status. Name an owner for credential rotation and a decision-maker who approves reply testing. Agree these items in the written scope before work starts, so a delayed approval or missing access does not stall the build after it begins.

How DeployOpen scopes and delivers the Microsoft 365 Graph setup

DeployOpen plans and implements Zammad inside your own infrastructure, including the Microsoft 365 Graph email channel that connects mailboxes and shared mailboxes without IMAP. The work starts with a written, fixed scope covering app registration, folder selection and the From header limitation. Ongoing support and continuous testing are available as retainers.

How we scope

  • Written scope that names each mailbox and shared mailbox to connect to Zammad
  • Tenant and Entra app registration details, permission scopes and who approves admin consent
  • Agreed handling of the From header limitation, documented before go-live with the sending owners

How we build

  • Entra app registration with the mail permissions the Graph channel requires, confirmed against Zammad's admin documentation
  • Folder selection for each inbox, set up and tested against sample messages before production
  • Shared mailbox routing, reviewed with your Microsoft 365 administrator against your current license position

How we hand over

  • Documentation of the app registration, mailbox mapping, folder selection and secret rotation steps
  • A written note on the From header behavior and how agents and customers will see replies
  • Walkthrough with your administrators so they can review the registration and rotate credentials

How we support

  • Ongoing support, upgrades and continuous testing available as a retainer after handover
  • Retesting the Graph channel after each Zammad upgrade, under a retainer if you choose one
  • Change requests for new mailboxes or folders, quoted against the written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.