When I am deploying my sandboxed solution with Power Shell it deploys globally as full trust and not as sandboxed (there is nothing in the solution gallery). Here is my script:
ADD-SPSolution -LiteralPath $wspPath
Install-SPsolution -Identity $SolutionId -Force:$true -GACDeployment:$true -Local:$true -WebApplication $UrlSiteCollection
Enable-SPfeature -Identity $SiteCollectionItemsFeature -Force:$true -URL $UrlSiteCollection
The solution is deployed as sandboxed from Visual Studio, but not from this script. Am I missing some option on Install-SPSolution?
View Complete Post