Documentation

Help for MailMigrata and the whole suite

Connect Microsoft 365 to JustForwarding

This article explains how to connect an Exchange Online mailbox to one side of a JustForwarding pair.


Limitations

  • JustForwarding copies new mail only. It does not copy existing history. For history, use MailMigrata.
  • Each pair copies in one direction. The reverse direction (B to A) is a separate pair with its own trial.
  • JustForwarding checks the source about every 30 minutes. It is not real-time.
  • An unlicensed user has no mailbox and cannot be connected.
  • A work or school account is not a personal Outlook.com account.
  • Each shared mailbox needs its own pair.
  • An A-to-B pair does not copy replies that exist only on B. For those, create a separate B-to-A pair and watch both for loops.

Prerequisites

  • An Exchange license on the mailbox.
  • Admin consent, if your tenant requires it.
  • A decided pair direction. See Pair direction.

Use OAuth where possible. Tenant security defaults often block IMAP basic authentication.


Steps

  1. In JustForwarding, choose Microsoft 365 and complete the work or school sign-in.
  2. Confirm that the Inbox and other folders appear.
  3. Add each shared mailbox as a separate pair.
  4. Start the pair and wait one cycle before checking results.

Troubleshooting

  • Mailbox not found: The user has no Exchange license. Assign one, wait a few minutes, and retry.
  • AADSTS error: An administrator must consent to the app, or you chose the wrong directory.
  • IMAP blocked by security defaults: Use OAuth instead of basic authentication.
  • Loops between two pairs: Pairs in both directions can loop without Message-ID alignment. See Message-ID dedupe.

For older mail, use MailMigrata. It does not delete the source unless you choose to.


Related articles