Classic mode Web Application in Sharepoint 2013

Hi Guys,

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".

IC423799

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.

Prerequisites:

1) The user must have following memberships:

  • securityadmin


                     webapp1.png-550x0

  • db_owner


                     webapp2.png-550x0

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>

Where:


  • <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.



For example:

New-SPWebApplication -Name "Classic Mode Site" -ApplicationPool "Sharepoint-007" -AuthenticationMethod "Kerberos"-ApplicationPoolAccount "Sharepoint\span" -Port 007 -URL "http://sharepoint-app"

                      Capture

So by this way we can easily create the Classic mode web application.

Happy SharePointing

Cheers :)

Comments

Popular posts from this blog

Hide Ribbon on SharePoint 2013 using CSS

Get Comment Count in SharePoint

Configure external site as content sources in sharepoint search