To download attachments from a shared mailbox automatically, add the shared mailbox’s address in Mail Attachment Downloader, pick Microsoft 365, tick This is a shared mailbox and sign in as yourself, with a work account that has access to it. From then on the attachments are saved to a folder, a network share or SharePoint on your schedule, without Outlook.
The examples use Contoso’s shared mailboxes invoices@contoso.com and ap@contoso.com, the user you@contoso.com and the share \\fileserver\Finance.
What you need
- The edition: shared mailboxes need a PRO edition, from PRO Backup up. Rules that send each kind of attachment to its own folder, and uploads to SharePoint, need PRO Rules Client or PRO Rules Server.
- Access to the mailbox: your work account needs Full Access to the shared mailbox, which your Microsoft 365 administrator gives in the Exchange admin center. If you can open it in Outlook, you have it.
- Windows: Windows 10 or later, 64-bit, on a PC, a server or a cloud VM. No Outlook needed.
How to save shared mailbox attachments automatically
1. Add the shared mailbox as an account
Click Add account and type the shared mailbox’s address, such as invoices@contoso.com, in Email address. The program picks the Microsoft 365 tile from the address, and the Server tab says it Connects with Microsoft Graph, the way Microsoft recommends.
2. Tick “This is a shared mailbox”
On the Server tab, tick This is a shared mailbox. The sign-in then asks Microsoft for access to shared mailboxes too, and lets you sign in as a different user than the mailbox’s address.

3. Sign in with your own account in the browser
Click Test Connection. Microsoft’s sign-in page opens in your browser. Sign in as yourself (you@contoso.com), not as the shared mailbox: a shared mailbox has no password of its own. Allow access, come back and click Continue, then Save. No password is stored; the program keeps a sign-in token, encrypted on your system.
Signed in to the browser with another account? Tick Private window. What the app asks for lists each permission in plain words.

4. Choose what to save and where
Next to Save location, type a network folder such as \\fileserver\Finance\Invoices, or click Browse…. Use the UNC path, not a mapped drive letter. The folder pane searches the Inbox; Choose other folders… adds others. The Account rule tab’s pages decide which emails and files to keep, such as only PDFs. Click Connect and Download, then set a schedule on the Schedule tab.
Each account has its own History, so the next run takes only new emails, and nothing is saved twice. See save Outlook attachments to a network folder for folders, file names and the service.
What permissions must IT grant?
Two things, and many organizations need both:
- Full Access to the shared mailbox: for the user who signs in, given in the Exchange admin center.
- Approval of the app: where users may not let apps in themselves. With This is a shared mailbox ticked, the app asks Microsoft Graph for Mail.ReadWrite and Mail.Send, Mail.ReadWrite.Shared (“Read and manage mail in shared mailboxes”), Mail.Send.Shared (“Send email from shared mailboxes”) and offline_access, so downloads keep running without signing in again. Sending is asked for so rules and email notifications can send from the mailbox.
Blocked by your organization? Copy for IT in the sign-in window copies the list to send your administrator. After a test, the account window’s Permissions tab shows what was Requested and what was Granted.

Use your organization’s own app registration
For a server that runs unattended, IT may prefer an app of its own to a user’s sign-in. In the account window, pick App registration as the sign-in and fill in the App registration tab: Client ID, Client secret and Tenant ID. With all three, the program signs in as your organization’s own app, with no sign-in page and no user account.
What IT sets up in Microsoft Entra ID:
- Register an app and make a client secret.
- Add the Microsoft Graph application permission Mail.ReadWrite (and Mail.Send if rules send email), and grant admin consent.
- Limit the app to the mailboxes it needs with RBAC for Applications in Exchange Online. Without it, the app can read every mailbox in the organization.
Configuration help on the tab opens the guide. App registrations are in the PRO editions.

Several shared mailboxes in one run
Add each shared mailbox as its own account, the same way. Then pick <multiple@multiple> in the Account box, click Choose accounts…, tick the mailboxes and click Validate and use selected. They are downloaded one after the other, each with its own settings. PRO Backup runs up to 3 accounts together, PRO Parser up to 5, and the PRO Rules editions any number.

With PRO Rules, one rule can serve every mailbox and file each one apart: a save folder such as \\fileserver\Finance\{ACCOUNT_EMAIL} gives each shared mailbox its own folder, and an Account condition makes a rule for one mailbox only.
Microsoft 365 shared mailbox attachments to SharePoint
A shared mailbox often belongs to a team whose files live in SharePoint. Add the Upload to cloud step to the rule, pick a SharePoint connection and a library folder, and each saved attachment goes there too, in subfolders named from the email if you like. See save email attachments to SharePoint, OneDrive or S3.
Around the clock, as a Windows service
With PRO Rules Server, the Windows service downloads the shared mailboxes 24×7, even when nobody is signed in: Schedule › Service schedule › Install service. The service runs as Local System, which can’t open most network shares, so run it as an account that may write to the share, or upload to a share with its own sign-in.

Exchange on your own server
For Exchange on your own network, pick the Exchange tile (Exchange Web Services). Shared mailboxes you have Full Access to show in the folder list next to your own Inbox, and Add all Inboxes under the folder pane’s Options… ticks the Inbox of each. For Microsoft 365, use the Microsoft 365 tile: Microsoft is switching EWS off for Exchange Online.
Questions people ask
Do I need the shared mailbox’s password?
No. A shared mailbox has no sign-in of its own. You sign in as a user with access, or IT uses an app registration.
Does it need Outlook?
No. It talks to Microsoft 365 directly through Microsoft Graph. Outlook doesn’t have to be installed or open.
Can it save the emails too, not just the attachments?
Yes. On the Account rule tab, What to save can be the email and its attachments, or the email only. To keep a searchable copy of the whole mailbox, see back up Microsoft 365 email.
Why does the sign-in say my administrator must approve the app?
Your organization lets only approved apps read mail. Click Copy for IT and send the list to your administrator.
Try it: download Mail Attachment Downloader and start with the free edition, or compare the PRO editions, each with a 30-day money-back guarantee.
Related
- Microsoft 365 and Exchange, including shared mailboxes: features
- Microsoft sign-in for Outlook, IMAP and Exchange
- Save Outlook attachments to a network folder automatically
- Multiple email accounts with PRO Rules
- Save email attachments to SharePoint, OneDrive or S3
Questions about this post? Contact us.


















