SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use TFS Build which is configured with a service account.

I've modified the worklow template to execute a powershell script.

The powershell is launched but on sharepoint cmdlet I have an "access denied error".

So I tested the script with run as different user (using tfs build service account) and it works.

The tfs service account SpShelleAdmin, local admin and farm admin.

I need help.

PS : Get-SpSolution works

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.