Configure SharePoint On-Premises Deployments for Apps in SharePoint 2019

This article describes how to configure the on-premise environment to support Apps in SharePoint 2019. Follow below steps to configure the environment:
1- Configure the domain names in DNS
2- Verify the newly created domain name
3- Configure the Subscription Settings and App Management service applications
4- Configure App URLs

Configure the domain names in DNS:

1) In DNS Manager, right-click Forward Lookup Zones, and then click New Zone….

1

2) In the New Zone Wizard, click Next.

2

3) In the Zone Type page, choose a Primary zone, select the checkbox “Store the zone in Active Directory (available only if DNS server is a writable domain controller)” and then click Next.

3

4) In the Active Directory Zone Replication Scope page, select “To all DNS servers running on domain controllers in this domain”, and then click Next.

4

5) In the Zone Name page, in the Zone name box type the name for your new app domain, and then click Next.

5

6) On the Dynamic Update page, select “Allow only secure dynamic updates (recommended for Active Directory)”, and then click Next.

6

7) On the Completing the New Zone Wizard page, verify the settings and then click Finish.

 

7

Now, the new zone has available in the “Forward Lookup Zones” list. This is used as a domain name for your apps.

 

1

 

Create a CNAME Alias record for the new domain name:

1) In DNS Manager, under forwarding Lookup Zones, right-click the new app domain name, and then click New Alias (CNAME)….

 

2

 

2) In the New Resource Record dialog box, in the Alias name (uses parent domain if left blank) box, type *. Then the Fully qualified domain name (FQDN) box automatically displays *. followed by the domain name that you created previously for apps. Then the Fully qualified domain name (FQDN) for target host box, click on browse

 

3

 

3) Double click on the server name.

 

4

 

4) Double click on the Forward Lookup Zones.

 

5

 

 5) Double click the domain that hosts the SharePoint sites.

 

5

 

6) Then, select the server that hosts the SharePoint sites. Then, click ok.

 

6

 

7) Then, click ok.

 

7

 

Verify the newly created domain name:

To verify the newly created domain name, Open command prompt, type ping like below example. If ping return corrects IP address then your domain name was configured successfully.

 

1

 

Configure the Subscription Settings and App Management service applications:

1) To create a App Management service application:

a) In Central Administration, under Application Management, click Manage service applications.

2

 

b) Click New, and then click App Management Service.

 

1

 

c) Type a name for the service application in the Service Application Name box. Under Application Pool, select Create new application pool, type application pool name.
Then, click Ok.
2) To create a SharePoint Foundation Subscription Settings Service
To create Subscription settings Service Application, run following PowerShell command.

 

Add-PSSnapin Microsoft.SharePoint.PowerShell
$account = Get-SPManagedAccount “SOFTREE\Administrator”
$appPool New-SPServiceApplicationPool -Name SubscriptionServiceAppPoolAccount $account
$serviceApp = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool –nameSubscription Settings Service” –DatabaseName “Subscription_Settings_DB”
$serviceAppProxy = New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication
$serviceApp

 

Configure App URLs:

To configure App URLs, Open SharePoint 2019 central administration, click on Apps and then click on Configure App URLs.

1

Then type App domain which we have created and an App prefix. Then, click Ok.

2

After all, you can add an app from app catalog to the SharePoint site, it added successfully.

This solution is brought to you by our SharePoint professionals.

Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements.

Be it SPFx or SharePoint add-in developments, SharePoint 2019 developments, web part developments, migrating from SharePoint 2010/2013 to SharePoint 2013/2016/Office 365, Office 365, SharePoint hosted apps development or something else in SharePoint, we strive to deliver the best

Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *