Skip to main content

Setting Up Shared Inboxes for Sterling - Microsoft Exchange

This guide covers setting up an Exchange shared mailbox and connecting it to Sterling.

Written by Ludwig Wendzich
Updated today

What is a Shared Inbox?

In Microsoft Exchange, a shared mailbox is a mailbox that multiple people, and Sterling, can access.

A shared mailbox:

  • Has its own email address, like [email protected].

  • Can be opened by multiple users who have been granted access.

  • Does not usually require its own paid license, depending on size and your Microsoft plan.

Sterling can connect to a shared mailbox so it can read and send emails as part of your workflows.

Before you start

  • Confirm you have Microsoft 365 admin access.

  • Decide whether Sterling will authenticate using a dedicated service user (recommended) or an existing user that already has access.

  • If licensing comes up internally, note that shared mailbox licensing often depends on mailbox size and your Microsoft plan.

  • \

Recommended configuration

  • Use a dedicated service user (for example, [email protected]) for continuity.

  • Grant access only to the specific shared mailbox Sterling should manage.

Email flow diagram


1. Microsoft Exchange: Shared Mailbox ([email protected])

1.1 Create the Shared Mailbox

  1. Go to Microsoft 365 Admin Center: https://admin.microsoft.com

  2. Navigate to Teams & groups → Shared mailboxes

  3. Click Add a shared mailbox

  4. Enter:

  5. Save

📘 Microsoft Help:


1.2 Create the Sterling Service User (if needed)

You can authorise Sterling using your own user (if your user already has access to the shared mailbox).

If you prefer to use a dedicated service account, create one and grant it access to the shared mailbox.

  1. Go to Users → Active users → Add a user

  2. Assign a Microsoft 365 license that includes Exchange Online

📘 Microsoft Help:


1.3 Grant sterling@ Access to the Shared Mailbox (if using a service user)

  1. Go to Teams & groups → Shared mailboxes → accounts@

  2. Under Members, click Add members

  3. Add:

  4. Save

This user has full access and can authenticate via OAuth to read and send mail from the shared mailbox.

📘 Microsoft Help:


2. Sterling Setup: Enable the Communications Skill

2.1 Navigate to Skills

  1. Log in to Sterling

  2. Go to Skills → Communications

  3. Select Microsoft Exchange


2.2 Enable the Provider

  1. Click Enable

  2. The Email Handling configuration panel will appear


2.3 Configure Email Handling Instructions

Fill in the instructions that tell Sterling what to do with emails at each stage of a task.

Start of Task (examples)

  • Move the email into an “In Progress” folder

  • Mark the email as read

  • Send a reply acknowledging the email is being handled

End of Task (examples)

  • Move processed email to “Completed”

  • Add categories for record-keeping

  • Notify the vendor or requester

Sterling will use these rules to manage the mailbox automatically.


3. Connect the Mail Account (OAuth)

3.1 Microsoft Exchange

  1. Click Add Account

  2. Sign in using [email protected] if you are using a service account, or your own user if you are not.

  3. Approve Microsoft OAuth permissions

  4. Sterling will show available mailboxes

  5. Select the shared inbox:

  6. Save

Sterling will sync:

  • Emails from the selected mailbox

  • Follow your Email Handling rules

📘 Microsoft Help:


Troubleshooting

  • Sterling cannot see the shared mailbox: The signed-in user might not have access to the mailbox, or mailbox selection was not saved during setup.

  • Replies come from the wrong identity: Check whether the mailbox has the needed “send as” or “send on behalf” permissions, and confirm what Sterling is configured to do.


✅ Final Outcome

You now have:

  • An Exchange Shared Mailbox (accounts@)

  • Access granted to sterling@ (if using a service user)

  • Sterling connected via OAuth with mailbox selection

Sterling will follow your configured Email Handling behaviour during task execution.

Did this answer your question?