Sunday, December 22, 2019

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

Leave a Comment
While trying to run SharePoint powershell on vendor VM, found this issue: "

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


Solution:

We need to run with domain account by which we setup SharePoint farm and run following command:

Add-SpShellAdmin -username Domain\username.

Above command set appropriate permission automatically and this can be verified by Get-SPShellAdmin
If You Enjoyed This, Take 5 Seconds To Share It

0 comments: