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?

list IIS App Pools Service Accounts

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:

Get-SPServiceApplication | Select Name, @{Name="SP AppPool Name"; Expression={$_.ApplicationPool.Name}}, `
    @{Name="IIS AppPool Name"; Expression={$_.ApplicationPool.Id}}, `
     @{Name="Service Account"; Expression={$_.ApplicationPool.ProcessAccountName}}

This script gets you all service application’s app pool related data:

get sharepoint service application app pools and service accounts

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *