Thursday, March 28, 2024

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

When you run SharePoint PowerShell on your SharePoint 2010/2013 server you might get the following error:

Error: “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered”.

To fix that you how two solutions:

Solution 1:

Login to the Sharepoint Server OS with an user who has Shell Access. Run the “SharePoint 2010 Management Shell” / “SharePoint 2013 Management Shell” as an administrator and grant shell access to the other user via:

Add-SPShellAdmin DOMAIN\Username

Solution 2:

Login to you SQL Server which hosts the Sharepoint DBs. Select the user who need shell access. Choose properties and switch to the user mappings. Now add the shell access role for the config DB to the user as seen below:

 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles