Shuffle with Microsoft 365 mailboxes for phishing response

Reading a reported-phishing mailbox in Shuffle through the Outlook Office365 app and Microsoft Graph, with the tenant, permission and secret decisions that determine whether it works.

On this page

How Shuffle reads reported-phishing mail from Microsoft 365

Users report suspicious mail, and analysts want that mail triaged inside Shuffle without anyone opening the mailbox by hand. The supported method is the Outlook Office365 app, which calls the Microsoft Graph API over OAuth2. It authenticates through an Azure app registration that uses delegated permissions, so it acts as a signed-in user rather than as a standing application with tenant-wide mailbox reach. Your team must set three values for that connection: the tenant_id, the client_id and the client_secret. Nothing in the app supplies these for you, and the app cannot read mail until all three are correct.

Because Microsoft identity endpoints are tenant-specific, the Shuffle docs ask you to fork the Outlook app and enter your own tenant in its authentication settings rather than reuse a shared copy. Plan that fork as part of the build, and record who owns it, where it is versioned and how changes to the upstream app will be merged. The docs also suggest a client secret expiration of a year or more. Treat that as a starting point. Confirm the expiry date with your identity team, diarize the rotation and check that the account that created the app registration will still be employed and able to rotate the secret when it lapses.

Confirm the exact permission scopes and the consent model with your Microsoft 365 administrator before you build the workflow, because delegated access determines whose mailbox the playbook can reach. Ask whether the reported-phishing mailbox is a shared mailbox, a user's mailbox or a dedicated security mailbox, and whether the app registration needs admin consent in your tenant. Those answers decide who can grant access and which mail the triage playbook sees, so settle them before the first live message is processed.

What you need before connecting a Microsoft 365 mailbox to Shuffle

Connecting a reported-phishing mailbox to Shuffle depends on five things lining up: a known Shuffle version, an Entra ID app registration bound to your tenant, a mailbox the triage workflow can read, a network path from the runtime to Microsoft Graph, and a named approver for admin consent. Confirm each item in your own tenant before building anything.

Shuffle instance and version

Record which Shuffle release and Docker tag your team runs, and whether it is on a supported version. Shuffle stopped supporting versions older than v2.1.1 after January 31, 2026, so an older instance needs an upgrade before the mailbox work starts. Use the latest Docker tag for stable releases and confirm the tag in your Compose or Helm values, since the Outlook app is updated separately from the core platform.

Shuffle configuration docs

Entra ID app registration

The Outlook Office365 app authenticates through Microsoft Graph over OAuth2 using an Azure app registration with delegated permissions. Decide who owns that registration, where it is recorded, and how its client ID and client secret are stored. Confirm the exact Graph permissions listed in the app docs against your security baseline before you request them, because a broader grant widens what a compromised secret can read.

Outlook Office365 app docs

Tenant ID and forked app

Microsoft APIs are tenant-specific, so the Shuffle docs have you fork the Outlook app and set your own tenant in its authentication settings. Record the tenant ID, client ID and client secret together with their owner and expiry date. The docs suggest a client secret lifetime of a year or more, so put the renewal date on a calendar and assign a named person to rotate it before it lapses.

Reported-phishing mailbox

Choose the mailbox that receives user-reported phishing, such as a shared inbox or a dedicated security alias, and confirm the Entra ID app can read it through delegated access. Phishing triage parses inbound .eml attachments and can purge messages, so decide in advance whether the workflow may move or delete mail, and restrict the account to that single mailbox where your tenant policy allows it.

Network path to Microsoft Graph

The runtime that executes the Outlook app must reach Microsoft Graph and the Microsoft login endpoints over outbound HTTPS. If Shuffle runs on an isolated network or behind a proxy, test that path from the runtime host before building workflows. A hybrid setup with a local Orborus needs no inbound firewall ports, but outbound access still has to be verified and allowed by your egress policy.

Shuffle architecture docs

Admin consent approver

Confirm who in your organization can grant admin consent for the app's delegated permissions and who signs off on the scope. Name that approver, agree the change record, and keep the consent request tied to the specific permissions in the forked app. Without a named approver, the registration often stalls after the build team has already created the workflows.

Configuring the Outlook Office365 app step by step

This sequence takes a team from an unconfigured Shuffle install to a working read of a reported-phishing mailbox through the Outlook Office365 app. Each step closes with a check, so you know whether the tenant, permissions and secret are wired correctly before any triage workflow depends on them.

  1. Fork the Outlook Office365 app

    Because Microsoft APIs are tenant-specific, the Shuffle Outlook Office365 app documentation has you fork the app rather than point the shared app at your tenant. Your platform or security engineer makes the fork in your own Shuffle instance, so the authentication settings belong to your organization. Confirm the fork appears in your app list with its own version and that its authentication fields are editable. If the fork is read-only, check your user role and the app's ownership before continuing.

  2. Register an Azure app with delegated permissions

    In the Microsoft Entra admin center, your identity administrator registers a new application for Shuffle. The Outlook app uses the Microsoft Graph API over OAuth2 with delegated permissions, so grant only the mail permissions the phishing mailbox read requires, and confirm with the Microsoft documentation which permission names cover reading and moving mail for your scenario. Record the application (client) ID and the directory (tenant) ID from the app overview page. Check that the registration lists the permissions you chose with the expected status, and that your tenant's consent requirements are understood before testing.

  3. Create the client secret and record its expiry

    Under the app registration's certificates and secrets settings, create a client secret. Copy the secret value immediately, because Microsoft does not show it again after you leave the page. The Shuffle documentation suggests an expiration of a year or more, so set the expiry deliberately and add the expiry date to your credential rotation calendar. Confirm the secret appears in the list with the expected expiry date and that the value is stored in your password manager or secrets store, not in a ticket or chat thread.

  4. Enter tenant, client and secret in Shuffle

    In the forked Outlook Office365 app's authentication settings in Shuffle, enter the tenant_id, client_id and client_secret from the previous steps. Shuffle encrypts saved app credentials in OpenSearch, so these values are protected at rest, but the encryption depends on the SHUFFLE_ENCRYPTION_MODIFIER secret, which must stay unchanged. Save the authentication entry and confirm that the saved authentication shows as configured without displaying the secret value again. If the entry fails to save, check that all three values were copied without leading or trailing spaces.

  5. Complete the OAuth2 sign-in for the mailbox

    Start the OAuth2 flow from the authentication entry so the mailbox owner, or the account the delegated permissions were granted to, signs in with Microsoft and consents to the requested scopes. Use the reported-phishing mailbox or a dedicated test mailbox that the team is allowed to read. Confirm the authentication status changes to valid in Shuffle. If consent is blocked, the Entra admin consent setting or your tenant's user consent policy is the likely cause, and the identity team should review it before you retry.

  6. Run a test action against a known message

    Place a harmless test message in the reported-phishing mailbox, then run a single read action from the Outlook Office365 app inside a test workflow in Shuffle. Use a message whose subject and sender you already know so the result is easy to verify. Confirm the action returns the message metadata you expect, such as subject, sender and received time, and that the run shows as successful in the execution view. Do not connect the phishing triage template to production mail until this read succeeds.

  7. Confirm the read matches your triage needs

    Before you rely on the mailbox for triage, check that the test read returns the fields and attachments the phishing triage template needs. The template parses inbound .eml attachments, evaluates SPF, DKIM and DMARC header authentication, checks URLs and coordinates mailbox purge actions, so confirm your test message includes an attachment and headers that you can inspect. Record the tested app version, the permission set and the secret expiry date in your change record so the next rotation and upgrade have a reference point.

Why the Outlook app must be forked to set your tenant

Microsoft Graph authentication is tied to a specific Microsoft Entra tenant, so a single shared copy of the Outlook Office365 app cannot serve every organization. The Shuffle docs have teams fork the Outlook app and add their own tenant in its authentication settings, along with the tenant_id, client_id and client_secret that come from their own Azure app registration. The fork is the place where your tenant identity lives, so the phishing workflows that read the reported-phishing mailbox only work against the directory that issued the credentials. Confirm the tenant ID and the app registration in your own Entra admin center before you copy any workflow that depends on the app.

