Scan to shared Office 365 mailbox fails — app-only auth & permissions
Joe B.
Reviewed for technical accuracy
Specialities: Microsoft 365 / Office 365 mail flow, Exchange Online, scan-to-email on MFPs, app-only OAuth, shared mailbox permissions
Scan to shared O365 mailbox fails — scan to email, app-only authentication, shared mailbox permissions & SMTP AUTH
Quick answer: the accepted fix
Accepted fix when scan to a shared Office 365 mailbox fails: authenticate the MFP with a **licensed service account** using **SMTP AUTH to smtp.office365.com:587 with TLS**, grant that account **Send As or Full Access** on the shared mailbox, and make sure the device sends from the shared address only after permissions are in place. For **app-only authentication**, give the Graph app **Mail.Send / Mail.ReadWrite** application permissions and scope it to the shared mailbox via an **application access policy** so messages are delivered and not silently dropped.
Why scan to shared O365 mailbox fails (SMTP AUTH, shared mailbox permissions, app-only auth)
Most **scan-to-email to shared mailbox** issues come down to how **Exchange Online** and **Microsoft 365** handle authentication and permissions. When you use **SMTP client submission** from a printer or scanner, the device authenticates as one mailbox but may try to send **as** a different address (the shared mailbox). Without **Send As** or **Send on Behalf** rights, Exchange returns **5.7.60 permission errors** or silently rejects the message. If you switch to **modern authentication / OAuth2** for SMTP or **app-only Graph**, the app must have the right **application permissions** and be restricted to specific mailboxes using **application access policies**, otherwise it might not be able to send to or impersonate the shared mailbox at all.
How to verify scan-to-email and shared mailbox permissions are working
To confirm that **scan to shared Office 365 mailbox** is configured correctly, send a test scan and then check both the **device status** and **Exchange Online message trace**. The device should show a successful SMTP submission, not a generic failure. In the Microsoft 365 admin center, use **message trace** to see whether the item was accepted, routed to the **shared mailbox**, or blocked with a **5.7.x permissions error**. If you use **app-only authentication via Microsoft Graph**, test the app separately by sending a basic message to the shared mailbox or writing a test item into its Inbox. When both SMTP/Graph calls succeed and the shared mailbox shows the message in the correct folder, you’ve validated that **app-only auth, permissions, and mailbox routing** are all aligned.
Scan to shared mailbox — quick troubleshooting tips
Most “scan to shared O365 mailbox fails” cases are misconfigured **SMTP AUTH**, missing **Send As** permissions, or incomplete **app-only permissions**.
Quick path: verify the **MFP SMTP settings** (smtp.office365.com, port 587, TLS), authenticate with a **licensed Microsoft 365 mailbox**, and grant that account **Send As** on the shared mailbox. Make sure the device’s address book points to the **shared mailbox email**, not the service account. If you move to **modern authentication** with OAuth2 or **Graph app-only**, configure the necessary **Mail.Send / Mail.ReadWrite** permissions and lock them to specific mailboxes using **application access policies** so the app can safely deliver scans into shared mailboxes without over-privileged access.
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, network engineers, Microsoft 365 admins, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specialises in your situation — from **scan-to-email issues** and **shared mailboxes** to everyday printer problems.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month by fixing **Microsoft 365 scan-to-email** issues quickly.
FAQ
Why does scan to a shared Office 365 mailbox fail while scan to users works?
When scan to a **shared mailbox** fails but scan to individual users works, it usually means the MFP authenticates with one mailbox but tries to send **as** the shared mailbox without **Send As / Send on Behalf** rights. Exchange Online then returns **5.7.x permission errors** or quietly rejects the message. Fixing **SMTP AUTH settings** and granting the service account **Send As** on the shared mailbox typically resolves it.
Do I need a license for the shared mailbox used for scanning?
In most cases, the **shared mailbox itself doesn’t need a license** as long as it stays within size limits and is accessed via delegated permissions. The **account you authenticate the MFP with** (service account or user) does need a Microsoft 365 license, because it has a mailbox and uses **SMTP AUTH / Graph / Outlook** to send or read mail.
Can I use app-only authentication (Graph) for scan to shared mailbox?
Yes, but you must configure **Graph application permissions** like **Mail.Send / Mail.ReadWrite**, grant admin consent, and then restrict the app to specific mailboxes using **application access policies**. Many MFPs can’t talk Graph directly, so you often introduce a small relay service that handles **OAuth2 client credentials** and delivers scans into the shared mailbox on their behalf.
What SMTP settings should I use for scan to email with Microsoft 365?
For **SMTP client submission**, use smtp.office365.com on **port 587 with STARTTLS**, authenticate with a licensed mailbox, and enable **SMTP AUTH** for that account. The device should send from an address that has permission to send as the desired mailbox (user or shared). This is the configuration Microsoft recommends for **printers, scanners, and LOB apps** sending mail through Microsoft 365.
Sources
- Microsoft Learn — Set up a multifunction device or app to send email using Microsoft 365 or Office 365
- Microsoft Learn — Fix issues with printers, scanners, and LOB apps that send email via Microsoft 365
- Microsoft Learn — Authenticate an SMTP application using OAuth (modern auth for Microsoft 365)
Filed under: Printers
Related articles
- Printer says “Offline” and won’t print — what should I check first?
- My printer “forgot” my Wi-Fi — the saved network is gone
- Printer Wi-Fi settings reset by itself — why did it forget my network?
- My printer keeps popping up “Set up Wi-Fi” again — why won’t it stay connected?
- Why does my printer need Wi-Fi setup again? It was working yesterday.
- My printer Wi-Fi setup keeps failing — what am I doing wrong?
- Printer Wi-Fi setup is confusing — why won’t it connect to my network?
- Printer Wi-Fi setup is too complicated — what do I check first without messing it up?