So everything that you deploy in SharePoint 2013 should be an app. Why do I then see so often that the basic infrastructure to install an app hasn’t been enabled?

The following steps need to be completed in SharePoint 2013. (I’m assuming that you Run Windows Server 2012)

  • Configure DNS settings to support app deployment
  • Create a new service account
  • Update Network settings
  • Register a service account
  • create new shared service applications
  • start necessary services

Configure DNS settings to support app deployment

On your domain controller you should after you login:

  • On the Start screen, run DNS
  • In DNS Manager, right-click Forward Lookup Zones, and then click New Zone.

DNS Manager

  • In the New Zone Wizard dialog box, on the Welcome to the New Zone Wizard page, click Next.

NewZone

  • On the Zone Type page, click Next.
  • On the Active Directory Zone Replication Scope page, click Next.
  • On the Zone Name page, in the Zone name box, type myapps.com, and then click Next.
  • On the Dynamic Update page, click Next.
  • On the Completing the new Zone Wizard page, click Finish.
  • Expand Forward Lookup Zones, click myapps.com, right-click myapps.com, and then click New Host (A or AAAA).
  • In the New Host dialog box, in the Name box, type *, in the IP address box, type a secondary IP address for your SharePoint server, and then click Add Host.
  • In the DNS dialog box, click OK.
  • In the New Host dialog box, click Done.
  • Close DNS Manager.

Create a new service account

While you are still logged in on the Domain Controller (or wherever you manage your users)

  • On the Start screen, type Active Directory Administrative Center, and then press Enter.
  • In Active Directory Administrative Center, click you domain (local).
  • In the Tasks pane, under Builtin, click New, and then click User.
  • In the Create User dialog box, in the Full name box, type SharePoint Apps Service App Pools.
  • In the User UPN logon box, type svc_sp_AppPools, verify that the User SamAccountName logon boxes have automatically populated with the corresponding username.
  • In the Password and Confirm password boxes, type your password for the account.
  • Click Other password options, select the Password never expires, and User cannot change password check boxes, and then click OK.

Update your network settings

Add an additional IP address to the SharePoint server and configure IIS to bind to the new IP address

  • Switch to the SharePoint web Front End Server
  • On the Start screen, type Network Connections, click Settings, and then click View network connections.
  • Right-click the network adapter, and then click Properties.
  • In the properties dialog box, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
  • In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, click Advanced.
  • In the Advanced TCP/IP Settings dialog box, on the IP Settings tab, under IP addresses click Add.
  • In the TCP/IP Address dialog box, in the IP address box, type the same address as you used earlier in your DNS update, and then click Add.
  • In the Advanced TCP/IP Settings dialog box, click OK.
  • In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, click OK.
  • In the properties dialog box, click Close.
  • On the Start screen, type IIS, and then press Enter.
  • In Internet Information Services (IIS) Manager, expand The web applications node.
  •  If an Internet Information Services (IIS) Manager dialog box appears asking you about getting started with Microsoft Web Platform, click No.
  • Expand Sites, and then click SharePoint your application e.g. sharepoint.myspsite.local80.
  • In the Actions pane, click Bindings.
  • In the Site Bindings dialog box, click Add.
  • In the Add Site Binding dialog box, in the IP address list click select the IP address configured during the earlier steps, click OK.
  • In the Site Bindings dialog box, click Close.
  • Close all open windows.

Register the service account as a managed account

  • On the Start screen, type Central Administration, and then press Enter.
  • In Central Administration, click Security.
  • On the Security page, under General Security click, Configure managed accounts.
  • On the Managed Accounts page, click Register Managed Account.
  • On the Register Managed Account page in the User name box, type DOMAIN\svc_sp_AppPools, in the Password box, type your password, and then click OK.

Use PowerShell to create new shared service applications

  • On the Start screen, type SharePoint Management Shell, and then press Enter.
  • At the command prompt, run the following commands:

$AppPool = New-SPServiceApplicationPool -Name AppManagementAppPool -Account svc_sp_apppools@mydomain.com

$AppManagement = New-SPAppManagementServiceApplication -Name “App Management” – ApplicationPool $AppPool

$AppManagementProxy = New-SPAppManagementServiceApplicationProxy -Name “App Management Proxy” -ServiceApplication $AppManagement

  • Switch to Internet Explorer to view the Central Administration website.
  • Click Application Management.
  • On the Application Management page, under Service Applications, click Manage service applications.
  • Verify that the App Management service appears in the list (it should also have a corresponding proxy).
  • Switch to the Administrator: SharePoint 2013 Management Shell command window, and then run the following commands:

 

$AppPool = New-SPServiceApplicationPool -Name SubscriptionSettingsAppPool -Account svc_sp_apppools@mydomain.com

$SubscriptionSettings = New-SPSubscriptionSettingsServiceApplication -Name “Subscription Settings” -ApplicationPool $AppPool  

$SubscriptionSettingsProxy = New-SPSubscriptionSettingsServiceApplicationProxy – ServiceApplication $SubscriptionSettings

  • Switch to Internet Explorer to view the Central Administration website.
  • Refresh the Manage Service Applications page, and verify that the Subscription Settings service appears in the list (it should also have a corresponding proxy).

Use the Central Administration website to start necessary services

  • Click Central Administration, and then under System Settings, click Manage services on server.
  • Locate the App Management Service service, if the service is currently Stopped, in that row click Start.
  • Locate the Microsoft SharePoint Foundation Subscription Settings Service service, if the service is currently Stopped, in that row click Start.

The SharePoint farm now supports apps, including starting services, creating shared services, and necessary domain configuration.

Part 1

Advertisements