New answers tagged


One of my favorite ways to automate repetitive tasks is to use PowerShell + CSOM. The Client Object Model allows me to run my scripts on top of on-prem SharePoint or Office 365 using the exact same code, so I don't have to migrate it in order to make it run in one or the other. Here is an example of how you use the client dll in a PowerShell script to ...


Make sure that you are running your code from the server as an administrator. Also replace Localhost with the actual Web Application URL.


If the farm administrator has already added to local administrator group and the issue still persist. So you should try to open the Central Administration via Central Administration Link on Start Menu as administrator or as a different user then provide the farm account that has been provided to configure SharePoint via SharePoint Configuration wizard ...

Top 50 recent answers are included