Enable remote mailbox in a Hybrid config Office with 365

To enable a remote mailbox and still be able to migrate it between onpremises and office 365 you have to do the following steps :

Open a remote PowerShell connection to Office 365:

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

And run the following command :

Get-Mailbox UPN | fl ExchangeGuid

You should now get the ExchangeGuid copy this because you are going to need this later.
Open the Exchange Management Shell on-premises Exchange ServerĀ and run the following cmdlets:

Enable-RemoteMailbox UPN -RemoteRoutingAddress Username@domain.mail.onmicrosoft.com

Set-RemoteMailbox UPN -ExchangeGuid ExchangeGuid

Mailbox Migration Performance Analysis

Source : http://blogs.technet.com/b/exchange/archive/2014/03/24/mailbox-migration-performance-analysis.aspx


When you’re migrating on-premises mailboxes to Office365, there are a lot of factors that can impact overall mailbox migration speed and performance. This post will help you investigate and correct the possible causes by using the AnalyzeMoveRequestStats.ps1 script to analyze the performance of a batch of move requests to identify reasons for slower performance.

The AnalyzeMoveRequestStatsscript provides important performance statistics from a given set of move request statistics. It also generates two files – one for the failure list, and one for individual move statistics.

Continue reading

DNS and Firewall changes Lync Mobile with Office 365.

Some people report they are having problems connecting Lync Mobile to Office 365 environment.

What you have to do.

When you are the owner of the domain (so not xxx.microsoft.com) you have to create a Public DNS entry for you’re Lync mobile to work.

Type: Hostname: Destination:
CNAME lyncdiscover.Domainname.com webdir.online.lync.com

For Internal users there has to be a change on the firewall and internal DNS Server. On the external firewall you have to open the 5223 TCP port to the Outside.

On you’re internal DNS you have to create the following entry.

Type: Hostname: Destination:
CNAME lyncdiscoverinternal.DomainName.com webdir.online.lync.com

Hope this helps you connecting Lync mobile to your Office 365 environment.