APP Model is the Future of SharePoint – Part A: Configuring APP Domain for In-Premise SharePoint 2013

With the release of SharePoint 2013, APP Model was the biggest change which made a big noise with Lots of Promises in the whole arena. Though you are having an In-Premise SharePoint environment, you can enable the APP Model to retrieve and add SharePoint Store Apps. This post was in my OneNote draft for so long and just found it to polish a bit and publish. Yeah I know I’m quite late 🙂

With this post we will go through the step by step guidance on configuring SharePoint APP Store for In-Premise Environments. Nothing much !, just to get few steps done properly. Take a note that your SharePoint Servers should have joined to AD to do this. This is not targeting standalone SharePoint deployments with Workgroups.

Assuming you already got a SharePoint 2013 Environment which could be Multi-Server or Single Server doesn’t matter at all. If you open up a Site you already have and go to Site Actions –> Add an App from the admin Panel, You will be directed to the local APPs Location of your site. And then If you switch to SharePoint Store from the left panel links it will direct to the SharePoint APP Store which looks like this.


Does it mean you have the APPS Configured and you can go ahead and Add any of them to enjoy ? Not really !. Just click on a one APP and try to add. ADD Button grayed out and Probably you can’t if you haven’t configured APPS for your Farm, that’s what the Yellow Balloon says right there below the ADD Button.


So let’s get this guy implemented so you can go ahead and play with so Cool APPs ! We need to achieve this scope to get it done.

  1. Configure APP Domain DNS Entries which Links APP Domain to SharePoint Farm
  2. Enabling Services
  3. Create Service Applications
  4. Configure APP URLs
  5. Create APP Catalog
  6. Enabling Internet Faced End-Points (Optional)

Make Sure Your Frontend Servers (if a Single Server that should have Internet) having Internet Access. Mostly the Production Environments are anyway has Internet for Frontends so not a big deal here.

1. Configure APP Domain DNS Entries

The Start we are going to take with little bit of DNS here. You should ask your AD team to set this up based on your inputs if you are not granted to deal with DNS.

First thing to create a New Zone for Your SharePoint APP Domain. Open up DNS console and right click on Forward Lookup Zones Under Root Server and Click on New Zone .


This Wizard will pop out. Simply hit next to start here.


Nothing to change here, Just leave it with default and ‘Next’. We are about to create a Primary DNS Zone for our APP Store.


Here too, nothing needs to be changed but depends on your Environment. I have only one Domain and one forest. Choosing first choice will be the highest level that applies for all the forests and domains you have if you are about to deal in a Large Environment.


Provide a name for the Zone here. Microsoft Recommends to go with a Root Level ( unique domain for production environments. If you are having a environment which is production and externally accessed, It’s always best to have a purchased top level domain for this. simply give that name here and for me just a test one goes in. is my sample apps domain to get this done. If you noticed that this is a child level one, yes it is but just for experimental purpose. Don’t go like this for productions.


Nothing here to change simply ‘Next’.


Hit ‘Finish’ to complete.


You will see the New Forward Look up zone created under our Root Server. Now to get the Alias Created for the created zone. Right click on the created Zone and click on ‘New Alias (CNAME) to create a one.


Fill the three fields here. Put the ‘*’ in to the Alias Name and FQDN should be the same name as you created the Zone for the APP Domain in the earlier step.


Browse to locate the FQDN for the Target host. Below box will appear and drill down in to the Forward Lookup Zones under out root Domain ( and find the same as Parent folder with relevant subnet(Network). Choose it and click OK.


That completes the deal with DNS. Let’s check whether we have done it right so far.

Open up PowerShell on CMD from your Server SharePoint or AD Server. Try to Ping a third level entry like below. (anything-Tenant | – APP Domain)

Whatever the entry you put in to the third level here (my entry is ‘anything’ here) should resolve by the root level. That’s the whole idea and this is some kind of a Multi-Tenancy we are talking about. If the reply comes we are cool so far !


2. Enabling Services

Before we create Service applications, we now need to enable the Below highlighted Services. If any of these two services isn’t running on your farm, do not proceed with the next step which might cause issues. Get them in to running state first.

Launch the Central Administration and direct to Services on Server under the System Setting. Make sure these two services are in green state.

APP Management Service – Running

Microsoft SharePoint Foundation Subscription Settings Service – Running


3. Create Service Applications

Let’s create Service Applications for those two Services started. App management and SharePoint Subscription Settings Services Applications has to be created for specific purposes.

APP management Service Application is obviously the core while Subscription Setting Services takes care of tenancy. Both are key facts for the entire scenario.

We will be using a small script for this. copy these lines and customize Names such as Database, APP, Pool before you execute it.

   1: $account = Get-SPManagedAccount "Northwind\sp_farm_svc" 

   2: # Gets the name of the Farm administrators account and sets it to the variable $account for later use.


   4: $appPoolSubSvc = New-SPServiceApplicationPool -Name SubscriptionSettingsServiceAppPool -Account $account

   5: # Creates an application pool for the Subscription Settings service application. 

   6: # Uses the Farm administrators account as the security account for the application pool.

   7: # Stores the application pool as a variable for later use.


   9: $appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SubscriptionSettingsServiceApp –DatabaseName Northwind_Subscriptions_Service_AppDB

  10: # Creates the Subscription Settings service application, using the variable to associate it with the application pool that was created earlier.

  11: # Stores the new service application as a variable for later use.


  13: $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

  14: # Creates a proxy for the Subscription Settings service application.


   2: $account = Get-SPManagedAccount "Northwind\sp_farm_svc" 

   3: # Gets the name of the Farm administrators account and sets it to the variable $account for later use.


   5: $appPoolAppSvc = New-SPServiceApplicationPool -Name AppManagementServiceAppPool -Account $account

   6: # Creates an application pool for the Application Management service application. 

   7: # Uses the Farm administrators account as the security account for the application pool.

   8: # Stores the application pool as a variable for later use.


  10: $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppManagementServiceApp -DatabaseName Northwind_AppManagementDB

  11: # Creates the Application Management service application, using the variable to associate it with the application pool that was created earlier.

  12: # Stores the new service application as a variable for later use.


  14: $proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc

To execute, right click on SharePoint management Shell and run it as administrator. Run one at a time as shown below. Each script creates a Specific Service Application for the subjected purpose. Direct to file location which you saved the script with .ps1 extension and hit ‘Enter’ to execute.


It won’t take more than a minute which depends on your server Performance. So that step completes Service Application Creation Part. Almost done here.

4. Configuring APP URLs

Now to configure the APP URLs based on our New APP Domains created. This is the Basic idea of the APP domain and App URL concepts. Hope you can grab an overall knowledge here.


Open up Central Administration and Direct to ‘APP’ Category from Root left panel.


Direct to Configure APP URLs from APP Management. It will pop out below page, Provide the APP Domain and Prefix based on the details of our Previous steps of APP Domain Creation. Prefix you will need to decide (not a big deal to think much about)


5. Create APP Catalog

So the next big step Is here, almost the final ! . From the APP Page shown above direct to ‘Manage APP Catalog’ which allows you to create a New Catalog. You should have created an New Web Application and a Site Collection under it in order to enable APP Catalog and Test it out. I have created a one here under Port 7070 just for experimenting.

Choose the Web Application from the dropdown shown in the screenshot and hit ‘OK’ to proceed.


Below Page will be appeared. Give it a Name (I don’t think anything else suits better than ‘APPCatalog’ here), URL and Primary Site Collection Admin and End Users. Hit ‘OK’ to complete and give it a moment to create.


Just Give it a while to create the catalog.


You Should be now able to see the created catalog.


Click on the Site URL and check whether you get it working.


6. Activating External Facing End-Points (Optional)

The SharePoint Store contains apps for SharePoint intended for use with sites that require Internet-facing endpoints. By default, these apps are not available (greyed out and cannot be purchased) because they are incompatible with most sites. However, if your farm is configured to allow internet-facing end points

and finally launch the Central Administration –> Application Management –> Manage Web Applications –> Manage Web Application Features –> Activate ‘Apps That Require Accessible Internet facing Endpoints’ feature.


That’s all on configurations. Let’s open our Target Site and check the APPS Thingy !!

Open up your Target Site (if you don’t have a one you should have created before the Catalog Creation) and try to add an App in to it.


It’s Not an Error here ! Select the Language as you are checking this out for first time. Click on the SharePoint Store from the Left Panel to grab online stored stuff.


There It opens the Store for your.


Just select a one you like and try to ADD. ofcource a FREE one First 🙂


We have to use a Windows Live Account for Adding the APP. I’m using my one here. Yep you can send me queries to the same address !!


Continue here.


So far so cool ! We got our very first custom APP Added to our Site.


When you add an APP Once it’s just once and can be used across the sites under ‘APPs You Can Add Category’ like you can see below.


Keep Loving SharePoint Folks, Lots more Impressive stuff yet to come ……………….


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 )

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