Article ID: 2461628 - Last Review: May 2, 2012 - Revision: 6.0 A federated user is repeatedly prompted for credentials when he or she connects to the AD FS 2.0 service endpoint during Office 365 sign-in
Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer. On This PageSYMPTOMSA federated user is repeatedly prompted for his or her credentials when the user tries to authenticate to the Active Directory Federation Services (AD FS) 2.0 service endpoint during sign-in to Microsoft Office 365. When the user cancels, the user receives the following error message: Access Denied CAUSEThe symptom indicates an issue with Windows Integrated authentication of the AD FS 2.0 service that is used to federate on-premises Active Directory Domain Services (AD DS) identities to Office 365 identities. This issue can occur if one or more of the following conditions are true:
Before you diagnose Kerberos issuesBefore you troubleshoot further, verify that the user name and password are not the cause of the issue.
Verify the causeTo verify that Kerberos problems are causing the issue, temporarily bypass Kerberos authentication by enabling forms-based authentication on the AD FS 2.0 federation server farm. To do this, follow these steps:Step 1: Edit the web.config file on each server in the AD FS 2.0 Federation Service farm
Step 2: Test AD FS 2.0 functionality
RESOLUTIONTo resolve the Kerberos issue that limits AD FS 2.0 authentication, use one or more of the following methods, as appropriate for the situation. Resolution 1: Reset AD FS 2.0 authentication settings to the default valuesIf AD FS 2.0 IIS authentication settings are incorrect, or IIS authentication settings for AD FS 2.0 Federation Services and Proxy Services do not match, one solution is to reset all IIS authentication settings to the default AD FS 2.0 settings.On each AD FS 2.0 federation server and on each AD FS 2.0 federation server proxy, use the information in the following Microsoft TechNet article to reset the AD FS 2.0 IIS virtual applications to the default authentication settings: http://technet.microsoft.com/en-us/library/cc733010(WS.10).aspx
(http://technet.microsoft.com/en-us/library/cc733010(WS.10).aspx)
The default authentication settings are listed in the following table.Collapse this table
907273
(http://support.microsoft.com/kb/907273/
)
Troubleshooting HTTP 401 errors in IIS 871179
(http://support.microsoft.com/kb/871179/
)
You receive an "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials" error message when you try to access a Web site that is part of an IIS 6.0 application pool Resolution 2: Correct the AD FS 2.0 Federation Service farm SPNNote Try this resolution only when AD FS 2.0 is implemented as a federation service farm. Do not try this resolution in an AD FS 2.0 stand-alone configuration.To resolve the issue if the SPN for the AD FS 2.0 service is lost or corrupted on the AD FS 2.0 service account, follow these steps on one server in the AD FS 2.0 federation server farm:
Resolution 3: Resolve Extended Protection for Authentication concernsTo resolve the issue if Extended Protection for Authentication detects a possible man-in-the middle attack, use one of the following methods:
Collapse this table
To disable Extended Protection for Authentication, follow these steps:
968389
(http://support.microsoft.com/kb/968389/
)
Extended Protection for Authentication To re-enable Extended Protection for Authentication, perform the following procedure for the IIS virtual applications that are listed earlier on all servers in the AD FS 2.0 federation server farm. To do this, follow these steps:
Resolution 4: Correct the CNAME DNS advertisementUse DNS management tools to replace each DNS Alias (CNAME) record with a DNS address (A) record. Also, check or consider corporate DNS settings when a split-brain DNS configuration is implemented. For more information about how to manage DNS records, visit the following Microsoft TechNet website:http://technet.microsoft.com/en-us/library/bb727018.aspx
(http://technet.microsoft.com/en-us/library/bb727018.aspx )
Resolution 5: Configure Internet Explorer as an AD FS 2.0 client for single sign-on (SSO)For more information about how to configure Internet Explorer for AD FS 2.0 access, see the following article in the Microsoft Knowledge Base:2535227
(http://support.microsoft.com/kb/2535227/
)
A federated user is prompted unexpectedly to enter their credentials when they access an Office 365 resource MORE INFORMATIONTo help protect a network, AD FS 2.0 uses Extended Protection for Authentication. Extended Protection for Authentication can help prevent man-in-the-middle attacks in which an attacker intercepts a client's credentials and forwards them to a server. Protection against such attacks is made possible by using Channel Binding Works (CBT). CBT can be required, allowed, or not required by the server when communications are established with clients. The ExtendedProtectionTokenCheck AD FS setting specifies the level of extended protection for authentication that is supported by the federation server. These are the available values for this setting:
The following tables describe how authentication operates for three operating systems and browsers, depending on the different Extended Protection options that are available on AD FS 2.0 with IIS. Note Windows client operating systems must have specific updates that are installed to effectively use Extended Protection features. By default, the features are enabled in AD FS 2.0. These updates are available from the following Microsoft Knowledge Base article: 968389
(http://support.microsoft.com/kb/968389/
)
Extended Protection for Authentication By default, Windows 7 includes the appropriate binaries to use Extended Protection.Windows 7 (or appropriately updated versions of Windows Vista or of Windows XP) Collapse this table
Windows Vista without appropriate updates Collapse this table
Windows XP without appropriate updates Collapse this table
For more information about Extended Protection for Authentication, see the following Microsoft resources: Configuring Advanced Options for AD FS 2.0
(http://technet.microsoft.com/en-us/library/hh237448(WS.10).aspx)
For more information about the Set-ADFSProperties cmdlet, visit the following Microsoft website:Set-ADFSProperties
(http://technet.microsoft.com/en-us/library/ee892317.aspx)
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
