SharePoint By Yagya Shree

SharePoint 2013: Publishing Feature Activation Issue

leave a comment »

Unable to activate the Publishing feature on the site http://(SiteCollection Url)/ . While enabling the feature, it fails with “Access denied” error and then the users (including the site collection administrator) are unable to login to the site , fails with same error as access denied.

SharePoint server 2013 with product version : 15.0.4649.1000

Error Messages Seen:
“Access denied”

It looks like the Super user account and Super reader account was NOT set properly.

Currently the displayed strings are as like below:

DomainName\ superuser
DomainName\ superread

But the displayed strings should be as like below if you are using claims authentication for the web application
Claims format :
i:0#.w| DomainName\ superuser
i:0#.w| DomainName\ superread

The following command was executed and found that the web applications are configured with portal super user account and portal super reader account, however the format was domain\username instead of Claims format.

Get-SPWebApplication | %{Write-Host “Web Application: ” $_.url “`nSuper user: ” $[“portalsuperuseraccount”] “`nSuper reader: ” $[“portalsuperreaderaccount”] “`n”}

We nullified the property values of portalsuperuseraccount and portalsuperreaderaccount using the below command

$wa = Get-SPWebApplication “http://(SiteCollection Url)/”

Followed the article and set the accounts using CA and PowerShell with right Claims format

$wa = Get-SPWebApplication -Identity “http://(SiteCollection Url)/”
$wa.Properties[“portalsuperuseraccount”] = “i:0#.w| DomainName\ superuser ”
$wa.Properties[“portalsuperreaderaccount”] = “i:0#.w| DomainName\ superread ”

More information:


Written by bajiraoshinde

February 12, 2016 at 7:15 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: