UCPrimer
  • UCprimer
  • About

Exchange2013 UM integration with Lync2013 fails

10/28/2013

0 Comments

 
In my lab setup I have Exchange 2013 CU1 server with Mailbox and CAS role installed. Exchange UM is enabled and integrated with Lync Server 2013 CU1. As Exchange 2013 does not have an Edge Transport role, the lab environment uses Exchange 2010 as the Edge Transport server. Below is the simplified diagram of the setup (firewalls and reverse proxy omitted).
Picture
Everything was working fine until Lync Phone Edition (LPE) devices and VVX Lync-compatible phones were no longer able to access the Exchange Voicemail subscriber access and auto-attendant like they used to. A quick test using the Lync client also had issues accessing the Voicemail and a snooper trace showed multiple following MS-Diagnostic errors:

"ms-diagnostics
: 15007;reason="Exchange Unified Messaging server did not respond to request"
"ms-diagnostics: 1038;reason="Failed to connect to a peer"
"ms-diagnostics: 15030;reason="Failed to route to Exchange Server"

However, Exchange calendar integration continues to work on the LPE and VVX phones. This suggested that UM integration was failing because of an recent attempt to update the Exchange 2013 server to CU2. That update failed during prerequisite checks with an error message saying that there were one or more Exchange 2010 servers in the organization that has not yet been updated to SP3. However the Exchange 2010 Edge transport server was already running SP3 so it was unclear why this message appeared. To resolve this issue, I performed the following steps:

1. Remove the Edge Subscription on the Exchange 2013 server using the cmdlet 
    Remove-EdgeSubscription - identity <edgeservername>
Picture
2. Proceed to update to Exchange 2013 CU2. After the Exchange2010 server Edge Transport was removed the CU2 installation was able to complete successfully:
Picture
3. Next the Exchange Edge Transport server was updated to Exchange 2010 SP3 Update Rollup 2. This should complete without any errors. At this stage, the old Edge Subscription still exists and attempts to remove it will result in a incompatible Exchange version error as shown below:
Picture
To resolve this the object must be manually removed by running ADSIEdit on the Edge transport server and connecting to the "Configuration" naming context and computer "Servername:50389" as shown below. Then navigate to CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=First Organization and delete objects which as a version of 88218628259840 as these are objects created by Exchange 2013. Typically these object will be in the Transport Settings->Accepted Domains container.
Picture
Picture
In my case, removing this single object with version 88218628259840 of was enough to successfully run the Remove-EdgeSubscription cmdlet on the Edge Transport:
Picture
4. To recreate the Edge Subscription, the cmdlet "New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml" is run on the Edge Transport Server and the file copied to the Exchange 2013 Mailbox/CAS server.  Then run the following cmdlet on the Exchange 2013 server to create the subscription:
New-EdgeSubscription -FileData ([byte[]]$(Get-Content -Path "C:\EdgeSubscriptionInfo.xml" -Encoding Byte -ReadCount 0))
-CreateInternetSendConnector $true -CreateInboundSendConnector $true -Site  "Default-First-Site-Name
"
Picture
To ensure edge sync is working we can use the Start-EdgeSynchronization cmdlet on the Exchange2013 server and obtain a success result:
Picture
5. Test Exchange UM on Lync client and Phones.. With the Edge Subscription issues resolved, Exchange UM integration was working once again on both the Lync clients and both the LPE and VVX phones. In summary, attempting to update Exchange 2013 CU2 caused Edge Subscription issues which in-turn affected Exchange 2013 UM and its integration with Lync 2013. Resolving those issues as shown in this article helped to get UM working again.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    UCPrimer

    Picture
    Picture
    Picture
    View my profile on LinkedIn

    Important Links

    Microsoft Teams Docs
    Microsoft Learn

    ​Microsoft MVP Blogs

    Michael Tressler’s Blog
    Michael’s MTR Quick Tip Videos
    Jimmy Vaughan’s Blog
    Jeff Schertz
    Adam Jacobs
    James Cussen
    ​Damien Margaritis

    Archives

    March 2025
    February 2025
    January 2025
    December 2024
    November 2024
    October 2024
    August 2024
    July 2024
    May 2024
    April 2024
    March 2024
    February 2024
    December 2023
    November 2023
    October 2023
    September 2023
    July 2023
    March 2023
    February 2023
    January 2023
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    June 2021
    April 2021
    March 2021
    December 2020
    October 2020
    September 2020
    August 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    March 2019
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    August 2017
    July 2017
    April 2017
    March 2017
    February 2017
    January 2017
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    January 2016
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    September 2012
    August 2012

    Categories

    All
    Edge
    Exchange 2013
    Hybrid
    Lpe
    Lync 2010
    Lync 2013
    Mobility
    Oauth
    Office365
    Polycom
    Ucs

    RSS Feed

    This website uses marketing and tracking technologies. Opting out of this will opt you out of all cookies, except for those needed to run the website. Note that some products may not work as well without tracking cookies.

    Opt Out of Cookies