SharePoint – August cumulative update and search results from anonymous web site

UPDATE – 05/12/2010

Executing this script is granting permission to anonymous user to collaborate – ie adding content on SharePoint sites. Be careful with it

 

As explained on my previous post, the SharePoint August Cumulative update is disturbing search results from anonymous SharePoint sites.

Here is an update, while Microsoft Support is still investigating:

the issue is coming from the SPWeb.AnonymousPermMask64 attribut which defines anonymous permissions.

The support engineer which is working on the case provides me a PowerShell script which change these permissions and solved the issue (at least for the moment). This script has to be executed for EACH site collection.

 

[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$siteUrl = "<include here the site collection URL>";
$site = New-Object Microsoft.SharePoint.SPSite($siteurl);
$web = $site.OpenWeb();
Write-Host $web.AnonymousPermMask64;
$web.AnonymousPermMask64 = 68719677555;
$web.Update();
Write-Host $web.AnonymousPermMask64;
$web.Dispose();
$site.Dispose();

Leave a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.