Skip to main content

Skype for Business keeps prompting credential.


Issue: Skype for Business keeps prompting credential.
Error message:
Exchange needs your credential. Until then, you might see outdated info in Skype for Business. Button shows "Enter credential".
 
Outlook integration error.
Skype for Business / Lync cannot connect to the Exchange server. Lync will attempt to retry the connection. History, voice mail and Outlook-related features will be unavailable.
Cannot connect to Exchange Web Services to retrieve Calendar and Out of Office Information.
Skype for Business/Lync is in the process of determining the location of Exchange Web Services. This process may take a few minutes.
Lync is experiencing connection issues with the Exchange server. Lync will attempt to repair the connection until it is fully restored. History, voice mail, and Outlook-related features might be unavailable or out of date until the connection is restored.

Resolution:
How Skype for Business client connect to Exchange?
Skype for Business/Lync client will discover the Exchange server using autodiscover for Skype for Business user determines where it should look for the Exchange server, it uses Autodiscover to find the user’s mailbox server and connect to it. If the Autodiscover service on whichever Exchange server the user’s mailbox resides is unavailable, the integration between Exchange and Skype/ Lync fails.
As soon as Lync has the correct mailbox server to connect to, it tries to authenticate by using the Skype for Business Online user credentials first. If those credentials fail, Lync prompts for credentials after you sign in. If the wrong credentials are entered, or the user clicks cancel, the integration between Exchange and Skype/Lync fails.

There are many reasons of the error in Skype for Business or Lync but you receive a message in Skype/ Lync that says it cannot connect to Exchange Server.
Sometime you're repeatedly prompted to provide a user name and a password to connect to Exchange.
Why Skype for Business prompts for credential to connect exchange?
Answer is you need to connect to Exchange services in order to get calendar and Free/Busy information via Exchange Web Services (EWS).
If Skype for Business / Lync doesn't integrate automatically with Outlook, Skype/ Lync prompts you for credentials before it lets you connect to Outlook to retrieve Calendar and Free/Busy information. And if you are prompted repeatedly after you enter your credentials to connect to Exchange Outlook.

There are so many reasons to prompting for credentials: here are the common reasons:
1.  Skype for Business / 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. So put proper Email address and password for to connect Skype for Business to Exchange to get require data.

2. Common troubleshooting step:
a.     Re-entering credentials.
b.    Deleting all saved credentials on the client computer.
c.     Make sure "Personal Information Manager" configured correctly.
d.    Open Skype for Business> Tools> Options> Personal> set the Personal information manager option to Microsoft Exchange or Microsoft Outlook.
 
e.     Restarting the Outlook and Skype for Business /Lync client resolves this issue. (Start Outlook first and the Skype for Business client).
f.      Make your SMTP (Outlook) address and SIP (Skype for Busines) address same.
g.     After the UPN, primary SMTP, and SIP address are configured correctly, repair or re-create the Outlook mail profile by using the new primary SMTP address. Then, restart Skype for Business/Lync and Outlook.
h.    Run "outlook.exe /cleanfreebusy" from command prompt. (you must visit directory where outlook.exe is located and then run this command.

3. Most common and important test is to browse your Exchange Web Service URL and see if you get correct xml page.
 
 
How to find EWS URL?
a.     Press Ctrl and right click on Skype for Business Icon > Select "Configuration Information".
b.    See the EWS URL like below:
·       EWS Internal URL: https:///ews/exchange.asmx 
·       EWS External URL: https:///ews/exchange.asmx
Make sure these URLs are correct and you are able to browse internal EWS on intranet and external EWS URL from internet. You should see the EWS XML document displayed in the web browser. See below Image.

4. If you are prompted for credential multiple time then, check firewall or a proxy is blocking Lync from connecting to EWS, you may experience symptoms such as repeated credential requests, stale Address Book Service (ABS), and intermittent Free/Busy presence issues.
To resolve this problem, verify that the user has the correct proxy configured in Internet Explorer.
a.     Start Internet Explorer.
b.    On the Tools menu, click Internet Options, click Connections, and then click LAN Settings.
c.     Make sure that the automatically detect settings option is selected. If your organization requires you to enter specific information for the proxy server or an automatic configuration script, contact your network administrator.
d.    Restart both Internet Explorer and Lync to check whether the problem is resolved. If the problem persists, go on to the next section.
5.    Make sure you correctly configured Outlook profile and selected the default profile to work correctly.

 

Thank you.

Comments

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…