SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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'm trying to build a sharepoint app with type sharepoint hosted app, i'm following the instructions of msdn site:

In my case, i have developer site:


I already configured the app url: developer.mybussines.local

In hosts is already pointed for my local developer site, too is already configured my application pool, and exceptions in my browsers, but when i deploy my app, it no have problem, but when i access the app in my developer site, show me access denied.

I've already changed for the developer site, for my sharepoint site, but nothing happens, I followed the article of msdn correctly and nothing.


share|improve this question

According to the comments on the site, step 6 which adds the user to the account, and sets the proper app pools is incorrect. I'd investigate that avenue and make sure the permissions are properly set to match that user account.

$account= Get-SPManagedAccount "domain\user"

$appPoolSubSvc= New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account

$appPoolAppSvc= New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account

$appSubSvc= New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB 

$proxySubSvc= New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

$appAppSvc= New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp -DatabaseName AppServiceDB

$proxyAppSvc= New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc
share|improve this answer

Just insert the ApplicationPool argument manually instead of as a variable and it should work.

I have tried it and it works for me.

share|improve this answer
Can you please provide more details regarding how to do that? – Robert Lindgren Sep 10 '14 at 6:54

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.