synchronization

Forward e-mail synchronized with Active Directory Exchange Online

Creating forwarding emails (Synchronization with Active Directory)

Connect powershell

1-)$LiveCred = Get-Credential
2-)$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
3-)Import-PSSession $Session
4-)Connect-MsolService

Command

Set-Mailbox Contato –ForwardingSmtpAddress charles.santana@live.com –DeliverToMailboxAndForward $false

 

Contato = Mailbox that will receive forwarding to another email
charles.santana@live.com = E-mail address that will receive the forwarding mailbox contact