I was doing the migration from SP 2010 to SP 2013. The purpose of this post is to discuss how we can easily create classic mode web application in SP 2013.
You must be knowing that we are having option to select the authentication mode “Claims based” or “Classic Mode”.
But unfortunately in SP 2013 this option is removed. You can only configure claims-based authentication when you manage Web applications in the Central Administration page. This is because claims-based authentication is the default and preferred method of user authentication, and is required to take advantage of server-to-server authentication and app authentication. If you would like to create a Web application with classic mode authentication, you can do this using Windows PowerShell cmdlets. The use of classic mode authentication, also known as Windows classic authentication, is discouraged in SharePoint 2013 and you can only create or configure web applications for classic mode authentication with Windows PowerShell cmdlets.
1) The user must have following memberships:
Next step is to open the SharePoint 2013 Management Shell. On the Start menu, click All Programs, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Management Shell:
At the Windows PowerShell command prompt, type the following:
New-SPWebApplication -Name <Name> -ApplicationPool <ApplicationPool> -AuthenticationMethod <WindowsAuthType> -ApplicationPoolAccount <ApplicationPoolAccount> -Port <Port> -URL <URL>
- <Name>: The name of the new Web application.
- <ApplicationPool>: The name of the application pool.
- < WindowsAuthType>: Either NTLM or Kerberos. Kerberos is recommended.
- <ApplicationPoolAccount>: The user account that this application pool will run as.
- <Port>: The port on which the Web application will be created in IIS.
- <URL>: The public URL for the Web application.
New-SPWebApplication -Name “Classic Mode Site” -ApplicationPool “Sharepoint-007” -AuthenticationMethod “Kerberos”-ApplicationPoolAccount “Sharepoint\span” -Port 007 -URL “http://sharepoint-app”
So by this way we can easily create the Classic mode web application.