Setting up Email Forwarding to Basecamp in Microsoft 365
Enable AI Animation
How to Set Up Email Forwarding to Basecamp in Microsoft 365
This guide walks through setting up external email forwarding from a Microsoft 365 shared mailbox to Basecamp (or any external address)!
Overview
Microsoft 365 has two layers that control email forwarding:
- Mailbox Forwarding Settings - Where you configure where to forward emails
- Outbound Spam Filter Policy - Controls whether external forwarding is allowed
Both must be configured correctly, or forwarding will fail with error:
550 5.7.520 Access denied, Your organization does not allow external forwarding. AS(7555)Step 1: Configure Mailbox Forwarding
Via Exchange Admin Center
- Go to https://admin.exchange.microsoft.com
- Navigate to Recipients → Mailboxes
- Select the shared mailbox (e.g.,
[email protected]) - Click Mail flow → Email forwarding
- Enable Forward all emails sent to this mailbox
- Enter the Basecamp forwarding address (e.g.,
[email protected]) - Optionally check Keep a copy of forwarded messages
- Save
Via PowerShell
# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName your-admin@domain.com -Device
# Set forwarding address
Set-Mailbox -Identity "[email protected]" `
-ForwardingSmtpAddress "smtp:[email protected]" `
-DeliverToMailboxAndForward $true
# Verify
Get-Mailbox -Identity "[email protected]" | Format-List ForwardingSmtpAddress,DeliverToMailboxAndForwardStep 2: Allow External Forwarding in Anti-Spam Policy
This is the step that’s often missed. By default, Microsoft 365 blocks external forwarding.
Option A: Add to Existing Policy (If You Already Have One)
If you already have an outbound spam filter rule allowing forwarding for other mailboxes:
Via PowerShell
# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName your-admin@domain.com -Device
# Check existing rules
Get-HostedOutboundSpamFilterRule | Format-List Name,From,State
# Add the new mailbox to an existing rule
Set-HostedOutboundSpamFilterRule -Identity "Your Rule Name" `
-From "[email protected]","[email protected]"
# Verify
Get-HostedOutboundSpamFilterRule -Identity "Your Rule Name" | Format-List Name,FromOption B: Create New Policy and Rule
If you don’t have an existing forwarding policy:
Via Microsoft 365 Defender Portal
- Go to https://security.microsoft.com
- Navigate to Email & collaboration → Policies & rules → Threat policies
- Click Anti-spam
- Go to Outbound policies tab
- Click Create policy → Outbound
- Configure:
- Name: “Allow External Forwarding”
- Automatic forwarding: Set to On - Forwarding is enabled
- Under Applied to, add the mailboxes that need forwarding:
- From:
[email protected]
- From:
- Save
Via PowerShell
# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName your-admin@domain.com -Device
# Create new outbound spam filter policy with forwarding enabled
New-HostedOutboundSpamFilterPolicy -Name "AllowForwarding" -AutoForwardingMode On
# Create rule to apply policy to specific mailboxes
New-HostedOutboundSpamFilterRule -Name "Allow External Forwarding" `
-HostedOutboundSpamFilterPolicy "AllowForwarding" `
-From "[email protected]"
# Verify
Get-HostedOutboundSpamFilterRule | Format-List Name,From,HostedOutboundSpamFilterPolicy,StateTroubleshooting
Check Current Forwarding Settings
Get-Mailbox -Identity "[email protected]" | Format-List Name,ForwardingAddress,ForwardingSmtpAddress,DeliverToMailboxAndForwardCheck Outbound Spam Filter Policies
# List all policies
Get-HostedOutboundSpamFilterPolicy | Format-List Name,AutoForwardingMode
# List all rules (shows which users/mailboxes each policy applies to)
Get-HostedOutboundSpamFilterRule | Format-List Name,HostedOutboundSpamFilterPolicy,From,StateCheck Remote Domain Settings
Get-RemoteDomain | Format-List DomainName,AutoForwardEnabledQuick Reference
| Setting | Location | Purpose |
|---|---|---|
| ForwardingSmtpAddress | Exchange Admin → Mailbox | Where to forward emails |
| AutoForwardingMode | Defender → Anti-spam → Outbound | Whether forwarding is allowed |
| HostedOutboundSpamFilterRule | Defender → Anti-spam → Outbound | Which mailboxes the policy applies to |
Common Errors
| Error | Cause | Fix |
|---|---|---|
550 5.7.520 Access denied... AS(7555) | Outbound spam policy blocking forwarding | Add mailbox to spam filter rule with AutoForwardingMode = On |
| Forwarding not working (no error) | ForwardingSmtpAddress not set | Configure mailbox forwarding in Exchange Admin |
Notes
- Changes typically take effect within a few minutes
- The “Default” outbound spam policy has
AutoForwardingMode = Automaticwhich blocks external forwarding - You must create a custom policy with
AutoForwardingMode = Onand apply it to mailboxes that need forwarding