Categories:
  🠪  General

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Security
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Scripts 🠪 Powershell
Exchange Online
February 16, 2024

Install ExchangeOnlineManagement if it isn't yet installed (run as Admin):
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0

Import module:
Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline -UserPrincipalName user@yourdomainhere.com
Enable-OrganizationCustomization


Install ExchangeOnlineManagement
https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.4.0


Enable Forwarding for all accounts:
Remote Server returned '550 5.7.520 Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555)'. Please advise, this is a show stopper high priority ticket. Please escalate.
https://learn.microsoft.com/en-us/answers/questions/465091/how-to-enable-organization-customization
Connect-ExchangeOnline -UserPrincipalName youremailher@yourdomainhere.com
Enable-OrganizationCustomization
Set-HostedOutboundSpamFilterPolicy -Identity Default -AutoForwardingMode On
Get-HostedOutboundSpamFilterPolicy -Identity Default


Keywords: Microsoft Online Exchange Hosted, Email Forwarding, E-Mail, Rule





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers