Office 365: Make IT shared mailbox and forward

Modified on Wed, 7 Jan at 5:26 PM

Connect-ExchangeOnline
$primaryDomain = (Get-AcceptedDomain | Where-Object { $_.Default -eq $true }).Name
$itEmail = "IT@$primaryDomain"
New-Mailbox -Shared -Name "IT" -PrimarySmtpAddress $itEmail
Set-Mailbox -Identity $itEmail -ForwardingSmtpAddress "mikopia@mikopia.com" -DeliverToMailboxAndForward $true
Enable-OrganizationCustomization
Set-HostedOutboundSpamFilterPolicy -Identity Default -AutoForwardingMode On

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article