A wrong tenant rarely fails loudly. Token requests are issued by the directory the app points at, so a fork configured for the wrong tenant will either be rejected on authentication or read a mailbox you did not intend to read. Check the tenant and client values during testing, confirm that the mailbox the workflow reads is the reported-phishing mailbox in your own tenant, and make sure the test account used has the delegated access you expect. Keep the fork's configuration documented so an operator can see at a glance which tenant each Shuffle environment targets.

Forked apps are versioned like any other Shuffle app, so the fork you run is a copy that does not pick up upstream changes automatically. Decide who pulls upstream updates into the fork, how changes are tested against a non-production tenant, and when the client secret is rotated. The docs suggest a client secret expiration of a year or more, and the secret must be renewed before it lapses or every workflow using the app stops authenticating. Ownership of the fork should sit with a named team that handles version reviews, secret rotation and retesting, and that team should confirm the arrangement with its Shuffle administrators before go-live.

Mapping Entra ID values and mailbox fields into the Outlook app

This table pairs each Outlook app setting with its Entra ID source, the mailbox or message field it feeds, and whether the value is an identifier or a secret. Read it as a checklist for the forked app configuration, and confirm each field against the Shuffle Outlook Office365 app docs and your own tenant before the first run.

FieldEntra ID or mailbox sourceTypeWhat to confirm
tenant_idDirectory (tenant) ID on the Entra ID app registration overview pageIdentifierMatches the tenant that owns the reported-phishing mailbox, not a tenant used for testing
client_idApplication (client) ID on the same app registration overview pageIdentifierBelongs to the registration you forked for this tenant, with delegated Graph permissions granted
client_secretValue created under Certificates and secrets in the app registrationSecretStored only in the forked app's authentication settings, with an expiry date recorded in your calendar
Reported-phishing mailboxUser principal name of the shared or user mailbox that receives reportsIdentifierThe delegated account can read this mailbox and the mailbox is the one users actually report to
Message ID and folderGraph message identifier and parent folder of each reported messageIdentifierFolder names used by your reporting process match what the workflow queries
Message attributesSubject, sender, received time and internet headers returned by GraphMailbox dataHeader fields are returned in the message payload the triage template receives
Attachments (.eml)Attached message/rfc822 items, parsed for SPF, DKIM and DMARC resultsMailbox dataAttachments are included in the Graph response for each reported message and the template reads their headers
Purge action targetMessage identifier used by the mailbox purge stepIdentifierPurge permissions match the delegated scope you granted, and purges are tested in a non-production mailbox first

Delegated permissions and the mailbox access they grant

The Outlook Office365 app authenticates over OAuth2 against an Azure app registration and calls the Microsoft Graph API. The permissions it uses are delegated, which means Graph acts with the identity of the signed-in user rather than as the app alone. Any mailbox the signed-in identity can open becomes readable through the integration, so the permission list and the account behind it define the blast radius.

  • Read scope: Confirm which mail read permissions the app requests in the Outlook app docs, and whether it also requests write or send permissions that your triage does not need.
  • Mail folder access: Check whether the mailbox permissions allow reading only the folder where reported messages land, or the whole mailbox.
  • Purge actions: Identify any permission that allows moving or deleting messages, since the phishing triage template coordinates purge actions.
  • Offline access: Confirm whether the app requests refresh-related scopes and how long the resulting sessions remain valid.
  • Permission names: Verify every exact permission name against the Microsoft Graph permissions reference before you write it into a change request.

Before approving the app, ask your identity team to list the requested permissions in writing and map each one to a specific triage step, so nothing is granted for convenience.

How a reported message moves from the mailbox through Shuffle to triage

The flow starts when a user reports a suspicious message into the reported-phishing mailbox in Microsoft 365. The Shuffle runtime calls Microsoft Graph using the app registration in Azure, which holds the delegated permissions and the tenant_id, client_id and client_secret that the forked Outlook Office365 app needs. The retrieved .eml attachment is passed to the phishing triage template, which evaluates SPF, DKIM and DMARC and checks URLs before a purge action returns to the mailbox. Check the trust boundary at the Graph call and confirm which permissions the registration holds before the first run.

Trust boundaries between Microsoft 365, the Azure app registration and the Shuffle runtime.

