Errors ID4175 and WIF10201 in context of ACS

The purpose of this blog to present a couple of error messages I ran into during setting up a Single Sign-on from Active Directory to a web application using Windows Azure Access Control Service(ACS). I configured my Microsoft Active Directory Federation Services(AD FS) 2.0 server as an Identity Provider and setup my web application as…

4

Deploying Claims Aware Azure Applications using WIF

If you are deploying a claims aware application that uses Windows Identity Model whether first time or subsequently after an SDK upgrade there are many chances that you would hit the below mentioned error. —> System.Runtime.Serialization.SerializationException: Type is not resolved for member ‘Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. at System.AppDomain.get_Evidence() at System.AppDomain.get_Evidence()       at System.Configuration.ClientConfigPaths.GetEvidenceInfo(AppDomain appDomain, String…

0

ACS60021: The request has been terminated by the server (tenant exceeded rate limit)

In case you are using ACS aggressively sometime you may hit upon the following error.   ACS60021: The request has been terminated by the server (tenant exceeded rate limit). Trace ID: d80e94a4-8571-45cc-82f1-b900f7f3ce16. Timestamp: 2013-07-26 01:39:25Z  —– Exception —–  Expected:  Actual: System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. —>System.Data.Services.Client.DataServiceClientException: <?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?>  <error xmlns=”http://schemas.microsoft.com/ado/2007/08/dataservices/metadata”> <code></code> <message xml:lang=”en-US”>ACS60021:…

0

Delegation Object report “ACS90013: Object exceeded its maximum length”

In case ACS 2.0 is being implemented and following code is used to create a Delegation object for OAuth 2.0 as below  Delegation delegation = new Delegation() {                         NameIdentifier = userName,                         IdentityProvider = identityProvider,                         RelyingPartyId = relyingPartyId,                         ServiceIdentityId = serviceIdentityId,                                        };  svc.AddToDelegations( delegation ); An ACS exception message may be returned as follows  “<?xml version=\”1.0\”…

0

ID1113: The ACS service namespace: ‘<acsnamespace>’ and management key combination is invalid

  In Visual Studio 2012 when you configure ACS reference via “Identity and Access” for your application you are required to configure the ACS namespace with management key     Note: You can get the management key from ACS Management portal –> Administration –> Management Service –> Management Client –> Symmetric Key –> Show Key…

0

Windows Azure : ACS with ADFS2.0

Recently I was dealing with a case where the site say https://www.test.contoso.com/ which was working fine on a Windows Azure Web Role leveraging ACS for authentication started failing with the following error.    Server Error in ‘/’ Application. ——————————————————————————–   ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security…

0