Skip to main content

Lync needs your user name password to connect for retrieving calendar date from Outlook.


Issue: Lync keep asking Password to connect Outlook from externally.
Error Message:
Credentials are required
Lync needs your user name password to connect for retrieving calendar date from Outlook. 
 
Problem Statement:
My Lync works as expected from internally, work properly with Outlook. When Lync connect externally Lync keep asking credential however never accept the correct credential and keep getting password prompt.
Lync Sign properly however when it connect Outlook for Free/Busy and calendar information it give above prompt however never accept credential.
Why Lync try to connect?
Lync tries to connect Outlook to get following services.
  • Calendar and Free/Busy information from Outlook
  • Exchange Web Services (EWS)
  • Response Group Service
  • Address Book Service.
But some reason if Lync is unable to connect above services then Lync will show password prompt.
Resolution:
This issue occurs for multiple reasons, and in certain scenarios, it is the expected behavior. Lync generally prompts you for credentials only after you're signed in and when it must connect to an external service such as the Microsoft Exchange Free/Busy service or the Exchange Calendar service.
Basically Lync doesn't integrate automatically with Outlook, Lync prompts you for credentials before it lets you connect to Outlook to retrieve Calendar and Free/Busy information. Lync doesn't automatically connect to EWS, Lync prompts you for credentials before it lets you access the EWS URLs.
In my case Lync continues to prompt for credentials that means there's probably an issue with Outlook or with the Exchange services.
If the Exchange server or EWS is unavailable, this causes Lync to continuously prompt for credentials because it can't contact Exchange for authentication. To resolve this issue.
Already verified that Outlook has connectivity to the mailbox and I can EWS URLs (internal and external) correctly under Lync configuration (Press Ctrl key + Right click on Lync Icon and say ‘Configuration Information’). 
 
Able to resolve autodiscover record. autodiscover.domain.com – IP Address.
Environment Details: Exchange 2010, Lync Server 2010, TMG for Reverse Proxy. Lync 2010, Lync 2013, Outlook 2010, Outlook 2013.
When I checked authentication on exchange and TMG for Exchange Autodiscover found below:
Exchange Anywhere has -> Basic Authentication
TMG Web (Outlook Anywhere) Rule has -> Basic Authentication. 

As per Microsoft recommendation web rule must pass the request to Server for authentication.
TMG or Web publisher should not do authentication. To resolve my environment issue we did below configuration changes.
Exchange Outlook Anywhere configurations:
Log on to Exchange CAS server and Open Exchange PowerShell and Run the below command:

a.     Set-OutlookProvider EXPR -server $null Get-Outlookanywhere | set-OutlookAnywhere -clientAuthenticationMethod NTLM -iisauthenticationMethods NTLM

b.     Get-OabVirtualDirectory | Set-OabVirtualDirectory -IISAuthenticationmethods NTLM

c.      DO the IISReset on ALL CAS servers
Follow the below steps on TMG:
a.     Log on to the TMG server.

b.     Open Firewall and right click on Outlook Anywhere Rule

c.      Set on the Publishing Rule (not Listener) authentication "No Delegation, but Allow client to authenticate directly".

d.     Click on- APPLY. 

After making above changes our Outlook password prompt and Lync password prompt issue got resolved and working fine.

Thank you

Comments

  1. I was able to fix this by going into C:\Users\[YOURUSER]\AppData\Local\Microsoft\Office\15.0\Lync and delete the sip_[YOURUSER] folder and then restart lync. This prompted me to enter my user/pass one more time which then recreated the folder and no more prompts for user/pass!!!!!

    ReplyDelete
    Replies
    1. This didn't work for me. :(

      Delete

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…