Quick Tip: Aries/LPE Phone / Calendar Integration Issues

2015/07/28

Problem: Although 3PIP phones continue to improve with each release we find that many companies are still going back to the CX series phones because they are built well and simply work.  Recently, I ran into an Exchange integration error that was different then the well documents yellow triangle of death (Jeff’s Post, Ken’s Post).  The environment wasn’t anything overly complex – SfB 2015 with Exchange Online (Office 365).

In my scenario, the phone would simply hang on “Connecting to Exchange Server” and never complete.  So I wouldn’t get far enough to even get the yellow triangle of death.

I knew the users Proxy Address/SMTP address was set correct as the Lync/SfB Client itself had no problem displaying the Exchange Calendar information.  So I started by using Andrew Morpeth’s awesome LPE Log Viewer to see if there was anything in the logs that would point me in the right direction.  Looking through the logs the only thing I found that was remotely interesting was this error:

Failed to find smtp email address from local contact model.  Waiting for contact card event from the local contact model.

That seemed odd, why was the phone looking for the users e-mail address from the contact card and not the UPN or Proxy Address.  So I decided it was time to go back to Active Directory and see if there was anything missing from the user.  When viewing the AD Attributes from a working user to a non-working user I found that the mail attribute for the non-working user was blank.  For some reason, the provisioning process missed assigning it for this user.

So I went and added the mail attribute to the account and after about 15 minutes the phone calendar integration started working.  No reboot was even necessary.

Solution: This was good for a single user fix but it appeared as though we have a few hundred users that were setup incorrectly in this environment.  Since the UPN and E-Mail addresses matched for all of the users the fix was simple:

Get-ADUser -Filter * -SearchBase “ou=usersou,dc=contoso,dc=com” | Foreach-Object {
Set-ADUser -Identity $_ -Email “$($_.userPrincipalName)” -Verbose
}

The moral of the story is this.  The Lync/SfB Client determines the e-mail address based on the users UPN and/or the Proxy/SMTP Address defined in Active Directory.  Aries/LPE Phones determine the e-mail address solely off the mail attribute in Active Directory.

 

Post Directory