Find out Who has Deleted a Site Collection in SharePoint

Requirement: Find out who has deleted a site collection in SharePoint 2016 server. SharePoint Site Collection deletion is a serious matter as it can lead to data loss and business disruption. In some cases, it can happen accidentally by a user with permission or maliciously by a user with access to SharePoint….

Read more

How to Change a SharePoint Web Application from HTTP to HTTPS?

Requirement:  Enable HTTPS encryption in SharePoint Web Application using an SSL certificate. How to Configure HTTPS for SharePoint 2016 web applications? Enabling HTTPS encryption ensures that the communications between users and the SharePoint web site remain secure. This article assumes you have generated CSR and imported the SSL certificate to the IIS….

Read more

Archive ULS & IIS Log Files in SharePoint using PowerShell

Requirement: Archive Log files of IIS and ULS Log.  Log files in SharePoint (both IIS Log and ULS Log) could grow and fill up the disk space based on your configurations and usage. There are many scripts available in various blogs and boards, and Here is my script to archive log files…

Read more

How to Secure SharePoint 2016 Central Administration Site from HTTP to HTTPS using SSL Certificate?

Central Administration site is a web application where administration activities are performed for the farm. By default, Central Administration runs on non-secure HTTP. Enabling encryption ensures that the communications between users and the central admin website remain secure. Prerequisite: Of course, You need the SSL certificate! You can use a free domain…

Read more

How to Redirect in SharePoint using Alternate Access Mapping (AAM)?

Internal URL in SharePoint Alternate Access Mapping is used to redirect from one URL to another. E.g., If you want to redirect or transform from “https://portal.crescent.com” into “https://intranet.crescent.com” use this feature! So, you enter “https://portal.crescent.com” in the address bar of your browser, and it takes you to “https://intranet.crescent.com”! How to Add URL…

Read more

Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered

Problem: After changing web application properties from SharePoint central administration site to support “anonymous access”, sites started giving this error message: Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered Solution: Open Web.config file of the SharePoint web application, search…

Read more

Get All SharePoint Service Applications – IIS App Pools – Service Account Details

From the IIS console, it’s tedious to find the application pools of SharePoint Service Application, isn’t it? So, let’s use PowerShell to retrieve All service application’s app pools and service account details. PowerShell to get all Service Application Names, Service App Pool and Process Account details: This script gets you all service…

Read more

How to Create a Service Application Pool in SharePoint using PowerShell?

Service Application pools run service application proxy web services inside IIS. Typically, all the service applications can be run with the same application pool. You can create a new service application pool while creating new service applications in SharePoint 2013. Ever wanted to create a new service application pool in SharePoint using…

Read more

How to Create a Self-Signed SSL Certificate in IIS for SharePoint?

Self-Signed certificates provide encryption between the two ends. Technically, self-signed certificates are signed with their own private key. Often they are used in ADFS configuration. We may also have to use self-signed certificates in DEV-Test environments and for evaluations purposes. Let’s see how to create a self-signed certificate using IIS. Never use…

Read more