0
votes
2answers
180 views

Creating a WebApp via PowerShell is mapping the site to wrong AppPool

I have a weird issue with creating WebApps using the below script. Seemingly when I create my WebApp everything is working and looking fine. I can look in IIS and see that it is correctly configured, ...
1
vote
1answer
328 views

Application pool not visible in IIS, SharePoint or PowerShell

I have a PowerShell script that creates a web application using New-SPWebApplication. It crashed for some reason a while back and now it keeps telling me the application pool exists. I've looked in ...
3
votes
4answers
2k views

How to programmatically determine which application pool a service application is using?

Is there a way to programmatically determine which application pool a service application is using? Further i would like to get the information about the service account the app pool is using.
0
votes
2answers
1k views

New-SPWebApplication application pool account is not found

I am trying to create a new web application using PowerShell. I keep getting the error application pool account is not found! How do I solve this? I tried adding the new web application to ...