- Edited by -TR 13 hours 54 minutes ago
When trying to run powershell script, i get 401 unauthorized
401 unauthorized
June 17th, 2015 7:11pm
Hmmm, my organization has been facing this issue for a week or so.
it looks like it might be a permission thing. Microsoft got back to us and told us to use -usedefaultcredentials but that didn't fix the issue.
it looks like it might be a permission thing. Microsoft got back to us and told us to use -usedefaultcredentials but that didn't fix the issue.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 1:35pm
Hi
yes, start Powershell under an admin account ( Runas )
June 23rd, 2015 3:46pm
HI,please ensure the below tasks have done comepleted.
- Ensure to run power shell as admin
- ensure the account that run power shell is having proper set of permissions in SQL
Please check the links below that explains the solutions of the issue.
http://expertsharepoint.blogspot.de/2014/03/the-local-farm-is-not-accessible.html
http://expertsharepoint.blogspot.de/2014/02/you-need-to-have-machine-administrator.html
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 11:21pm