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 [email protected]om –DeliverToMailboxAndForward $false

 

Contato = Mailbox that will receive forwarding to another email
[email protected] = E-mail address that will receive the forwarding mailbox contact

Deixe um comentário

Este site utiliza o Akismet para reduzir spam. Saiba como seus dados em comentários são processados.