When
trying to configure APP URL settings in new SharePoint 2013 environment, the configuration
page displayed the message “The
Subscription Settings service and corresponding application and proxy needs to
be running in order to make changes to these settings” and didn’t provide any
configuration options.
Checking the services and service application in central admin showed that both the App Management Service and service application were created and running fine. It took a while for me to realize that the Subscription Settings service application has not be created. This service application cannot be created from central admin UI but can only be created from PowerShell. Below are the PowerShell commands for creating the Subscription Settings service application
Checking the services and service application in central admin showed that both the App Management Service and service application were created and running fine. It took a while for me to realize that the Subscription Settings service application has not be created. This service application cannot be created from central admin UI but can only be created from PowerShell. Below are the PowerShell commands for creating the Subscription Settings service application
$acct = Get-SPManagedAccount <Account>
$appPool = New-SPServiceApplicationPool -Name SubscriptionServiceAppPool -Account $acct
$serviceApp = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool -name "Subscription Settings Service Application" -DatabaseName "<Database Name>"
$serviceAppProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $serviceApp
$appPool = New-SPServiceApplicationPool -Name SubscriptionServiceAppPool -Account $acct
$serviceApp = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool -name "Subscription Settings Service Application" -DatabaseName "<Database Name>"
$serviceAppProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $serviceApp
Once the Subscription Settings
Service Application is created we will be able to configure App URLS .
No comments:
Post a Comment