문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top