IT OPS

Escalate failed shared-mailbox provisioning to PagerDuty with diagnostics

Triggered when a provisioning run reports failure, it captures the Exchange error, posts diagnostics to Teams.

CategoryIT Ops
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerProvisioning failure event received via webhookHTTP webhook
  • ActionRe-query Exchange Online for mailbox state and error detailShell
  • LogicClassify failure as benign duplicate or real incident
  • ActionOpen PagerDuty incident with diagnosticsPagerDutyPagerDuty
  • OutputLink incident in Teams IT Operations channelMicrosoft Teams

What it does

Catches shared-mailbox provisioning failures and routes them intelligently: benign cases like an already-existing alias are logged quietly, while real failures page the on-call IT engineer with full diagnostics.

When to use it

Use this alongside any automated provisioning flow so silent failures never leave a department waiting on a mailbox that was never created. It separates noise from genuine incidents that need a human.

How it works

  1. 1A provisioning job emits a failure event to the workflow webhook with the alias and raw Exchange error.
  2. 2A shell step re-queries Exchange Online to capture mailbox state and the full error detail.
  3. 3A logic step classifies the failure: duplicate/already-exists is treated as benign, everything else as an incident.
  4. 4Benign cases post a short note to Teams and stop.
  5. 5For real failures, a PagerDuty action opens an incident with the alias, error, and diagnostics attached.
  6. 6A final Teams message links the PagerDuty incident in the IT Operations channel so the team has context.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect ShellRun sandboxed commands inside the workspace.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  4. 4
    Connect Microsoft TeamsChannels, chats, files.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.