Office 365

/Office 365

Office 365 Exchange Online Forward email to multiple addresses

In General it is not possible to forward an email to multiple addresses.

This command can be used to set forwarding email by an administrator:

Set-Mailbox -Identity “” -DeliverToMailboxAndForward $true -ForwardingSMTPAddress

But this command does not accept more than one email so in case of a need to forward to multiple addresses either we need to create a distribution group to use its email as forwarding address or another way is to use inbox rules e.g.

New-InboxRule “Forward to Multiple Emails” -Mailbox -RedirectTo @(‘’,’’)

Useful Links

By |2018-11-26T14:14:15+00:00November 26th, 2018|EXOL, Office 365|0 Comments

Useful PowerShell Commands for Office 365 Administration


Get-MsolUser -UserPrincipalName xxxx


Get-Group -Identity xxxx

Get-DistributionGroup -Identity xxxx

Remove-UnifiedGroup -Identity

Set-DistributionGroup –Identity -AcceptMessagesOnlyFromSendersOrMembers((Get-DistributionGroup -identity + ““)

Set-DistributionGroup -Identity -RequireSenderAuthenticationEnabled $true

Azure AD Sync


Set-MsolDirSyncEnabled –EnableDirSync $true

Set-MsolDirSyncEnabled –EnableDirSync $false

To run form domain controller where ADSync is installed:

Start-ADSyncSyncCycle -PolicyType delta

Start-ADSyncSyncCycle -PolicyType initial




Get-MailboxPermission | where {$_.isInherited -eq $false}

Get-RecipientPermission -Identity

Get-Mailbox -SoftDeletedMailbox -ResultSize Unlimited

By |2018-05-28T11:22:04+00:00May 15th, 2018|Office 365, Powershell|0 Comments