I was following the below links to migrate my classic site to claims based.
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.
- Management shell Running as Administrator
- User login having local Admin Permission
- User Login is SQL Dbo.