Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was following the below links to migrate my classic site to claims based.

http://blogs.technet.com/b/speschka/archive/2010/07/20/migrating-from-windows-classic-auth-to-windows-claims-auth-in-sharepoint-2010-part-2.aspx

http://technet.microsoft.com/en-us/library/gg251985.aspx

While running the below command,

$WebAppName = "http://yourWebAppUrl"
#THIS SHOULD BE THE ACCOUNT THAT IS RUNNING THIS SCRIPT, WHO SHOULD ALSO BE A LOCAL ADMIN
$account = "yourDomain\yourUser"
$wa = get-SPWebApplication $WebAppName
Set-SPwebApplication $wa -AuthenticationProvider (New-SPAuthenticationProvider) -Zone Default

this will prompt about migration, CLICK YES and continue //

After clicking Yes, Getting Access Denied.

  1. Management shell Running as Administrator
  2. User login having local Admin Permission
  3. User Login is SQL Dbo.
share|improve this question
1  
Make sure the user has the right permissions, you never know what people have done with the farm. Link: technet.microsoft.com/en-us/library/ee806878.aspx#section3 –  Anders Aune Oct 27 '11 at 10:28

3 Answers 3

Could you try this instead:

$WebApp = Get-SPWebApplication http://url
$WebApp.UseClaimsAuthentication = "True" 
$WebApp.Update()
share|improve this answer

$webApp = Get-SPWebApplication "http://mysites.com" $webApp.UseClaimsAuthentication = $True; $webApp.Update() $webApp.ProvisionGlobally() $webApp.MigrateUsers($true)

Try and update the status which help others.

share|improve this answer

I have followed the Anders Aune comment and checked the permission and solved my problem.

// Make sure the user has the right permissions, you never know what people have done with the farm. Link: technet.microsoft.com/en-us/library/ee806878.aspx#section3 – Anders Aune //

Thanks to Colin & Rajesh...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.