PeoplePickerWildcards SharePoint 2013 FBA using AD LDS

I have a SharePoint web app that is configured with AD LDS Role and Membership providers.  We are having issues getting the "peoplepickerwildcard" to work.  I believe I see the issue in the SharePoint ULS logs, where it says it can't retrieve the key and thus, doesn't create the correct wild-carded query later on.  If we enter the complete email address, it finds it and it can be added.

All of the web.config files (App, STS and SCA) have this section (the AspNetSqlMembershipProvider was there and we left it alone):

    <PeoplePickerWildcards>
      <clear />
      <add key="AspNetSqlMembershipProvider" value="%" />
      <add Key="LDAPMember" value="*" />
      <add key="LDAPRole" value="*" />
    </PeoplePickerWildcards>

"Fail to retreive Web.Config (SharePoint/PeoplePickerWildcards. Exception: Required attribute 'key' not found."

In this example, I'm searching for "edelga" which is the beginning of an email address.

07/29/2015 19:17:09.97*        w3wp.exe (0x1BE0)                               0x23B8        SharePoint Foundation                 CSOM                                  afxv6        Verbose         ...rty><Property Name="PrincipalType" Type="Number">5</Property><Property Name="QueryString" Type="String">edelga</Property><Property Name="Required" Type="Boolean">true</Property><Property Name="SharePointGroupID" Type="Number">0</Property><Property Name="UrlZone" Type="Number">0</Property><Property Name="UrlZoneSpecified" Type="Boolean">false</Property><Property Name="Web" Type="Null" /><Property Name="WebApplicationID" Type="String">{00000000-0000-0000-0000-000000000000}</Property></Parameter></Parameters></StaticMethod></Actions><ObjectPaths /></Request>        7ce41e9d-a88d-d04e-591c-24f9c508c8ec

Any insight is greatly appreciated!

Thanks...Russ

July 29th, 2015 8:02pm

Well, it's another day and I believe we have found the issue!  Turns out the word "key" was not in lowercase...it was capitalized as "Key."  This caused SharePoint not to recognize it and read it correctly.

Problem solved!

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2015 2:25pm

Hi,

Thanks for your sharing. It will help others who stuck will the same issue.

Best Regards

July 30th, 2015 9:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics