Question

I'm trying to setup my SharePoint search service application to use ADFS authentication when performing crawl of specific source.

On the following URL in CA i'm adding new crawl rule: http://server:34567/_admin/search/editcrawlrule.aspx?appid={7239c83c-d15e-42b6-8d7b-dacac1a3c23a}

In Crawl Configuration section i've selected "Include all items in this path", in "Specify Authentication" section i've selected " Specify form credentials".

In "Form URL:" i'm adding URL of my ADFS proxy logon URL, in my case it is: https://domainname/adfs/ls/idpinitiatedsignon/ (also i've tried different forms - like https://domainname/adfs/ls/ and so on).

When clicking on "Enter Credentials" button nothing is happened.

When checking this action in Fiddler i've noticed that the first POST action is performed: POST /_admin/search/FormsAuthenticationProxyPage.aspx?appid={7239c83c-d15e-42b6-8d7b-dacac1a3c23a} HTTP/1.1 with 201 response code

then GET action are performed: GET /_admin/search/FormsAuthenticationProxyPage.aspx?appid={7239c83c-d15e-42b6-8d7b-dacac1a3c23a} HTTP/1.1 GET /_admin/search/FormsAuthenticationProxyPage.aspx?appid={7239c83c-d15e-42b6-8d7b-dacac1a3c23a} HTTP/1.1

and the last GET has 401 response code.

According to HTTP response code table, this one means "Unauthorized". But i'm trying simply to open first ADFS login page to enter credentials - in my opinon no authorization should be performed at this moment.

So the question is - how to properly setup new crawl rule to utilize ADFS login page and provided credentials?

Thanks.

Était-ce utile?

La solution

As per the my knowldge, you cant crawl with ADFS authentication. You have to have the windows authentication. SharePoint search only crawl the windows authentication. This is by design.

  • In order for the SharePoint Search to crawl content we need to configure “Windows Authentication” on at least one zone in the Web Application.
  • You can enable the windows authentication on the same zone.

Check this one

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top