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

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


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

Browse other questions tagged or ask your own question.