Creating Subscription Settings Service Application

For creating Subscription Settings Service Application using PowerShell. Change the account name as per your managed account. Run Get-SPManagedAccount to find your account.

$appPool = New-SPServiceApplicationPool -Name SubscriptionServiceAppPool -Account (Get-SPManagedAccount systems\epmfarmadmin)
$serviceApp = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool -name “Subscription Settings Service Application” -DatabaseName “SubscriptionSettingsDB”
$serviceAppProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $serviceApp

The above one didn’t work, as it didn’t create proxy for me. I used the following and it worked.

PS C:\Users\epmfarmadmin> $account = Get-SPManagedAccount systems\epmfarmadmin
PS C:\Users\epmfarmadmin> $appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account
PS C:\Users\epmfarmadmin> $appSubSvc = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPoolSubSvc -Name SettingsServiceApp -DatabaseName SettingsServiceApplicationDB
PS C:\Users\epmfarmadmin> $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $appSubSvc


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s