What the phishing triage template does with each message

The phishing triage template processes each reported message in a fixed order: it parses the inbound .eml attachment, evaluates the SPF, DKIM and DMARC results recorded in the message headers, checks the URLs it contains, and then coordinates any mailbox purge action. The header checks are evaluations of what the receiving mail system already recorded, so they show whether the sending domain was authorized and whether the message was signed and aligned, but they do not prove the message is malicious. A message can fail alignment and still be legitimate, and a message can pass every check and still be a credential lure. The results are inputs for the analyst, who decides whether the case is phishing, spam or benign, and the template should be read that way from the first run.

The purge step is where the most damage can be done, because it removes messages from other users' mailboxes. Before enabling it in production, confirm what the template targets: the reported message only, or messages matching its sender, subject or URL across the tenant. Decide who approves a purge, add a human approval step or a scoping rule that limits the action to a named mailbox set, and confirm that the Graph permissions granted to the app match that scope. Check how the workflow behaves when the header parse fails, when a URL check times out, and when the purge call returns a partial result. Each of these outcomes should be tested in a non-production tenant with seeded messages before the template is pointed at a live mailbox.

Test at least these outcomes before enabling purge: a message that passes all three header checks but contains a malicious URL, a message that fails DMARC from a legitimate partner domain, a malformed or password-protected .eml attachment, a message whose URL resolves to a redirect chain, and a purge request that matches messages in more than one mailbox. For each, record what the workflow reports to the analyst, whether any purge runs, and what the audit trail shows. The Shuffle incidents docs describe the template's inputs and steps, and the exact action names and parameters should be confirmed against the version you deploy.

Client secret expiry and rotation for the Graph connection

How long should a Microsoft Graph client secret last for the Shuffle Outlook app?

The Shuffle Outlook Office365 app documentation suggests a client secret expiration of a year or more. Longer lifetimes reduce how often someone must rotate the secret, but they also keep a leaked value usable for longer. Choose a lifetime your security policy allows, then put the expiry date on a calendar and in your change system before the secret is created. Confirm the maximum lifetime your Microsoft Entra tenant policy permits, since organizations can restrict how long app secrets may last. Record which app registration and which Shuffle app instance each secret belongs to, because a tenant may have several.

What happens in Shuffle when the Graph client secret expires?

When the secret expires, Microsoft Graph rejects token requests from the app, so any workflow step that reads or purges mail through the Outlook Office365 app fails on authentication. Whether you notice quickly depends on how the workflow handles errors. A workflow with no error branch can stop at the failed action and leave the execution showing as failed, which is easy to miss if nobody watches executions. A workflow with an error handler or notification step can alert the on-call channel right away. Test the failure path on purpose after setup so you know which behavior you will get before a real phishing report arrives.

How do I rotate the client secret without breaking phishing triage?

Rotate before expiry, not after. Create the new secret in the app registration while the old one is still valid, then update the client_secret value in the Shuffle app authentication for the forked Outlook app. Run a test execution that performs a read-only Graph call, such as listing a test mailbox folder, to confirm the new value works. Only then delete the old secret in Entra ID. Keep the rotation window short enough that nobody is left guessing which value is live. If you run several Shuffle environments, rotate in test first and repeat the same steps in production.

Where does Shuffle store the rotated client secret?

Shuffle stores saved app credentials and API keys in its OpenSearch database, encrypted with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. When you update the authentication for the Outlook app, the new client secret is saved in that encrypted form, not in the workflow definition itself. Keep the rotated value out of workflow comments, exported JSON and chat messages. If you hold secrets in an external key management system, check whether your Shuffle version can reference it instead; confirm the approach for your release before planning around it.

Does changing SHUFFLE_ENCRYPTION_MODIFIER break the Graph connection?

Yes. Shuffle derives its encryption for saved app credentials from the SHUFFLE_ENCRYPTION_MODIFIER secret, and the configuration documentation warns that losing or changing it breaks all saved app authentications. The Graph client secret stored for the Outlook app would become unreadable, and every other app that holds saved credentials would fail the same way. Treat this value as a long-lived secret that is never rotated casually. Back it up in your secrets store before any upgrade or host change, and restore the same value if you rebuild the server. Rotating the Microsoft client secret does not require changing this modifier.

