SharePiont 2013 Apps Configurations on Premise

1Creating a Subdomain to Host Apps
1)    Go to Start.
2)    Search for DNS.
3)    Select DNS.
4)    Expand the DNS Server.
5)    Right click the main SharePoint domain and select New Alias (CNAME).
6)    Fill in <*.app> for the Alias Name.
7)    Click Browse.
8)    Double-click your server name.
9)    Double-click Forward Lookup Zones.
10) Double-click the domain of your SharePoint environment.
11) Select Same as parent folder and click OK.
12) Click OK again and finish.

Set the New Domain Name as the App Domain
Configure the App Management Service
Configure the Subscription Settings Service
       Specify the Tenant Name
       Configure app domains by powershell on application level.  This will allow for using apps on host header web applications.  Issue the commands:
1  Validate Secure Store Service
  Add SharePoint Root Authority to the Trusted Root Certification
1)    Start and search for and open the SharePoint Management Shell.
2)    Set the created app domain name to the SharePoint App Domain, using the command below by replacing “App Domain Name” with the app domain name created in section “1.0  Set Up the App Domain”:
·         Set-SPAppDomain “App Domain Name”

The App Management Service should already be configured on each of the farms – verify if App Management Service Application is included in the set of service applications, with the PS command Get-SPServiceApplication | Select TypeName
If it is not listed, use the commands below to configure it.
 Start and search for and open the SharePoint Management Shell.
  Ensure that spadmin and sptimer services are running with commands:
·         net start spadminv4
·         net start sptimerv4
       Ensure that the AppManageMentServiceInstance is running.
·         $spService = Get-SPServiceInstance | where{$_.GetType().Name –eq “AppManagementServiceInstance”
       If the AppManagementServiceInstance does not return, start it.
·         Start-SPServiceInstance –Identity $spService
       Set the account that AppManagementServiceInstance service will be managed by. Use the account created for Shared Services.
·         $account = New-SPManagedAccount
·         $account = Get-SPManagedAccount <services account>
       Specify the application pool for the App ManagementServiceInstance. The naming values used below are the also defined in the naming convention section.
·         $appPoolAppSvc = Get-SPServiceApplicationPool –Identity SvcAppPool
·         $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc –Name AppManagement –DatabaseName _AppManagement
·         $proxyAppSvc = New-SPAppManagementServiceApplicationProxy –ServiceApplication $appAppSvc –Name AppManagementProxy
       Start and search for and open the SharePoint Management Shell.
       Ensure that spadmin and sptimer services are running with commands:
·         net start spadminv4
·         net start sptimerv4
    Ensure that the SPSubscriptionSettingsService is running.
·         $spService = Get-SPServiceInstance | where{$_.GetType().Name –eq “SPSubscriptionSettingsServiceInstance”
    If the SPSubscriptionSettingsService does not return, start it.
·         Start-SPServiceInstance –Identity $spService
11)    Choose the account that SPSubscriptionSettingsService will be managed by, which is defined in the Service Accounts Standards section.
·         $account = New-SPManagedAccount
·         $account = Get-SPManagedAccount svc_SPSvcApp_<Farm#>
    Specify the application pool for the SPSubscriptionSettingsService. Where <sub_settings_app_pool>, <sub_settings_DB>, <settings_service_name> are the names defined in the naming convention section.
·         $appPoolSubSvc = Get-SPServiceApplicationPool –Identity SvcAppPool
·         $appSubSvc = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPoolSubSvc –Name SubscriptionSettings –DatabaseName <Farm#>_SubscriptionSettings
·         $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc
·         Set-SPAppSiteSubscriptionName -Name "spappstst" -Confirm:$false
$cs = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$cs.SupportMultipleAppDomains = $true
$cs.Update();
iisreset

then for each host header based web application, use:
$appdomain = get-spappdomain
New-SPWebApplicationAppDomain -AppDomain $appdomain -WebApplication <web app URL>

More details on http://technet.microsoft.com/EN-US/library/dn144963.aspx

To use apps from the SharePoint store, you must enable the Secure Store Service Application and start the Secure Store Service on the server.

Secure Store Service Application
1)    Central Administration > Application Management > Manage Service Applications
2)    Verify that the Secure Store Service Application and Secure Store Service Application Proxy are started.
3)    If they are not, see Configure Secure Store Service section.

Secure Store Service
1)    Central Administration > Application Management > Manage services on server
2)    Verify that the correct server is selected and that Secure Store Service is started; if not then start the service.
1)            Obtain the “SharePoint Root Authority” certificate as a physical (.cer) file. To do this, ensure you are on the Application Server where the App Management Service was configured.
·         Launch the SharePoint Management Shell as Administrator
·         $rootCert = (Get-SPCertificateAuthority).RootCertificate
·         $rootCert.Export(“Cert”) | Set-Content C:\SharePointRootAuthority.cer –Encoding byte

2)            Import the “SharePoint Root Authority” certificate to the Trusted Root Certification store on the Application Server the App Management Service was configured.
·         Start > Run > MMC > Enter
·         File > Add/Remove Snap-in
·         Certificates > Add > Computer account > Next > Local Computer > Finish > OK
·         Expand Certificates (Local Computer), expand Trusted Root Certification Authorities
·         Right-click Certificates > All Tasks > Import
·         Next > Browse > Navigate to and select C:\SharePointRootAuthority > Open > Next > Finish > OK



Comments

Popular posts from this blog

Adjust the Search SharePoint Performance level

SharePoint 2013 User Profile synchronization versus import

Usage and Popularity Trends Report not showing correct numbers