Click here to Skip to main content
13,457,738 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


Posted 19 Jul 2010

Search Server 2010 and Claims Based Authentication

, 23 Jul 2010
Rate this:
Please Sign up or sign in to vote.
How to get around access denied error with Search Server 2010 and claims based authenticated web application


If you install Search Server Express 2010 on a SharePoint farm that has a web application using claims based authentication, you will get access denied in Central Administration when trying to manage the search service application.


To work around this issue, the user logged in to Central Administration must be added with permissions directly on the claims based authenticated web application. This cannot be done in the central administration UI even if ntlm authentication is enabled on the web application. The claims based user is not perceived by SharePoint as the user logged on to the windows authenticated Central Administration, i.e. 'i: 0#.w|domain\user' is not the same as 'domain\user'.

Use the following powershell script to add the windows authenticated user to the web application:
$site = new-Object Microsoft.SharePoint.SPSite("")
$wa = $site.WebApplication
$user = "domain\user"
$policy = $wa.Policies.Add($user, $user)


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Tore Olav Kristiansen
Technical Lead IdentityStream
Norway Norway
My name is Tore Olav Kristiansen and I am a developer. I am passionate about making coherent people-friendly solutions.

I have worked as a software engineer for 18 years. I am the founder of IdentityStream.

I have a masters in computer science from the University of Stavanger, Norway.

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180323.1 | Last Updated 23 Jul 2010
Article Copyright 2010 by Tore Olav Kristiansen
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid