Domanda

I need to assign a new user as farm administrator on a development machine. I added him to the domain admins AD group, and went to farm admins in central administration and gave added him there. He opens visual studio on that machine and tries to deployed an app, but he can't due to lack of permissions.. he got this error:

The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm

I figured that I need to give him access on sql as well, but is there a command in powershell that lets me add a farm admin and it does all of the work together? or do I need to do all these steps manually?

È stato utile?

Soluzione

You can do it via using Powershell. Run the below command

Add-SPShellAdmin -UserName CONTOSO\User1

Read more about it here :https://technet.microsoft.com/en-us/library/ff607596.aspx

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top