—————–Steps for Creation of an isolated app domain on development computer —————————-
1:Start the SharePoint 2013 Management Shell.

net start spadminv4
net start sptimerv4

Create your isolated app domain your apps, for example “apps.developement.local”.
1:Set-SPAppDomain “apps.developement.local”

Ensure that the SPSubscriptionSettingsService and AppManagementServiceInstance services are running.
1:Get-SPServiceInstance | where{$_.GetType().Name -eq “AppManagementServiceInstance” -or $_.GetType().Name -eq “SPSubscriptionSettingsServiceInstance”} | Start-SPServiceInstance

Verify that the SPSubscriptionSettingsService and AppManagementServiceInstance services are running.
1:Get-SPServiceInstance | where{$_.GetType().Name -eq “AppManagementServiceInstance” -or $_.GetType().Name -eq “SPSubscriptionSettingsServiceInstance”}
–To create new Manage account [run the below command if manage account is not present——

$account = New-SPManagedAccount

After that run below commands:

$account = Get-SPManagedAccount “domainname\username”
$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
Set-SPAppSiteSubscriptionName -Name “app” -Confirm:$false

 

Advertisements