The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered

Problem

This is an age-old problem. When you run powershell on your server you get the following error:

The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.


Solution

Make sure the logged in user has rights to the SharePoint_Configuration database

  • SharePoint_Shell_Access
  • DB_owner (try reducing the privileges after you get it working in order to support “least privileges”


 

About Ben Adams

Ben Adams is a seasoned SharePoint Infrastructure Architect and proven leader. As a former Microsoft Certified Trainer and MCITP, Ben enjoys socializing SharePoint in the community and helping others come up with successful deployment models for SharePoint. Ben also enjoys music and photography.
Posted on by Ben Adams

Leave a Reply

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