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
0 comments:
Post a Comment