Adding SPFx Web Part Error “Sorry apps are turned off”: What to Do

October 4, 2021

There are some situations, when you may get an error “Sorry, Apps are turned off. If You Know Who Runs the Server, Tell Them to Enable Apps” while installing Virto SPFx app on your SharePoint 2019 server. Here are the steps you need to do depending on the reason. Define why you’ve probably got this error and choose the right solution.

Reason 1: Apps are not enabled on your farm

In this case, you should check the Apps on your SharePoint 2019 farm and make them available.

  1. Go to SharePoint 2019 Central Administration.
  2. Open Store settings and find Apps — Configure settings.
  3. Check you have chosen Yes for Should end-users be able to get apps from the SharePoint Store?


Reason 2: The subscription service is not configured on your farm

Configure the Subscription Settings

To configure the Subscription Settings, do the steps as follows.

  1. Go to SharePoint 2019 Central Administration.
  2. On the System Settings page, click Manage Services on this farm.
  3. Click Enable Auto Provision for Microsoft SharePoint Foundation Subscription Settings Service.
  4. Open SharePoint 2019 Management Shell and create MS SharePoint Foundation Subscription Settings Service using PowerShell

Run the command in PowerShell:

$sa = New-SPSubscriptionSettingsServiceApplication -ApplicationPool 'SharePoint Web Services Default' -Name 'Subscriptions Settings Service Application' -DatabaseName 'Subscription'

Then thins one:

New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $sa

As a result of these commands running, you should see the server DisplayName, TypeName, and ID as a table.

Finally, check your SharePoint Foundation Subscription Settings Service and proxy created in Service Applications. Then go to Manage service applications and find the Subscription Settings Service Application and Subscription Settings Service Application Proxy.

After that, you should configure the App Management Service Application.

Configure App Management Service Application

  1. Go to SharePoint 2019 Central Administration.
  2. Find Manage service applications on the Application Management page.
  3. Click New and select App Management Service.
  4. Specify the name for the service application in the Service Application Name field.
  5. Choose SharePoint Web Services Default from the Use existing application pool list in the Application Pool.
  6. Check App Management Service and its proxy created on the Manage Service Page.


Reason 3: App Management Service Application is not associated with your web application

In this case, you should check App Management Service Application is associated with your web application where you want to add the Virto App. If not, follow these simple steps:

  1. Go to SharePoint 2019 Central Administration.
  2. Find Application ManagementConfigure service application associations.
  3. Check the web application where you want to add Virto App has App Management Service associated to it.
  4. If not, please associate your App Management Service with your web application as follows.
  5. Click on the Application proxy group available next to your web application. In the dialog box, check the App Management Service is Enabled. Click OK.

As a result, you should see the App Management Service Application associated with your web application where you wish to add Virto App.


Reason 4: You have not configured the App URLs.

Note: You should check you have given values to App Domain and App Prefix in your App Store settings.

After you have configured the App Management service, you need to ensure the App URL for your apps is configured. Follow the steps below.

  1. Open SharePoint 2019 Central Administration.
  2. Go to Apps and click Configure App URLs.
  3. Check you have filled in App Domain and App Prefix. Once you specify these values, click OK.

Here are the possible reasons why get the mentioned error. If you still meet the issue and cannot install the app. please contact the Virto Support Team. We will find the solution as soon as possible.