Tuesday, 3 November 2009

Powershell error: The farm is not available

Running PowerShell (SharePoint v4 management console) I have been getting this error:


“The farm is not available”




Even as a member of the Farm Administrators group!


Tracked this down to a SQL access error, as although my account (DOMAIN\adm-mattg) is a farm admin and am merrily configuring SharePoint through the SCA web UI I cannot run the Powershell console as I need SQL rights.


My old friend “shift, right-click > run as” came to the rescue, running Powershell as the farm account works fine.

No comments:

Post a Comment

Please feel free to comment on this post, I want to hear your feedback!