Can a rotation schedule be automated with a Shuffle workflow?

A workflow can check the expiry date and notify an owner, but it cannot safely create new secrets on its own without privileged Entra ID permissions, which broaden the blast radius if the platform is compromised. A practical pattern is a scheduled reminder workflow that posts to your change channel at fixed intervals before the expiry date, plus a test execution that confirms Graph still responds. Ask your identity team whether they can issue the secret and whether tenant policy limits secret lifetime, because those answers decide how much of the rotation can be scripted.

Who should own the Graph client secret and its rotation?

Assign a named owner from the team that administers the Microsoft 365 tenant, with a backup, and record that owner next to the app registration and the Shuffle app instance. The Shuffle operations team usually owns the workflow and the stored credential in Shuffle, while the tenant team owns the app registration and secret creation. Agree this split in writing before go-live. If an engagement covers the setup, ask whether rotation support is part of the written scope or sits under a later retainer, since that determines who answers the calendar reminder.

Hardening the mailbox integration

The Outlook Office365 app reads and can purge mail in a tenant, so its permissions, mailbox scope, secret handling and change history decide how much damage a compromised workflow or operator can do. The cards below are controls you can check in your Entra ID tenant, in Shuffle and in your repository, and each one reduces a different part of that risk.

Least-privilege delegated permissions

Grant the app registration only the Microsoft Graph delegated permissions that the phishing workflow calls, and nothing for reading or sending mail beyond that. Compare the consented scopes in the Entra ID app registration with the actions your workflows use, then remove any scope that no action needs. Confirm that the app is set to delegated rather than application permissions unless your design requires otherwise, because delegated access is limited to the signed-in account's mailbox.

Outlook app docs

Dedicated reported-phishing mailbox

Use a mailbox created for reported phishing, not an executive, shared operations or personal mailbox, as the account the workflow reads. Keep it out of the mail flow of normal staff so that purge actions cannot touch business correspondence. Check the mailbox's membership, forwarding rules and delegates, and confirm that the account has no access to other mailboxes. Document who owns the mailbox and how it is reviewed.

Restricted purge permissions

Limit who can run the mailbox purge action to a named group of security operators, and keep it separate from the group that edits workflows. In Shuffle, review which users can open and execute the workflow that contains the purge step, and require a human approval step before any purge runs. Test that an operator outside the group cannot trigger the action through the UI or the API key.

Incidents docs

Protected client secret

The app authenticates with a client secret, so store it in a secrets system instead of pasting it into workflow fields or a shared document. Set its expiry on a schedule your team can meet, and the Shuffle docs suggest a year or more, then record the expiry date in your renewal calendar. Confirm that the secret value is never printed in workflow execution output, and rotate it if anyone with access leaves the team.

Auditing actions in the mailbox

Turn on mailbox audit logging in Microsoft 365 so each message read, move or deletion made through the app is recorded against the service identity. Pair it with Shuffle's execution history for the same workflow runs, so you can match a purge to the message IDs, the operator who approved it and the time it happened. Test the match with one harmless message before relying on it during an incident.

Forked app configuration in version control

Because the app is forked to set your tenant, keep the forked app's configuration, tenant values and authentication settings in a Git repository with reviewed changes. Record the tenant ID, client ID and secret reference as configuration, never the secret value itself. Check that a fresh Shuffle instance can be rebuilt from that repository and that a change to the tenant setting goes through the same review as a workflow change.

Common failures when Shuffle cannot read the phishing mailbox

This table lists the failures most likely to stop the Outlook Office365 app from reading a reported-phishing mailbox, with the likely cause and first fix for each. Work down the rows in order, because tenant and consent problems are usually cheaper to check than network or identity mismatches. Confirm the exact error text against the Outlook app docs before changing anything in the fork or the Azure app registration.

FailureLikely causeFirst fix
Wrong tenant ID in the forkThe forked app still points at another tenant, or the tenant ID was copied from the wrong directory.Compare the tenant ID in the fork's authentication settings with the directory ID shown in Entra ID, then re-authenticate.
Missing admin consentDelegated permissions were added to the app registration but a tenant administrator never granted consent.Have a tenant administrator grant consent for the registered permissions, then retry the connection.
Expired client secretThe client secret reached its expiration date, which the docs suggest setting to a year or more.Create a new client secret in the app registration, update the app credentials in Shuffle, and record the new expiry date.
Delegated permission gapThe app requests permissions that do not cover reading the reported-phishing mailbox or its messages.Compare the granted delegated permissions with the Outlook app docs and add only the missing ones, then re-consent.
Blocked egress to Microsoft GraphThe Shuffle backend or the Orborus runtime cannot reach the Microsoft Graph endpoints because of a firewall or proxy rule.Test outbound HTTPS from the runtime host to the Graph endpoints and allow them through the proxy or firewall policy.
Mismatched mailbox identityThe workflow targets a mailbox address that differs from the account the delegated token represents.Check that the mailbox identifier in the workflow matches the user principal that signed in, and correct the input.

Questions teams ask before connecting Microsoft 365 mailboxes to Shuffle

What drives the cost of connecting a Microsoft 365 mailbox to Shuffle?

The cost follows the amount of tenant work, testing and handover, not a fixed fee. The main drivers are how many mailboxes and tenants are involved, whether you need a forked app for each tenant, how many triage actions you want to automate, and how much testing against real reported-phishing samples your security team expects. Shuffle's own licensing is priced on app runs, meaning actions that actually execute in a workflow. Triggers and skipped actions are not counted, and users, apps and workflows are unlimited, so the number of automated actions per message is a licensing factor to model. Ask any partner for a quote that separates one-time build and test work from recurring support, and that names who pays for licensing and infrastructure.

How long does setup and testing take for a Microsoft 365 mailbox connection?

The duration depends mostly on how fast you can get tenant access and approvals, not on the Shuffle work itself. The Outlook Office365 app needs an Azure app registration with delegated permissions, a tenant ID, a client ID and a client secret, and someone with the right rights in the tenant has to create and consent to it. If the tenant admin, mailbox owner and security approvers are available, the technical setup and a supervised test run can be scheduled in a short window. If approvals go through change control or a separate identity team, the calendar will be driven by those queues. Ask for a timeline that lists each approval as its own step, so you can see which items are on your side.

What must our team provide before the work starts?

Three roles need to be named before anything is configured. A Microsoft 365 tenant administrator must be able to register the Azure application, grant the delegated permissions and give admin consent where required. A mailbox owner, usually the security team that operates the reported-phishing mailbox, must confirm which mailbox the workflow reads and which actions, such as purging messages, are allowed. Someone must also take custody of the client secret, including where it is stored, who can read it and who is notified before it expires. The Shuffle docs suggest a client secret expiration of a year or more, so write down the renewal date and the person responsible for rotating it. Losing the secret stops the app from reading mail.

Can our in-house team connect Shuffle to Microsoft 365 without outside help?

A team that already runs Shuffle and has Microsoft 365 administration skills can usually complete the basic connection on its own. The Shuffle Outlook Office365 app is documented, and the fork-and-configure steps are the same for any tenant. The harder parts are the ones teams underestimate: deciding which delegated permissions to grant so they stay narrow, setting up the secret lifecycle, testing the phishing triage template against real .eml samples, and checking that purge actions only affect the intended messages. Teams that are new to Shuffle or to Graph permissions often spend more time on those checks than on the setup. A plain test plan with sample messages and a documented rollback will show quickly whether your team has the coverage it needs.

How does the phishing triage template handle each reported message?

The template parses the inbound .eml attachment, evaluates the SPF, DKIM and DMARC header results, checks the URLs in the message and coordinates mailbox purge actions based on that output. Your team should confirm how each verdict maps to an action before going live, especially for purges, because a purge that is too broad removes evidence or legitimate mail. Ask which verdicts trigger automatic purges, which require analyst review, and where the results are recorded. Check the template against your own mail flow, since authentication results depend on how your tenant and gateways add headers.

What security risks come with delegated access to a mailbox?

The main risk is that the connected identity can read and act on mail it does not need. Delegated permissions act in the context of a signed-in user, so grant only the Graph permissions the workflow uses and review them against the Shuffle Outlook Office365 app documentation. Store the client secret in a controlled location, limit who can view or change the Shuffle app configuration, and log workflow actions that touch mail. Reported-phishing mailboxes often contain sensitive content, so agree retention and access rules with your privacy and compliance owners before the first run.

When is it worth bringing in a partner for this integration?

Bring in a partner when the connection has to pass a formal review or spans several tenants, or when your team lacks time to test it. DeployOpen implements, customizes and hardens self-hosted open-source platforms in the client's own infrastructure, and can run testing of the workflow before it goes live. Engagements are fixed-scope, so the written scope should list the tenants, mailboxes, permissions, triage actions, test cases and handover material. Ongoing support and upgrades, including app updates and secret rotation, are available as retainers. Ask any provider to show how they will test purge actions and how they will hand over secret custody.

What should we confirm with Microsoft and Shuffle before we start?

Confirm the current Shuffle release you run, the Outlook Office365 app version it ships, and the Microsoft Graph permissions the app requests in your environment. Check the Shuffle Outlook Office365 app documentation for the exact configuration keys and the required tenant values, and confirm with your tenant administrator whether admin consent is needed for your chosen permissions. Also confirm your organization's policy on client secrets and their maximum lifetime, because that policy may set the renewal schedule for the integration.

How DeployOpen scopes this integration

DeployOpen plans the Outlook Office365 integration against a written scope agreed before work starts. The scope names the Azure app registration, the forked Shuffle app that carries your tenant, the delegated permissions the mailbox read path needs, the client secret rotation owner and date, and the phishing triage template settings that decide what happens to each reported message. Because the forked app and the Azure registration are both tied to your tenant, these decisions are made once with your identity and security team present, not left to whoever first clicks through the setup.

The scope also states who owns each piece after handover. Your team usually holds the Entra ID tenant, the admin consent decision and the secret store, while DeployOpen documents the fork, the workflow configuration and the test evidence. Ask for this split in writing, along with the mailbox or shared mailbox that receives reports, the purge rights the workflow will use, and the change record that will show when the client secret expires. Confirm with your Microsoft 365 administrators whether the delegated permissions require admin consent in your tenant, since that step gates everything else.

Testing covers the mailbox path end to end rather than the workflow in isolation. That means sending controlled test messages with .eml attachments into the reporting mailbox, confirming the trigger fires, checking that SPF, DKIM and DMARC results are read correctly from message headers, verifying URL checks, and confirming that any purge action removes only the intended message. It also includes a failure test, such as an expired client secret, so your operators know what the alert looks like before a real incident depends on it. Results are delivered as a written test record that your security team can keep with the change.

How DeployOpen delivers and supports Shuffle mailbox integrations

DeployOpen plans, builds, documents and supports the Shuffle Outlook Office365 integration inside your own Shuffle environment, so your team can see how mailbox access, tenant settings and phishing triage are configured. Each engagement starts from a written scope that names the mailboxes, permissions and workflow behavior covered.

How we scope

  • Confirm which reported-phishing mailboxes the workflow will read and who owns them.
  • Agree the Azure app registration, delegated permissions and tenant values in writing before work starts.
  • Record which triage template steps, purge actions and approval points are in scope and which stay manual.

How we build

  • Fork the Outlook Office365 app and set your tenant in its authentication settings, keeping the client secret in Shuffle's credential store.
  • Test the phishing triage template against sample .eml messages covering SPF, DKIM and DMARC results and URL checks.
  • Verify mailbox purge actions in a non-production mailbox before any action runs against reported messages.

How we hand over

  • Document the app registration, permission scopes, fork location and secret expiry date with the owner who renews it.
  • Deliver the workflow export, test cases and a runbook covering each triage outcome and its audit trail.
  • Walk your security and identity teams through the configuration so they can review it against their own controls.

How we support

  • Plan a renewal process for the client secret well before its expiry date, and confirm the reminder owner.
  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, if you want it.
  • Retest the workflow after Shuffle upgrades, Graph API changes or changes to your tenant's mail policies.

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.