I have a farm with claim based / ADFS configured.. I have some Web Services running on it and the "EnsureUser(domain\name)" doesn't work, as people picker do.

I read a lot of stuff online, I try to follow up tutorial like this:



And to install solutions like:


This last throws an exception that I cannot understand ('cause the library is in gac):

Could not load type 'Microsoft.Office.Server.Audience.AudienceManager' from assembly 'Microsoft.Office.Server.UserProfiles, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.     at WingtipClaimProviders.AudienceClaimProvider.FillClaimsForEntity(Uri context, SPClaim entity, List`1 claims)     at Microsoft.SharePoint.Administration.Claims.SPClaimProvider.GetClaimsForEntity(Uri context, SPClaim entity)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperations.ClaimsForEntity(Uri context, SPClaimProviderOperationOptions mode, String[] providerNames, SPClaim entity)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.AugmentClaimsIdentity(IClaimsIdentity identity, SPClaim identityC...   

The thing that really I can't understand is WHY every example adds claims to the collection... Isn't possible to modify a claim and return it? I think of claim like InternalName to be "rewrite at runtime" from i#0.|domain\user to domain\user ?

Another thing I cannot figure out is why nobody created a package with a custom people picker... Does anybody has one to share?

  • 1
    I don't understand how a custom people picker control will help with a web service. Perhaps you could update the question to be a bit more clear... Commented Jun 29, 2012 at 16:38

1 Answer 1


After days of search I found this project:


To solve the problem programmatically I find out that I must add a prefix to the mails to search...

On Windows Auth look for "domain\user" was ok and also "[email protected]" with claim I must look for:

i:05.t|saml provider|[email protected]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.