Skip to main content

Unable to see Lync contacts on iOS and Android.


Issue: Unable to see Lync contacts on iOS and Android.
Error: No specific error, just shows Lync contact blank on mobile devices.

Problem Statement:
Using UCS (Unified Contact Store) however recently Lync contacts stopped displaying on iOS, Android, Windows App etc.
Lync contacts shows on Windows Lync 2013 client, Skype for Business client however not showing on mobile devices, iPad etc.
EWS (Exchange web services) is working fine on iOS, android, windows app device as calendar information shows correctly.
Resolution:
You can follow below steps in order to troubleshoot this issue.
Note: In order to test below all mentioned commands you may need CsAdministrator and RTCUniversalServerAdmins group permission.
1.    Browse EWS URL (external) from mobile device and see the result. If EWS is not working then work with Exchange admin and correct EWS issue.
In my case EWS URL was browsing correctly. EWS response looks like the below image.
 

2.    Lync contact not showing on only mobility devices hence check the below:
A.    Check Lync iPhone log. I was seeing “Get” request from client for Contacts and Group and seeing “Post” response from server however contact not display on Lync client on mobile device.
B.    IIS log shows 404 errors hence did IIS reset on all Front End Server.
a.     IISREST.
b.    Repair IIS URL rewrite module (Select IIS URL rewrite module and right click it, you will see repair option, > Select Repair on Frontend servers.
c.     Still issue persist. 

3.    Later Tested UCS, so there no Authentication error however test failed. See below.
PS C:\> Test-CsUnifiedContactStore -UserSipAddress bilag@mydomain.com 

-TargetFqdn "Lyncpool1.mydomain.com" -UserCredential $cred Target Fqdn   : lyncpool1.mydomain.com
Result        : Failure
Latency       : 00:00:03.3708299

Error Message : Contacts notification was not received within 50 seconds.

4.    Now test exchange connectivity:
Test-CsExStorageConnectivity -SipUri Bilag@mydomain.com 

PS C:\> Test-CsExStorageConnectivity -SipUri "sip:bilag@mydomain.com"
Test-CsExStorageConnectivity : ExCreateItem exchange operation failed,

code=574, reason=StoreContext{traceId=[1687025949],

activityId=[3936b2b9-e0bb-4b05-b0e7-bdf8d9a6eca1]}StoreException:

code=ErrorUnhandledException, reason=Wrapped callback failed --->

System.Web.Services.Protocols.SoapException: The application is missing a

linked account for RBAC roles, or the linked account has no RBAC role

assignments, or the calling users account is logon disabled.
 
 
Tried to invoke UCS rollback command however it give below error.
Invoke-CsUcsRollback –Identity “sip:bilag@mydomain.com
 
 
 
It shows application is missing a liked account for RBAC role. But there is no clear documentation on what RBAC role is missing.
 
Issue does look like a more general OAuth issue that is causing both the Test (CsExchangeConnectivity and CsUnifiedContactStore) and UCS rollback to fails. Looks like partner applications have a related account that may have some issue. 

5.    Now check partner application. Log on to exchange Server and Open Exchange Management Shell and check partner application.

PS C:\> Get-PartnerApplication 
Result:
AuthMetadataUrl: https://lyncpool.mydomain.com/metadata/json/1
Realm  : mydomain.com
UseAuthServer : False
AcceptSecurityIdentifierInformation : True
LinkedAccount : mydomain.com/Deleted Objects/LyncEnterprise-ApplicationAccount 

So issue is partner application liked account is deleted or not available. 

6.    In order to resolve this, we have two options:
a.     Restored deleted liked account.
b.    Setup / configure partner application again to get linked account create.
In my case linked account is not showing under recycle bin in Active Directory hence configuring partner application again to created partner application is best option.
Follow below steps to create partner application linked:
1.    Login to Exchange 2013, Open Exchange Management Shell.
2.    Go to path C:\Program Files\Microsoft\Exchange Server\V15\Scripts>
3.    Run below command:

C:\Program Files\Microsoft\Exchange Server\V15\Scripts>Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://Intwebsrv.mydomain.com.com/metadata/json/1' -ApplicationType “Lync"
 

4.    Run IIsreset from Exchange management shell agents all Exchange 2013 server name.
7.    Now time to check partner application and validate the same..
Run command:
Get-PartnerApplication 
And see the linked account and verify 

LinkedAccount : mydomain.com/Resources account/LyncEnterprise-ApplicationAccount 

8.    Then test Test-CsExStorageConnectivity -SipUri "sip:bilag@mydomain.com"
 Test passed. J
 

9.    Time to log on to Lync 2013 client on iOS, Android and Windows device and see the Lync contacts.

In my case contacts show correctly.

 

Thank you.

Comments

  1. There is a chance you're qualified to get a free Apple iPhone 7.

    ReplyDelete

Post a Comment

Popular posts from this blog

Outlook Add-in for Skype meeting getting disable after restarting Outlook.

Issue: Outlook Add-in for Lync meeting getting disable after restarting Outlook.
Problem Statement: Outlook Add-ins gets install automatically when Office 2013 installs (Lync and Skype for Business clients are part of Office package). Add-ins name is Lync Meeting Scheduling Outlook Addin or Skype meeting Add-in for Microsoft Office 2013. Sometime if other add-ins conflict with Outlook add-ins then outlook add-in keep getting disabled. And user has to enable it manually after Outlook restarts. 
Resolution: By default Lync Meeting Scheduling Outlook Addin or Skype Meeting Add-in for Microsoft Office 2013 installs wit load behavior "Load at Startup". However due to some conflict users Lync or Skype add-ins load behavior get changed to loaded instead of "Load at Startup" had to re-enable Lync Meeting Add-In in each time Outlook 2013 was started as it was not set to "Load at Startup". Look at the below screenshot. Now question is how we can change load behavior …

Unable to share desktop in Skype for Business?

Unable to share desktop in Skype for Business?
You can show your entire desktop or just a program to everyone in a Skype for Business Meeting, call, or instant messaging (IM) conversation. However sometime this feature does not work and give different errors.  Error message: ·Cannot start Desktop/Application Sharing due to network issues. ·An error occurred during the screen presentation. Resolution: There are multiple thing which may affect application/desktop sharing. 1.Make sure application / desktop sharing enabled on Skype for Business / Lync Server. SfB /Lync Control Panel > Conferencing > Conferencing policy > select Global or create new policy and set enable ‘Enable application and desktop sharing’. Refer below image. 2.Make sure your Skype for Business (Lync) client is updated with latest cumulative updates. Download latest update Skype (Lync) client. 3.Update your Video and Display drivers. a.Go to Start > Control panel. b.Search for Device Manager, and then open it. c.Find V…

Unable to login to Skype for Business client?

Unable to login to Skype for Business client? In order to sign-in on Skype (Lync) you must have login credential provided to you from your organization. ·Sign-in address: bilag@orgname.com ·User name: orgname\bilag ·Password: ************
Note: Orgname.com is my SIP domain name. Here are the most common mistake people make while sign-in on Skype for Business (Lync).
1.If you have login credential however still unable to sign-in then make sure you are putting proper login credential. Below error shows when you are wrong entering your sign-in address:
2.If you are writing correct Sign-in address however getting DNS error then contact administrator/ Support team there may be a DNS resolution or configuration issue. Administrator need to verify the SfB (Lync) AutoDiscover DNS records. 3.Sometime users password may expired/ lockout: Make sure that you password is not expire and lockout. If yes then call to helpdesk and reset your password / unlock. 4.Make user to have updated Skype for Business cli…