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 “email@domain.com” -DeliverToMailboxAndForward $true -ForwardingSMTPAddress anotheremail@domain.com

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 email@domain.com -RedirectTo @(‘x@domain.com’,’y@domain.com’)

Useful Links

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook/forwarding-emails-to-multiple-email-accounts/6b5789f5-56cb-4cec-97a1-44c9c1c7185d

http://www.enowsoftware.com/solutions-engine/simplified-forwarding-settings-in-office-365

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

Useful PowerShell Commands for Office 365 Administration

Users

Get-MsolUser -UserPrincipalName xxxx

Groups

Get-Group -Identity xxxx

Get-DistributionGroup -Identity xxxx

Remove-UnifiedGroup -Identity

Set-DistributionGroup –Identity domain.com/OU1/OU2/OU3/group-name -AcceptMessagesOnlyFromSendersOrMembers((Get-DistributionGroup -identity domain.com/OU1/OU2/OU3/group-name).AcceptMessagesOnlyFromSendersOrMembers + “group-name@domain.com“)

Set-DistributionGroup -Identity domain.com/OU1/OU2/OU3/group-name -RequireSenderAuthenticationEnabled $true

Azure AD Sync

(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled

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

Mailbox

Get-Mailbox user@domain.com

Get-MailboxStatistics user@domain.com

Get-MailboxPermission user@domain.com | where {$_.isInherited -eq $false}

Get-RecipientPermission -Identity user@domain.com

Get-Mailbox -SoftDeletedMailbox -ResultSize Unlimited

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