When running the SharePoint Management Shell, if you get the error message, “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered” you won’t be able to execute your command lines unless you are connected to the server with the correct permissions. In the event that you are trying to run the Windows PowerShell cmdlets as a user who does NOT belong to the Administrators group, you will get this error message. In this article, we will walk through the process of dismissing this error message.
In order to run the Windows PowerShell cmdlets, the logged-in user must be set up with the following memberships to the SharePoint_Configuration database: SharePoint_Shell_Access and db_owner.
After these permissions have been set, have the user connect to your server again and open PowerShell. Your error will now be resolved and you should be able to run your command lines as needed.
Questions? Contact us or check out our online documentation.