Mês: julho 2013

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

Adding secondary SMTP users to synchronize with Active Directory

 

Synchronized objects in Active Directory, we can not make any changes in Exchange Online.
To add a user for secondary SMTP example:

[email protected] as primary SMTP and
[email protected] as secondary SMTP

Access:

image

Then select the object:

image

Right / Properties / Attributes

Locate ProxyAddress

image

image

add secondary SMTP:
SMTP: [email protected]

Ok in all screens can force synchronization or wait for the normal period synchronization of Exchange Online, it also serves to distribution groups.

Adding domains to your Safe Senders List Exchange Online “JunkMail”

Connection 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

 

Get-Mailbox | Set-MailboxJunkEmailConfiguration -TrustedSendersAndDomains contoso.com, xpto.com

Deleting User deleted Exchange Online

 

Connection for 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

 

After

Get-MsolUser -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin -force