fbpx

How To Add Access Service To SharePoint 2016

SharePoint 2016 users can unlock the full potential of their platform by adding the Access Service, which allows for improved functionality and integration of services.

To add Access Service to SharePoint 2016, you have two options: using Central Administration or PowerShell. Whichever method you choose, the following steps will guide you through the process seamlessly.

Option 1: Adding Access Service through Central Administration

1. Retrieve the web application service account by going to Central Administration and clicking on Configure service accounts. Record the service account name.

2. Add the web application service account to the service application by going to Manage service applications in Central Administration. Select the service application and click on Permissions in the ribbon. In the Connection Permissions dialog, type the service account name and click Add. Select the appropriate permission level for the service account.

3. Remove the local farm ID from the service application by clicking on Local Farm in the middle pane of the Connection Permissions page and then clicking Remove.

4. Verify that the service account has the required permissions on the service application and click OK to save the changes.

Option 2: Adding Access Service through PowerShell

1. Start the SharePoint Management Shell with the necessary permissions.

2. Retrieve the web application service account by running the command: $webApp = Get-SPWebApplication <http://WebApplication>, where <http://WebApplication> is the URL of the web application.

3. Create a new claims principal that contains the web application service account by running the command: $principal = New-SPClaimsPrincipal <ServiceAccount> -IdentityType WindowsSamAccountName, where <ServiceAccount> is the service account name.

4. Retrieve the security object of the service application by running the commands: $spapp = Get-SPServiceApplication -Name "<ServiceApplicationDisplayName>"; $spguid = $spapp.id; $security = Get-SPServiceApplicationSecurity $spguid, where <ServiceApplicationDisplayName> is the display name of the service application.

5. Add the web application service account to the security object of the service application by running the command: Grant-SPObjectSecurity $security $principal -Rights "<Rights>", where <Rights> is the permissions you want to grant.

6. Remove the local farm ID from the security object of the service application by running the command: $security.RemoveAccount((New-Object System.Security.Principal.SecurityIdentifier -ArgumentList "<LocalFarmID>"))

7. Assign the updated security object to the service application by running the command: Set-SPServiceApplicationSecurity $spguid $security.

These steps will allow you to add Access Service to SharePoint 2016 using either Central Administration or PowerShell.

Adding Access Service through Central Administration

To add the Access Service through Central Administration in SharePoint 2016, follow these steps to ensure a successful integration:

  1. Retrieve the web application service account by going to Central Administration and clicking on Configure service accounts. Record the service account name.
  2. Add the web application service account to the service application by going to Manage service applications in Central Administration. Select the service application and click on Permissions in the ribbon. In the Connection Permissions dialog, type the service account name and click Add. Select the appropriate permission level for the service account.
  3. Remove the local farm ID from the service application by clicking on Local Farm in the middle pane of the Connection Permissions page and then clicking Remove.
  4. Verify that the service account has the required permissions on the service application and click OK to save the changes.

By following these steps, you will be able to add the Access Service to SharePoint 2016 using Central Administration.

Example Table

Step Description
1 Retrieve the web application service account
2 Add the service account to the service application
3 Remove the local farm ID
4 Verify permissions and save changes

It is important to note that these instructions are specific to adding the Access Service through Central Administration in SharePoint 2016. If you prefer to use PowerShell, refer to the following section for step-by-step instructions on how to add the service using that method.

Make sure to follow the necessary steps to integrate the Access Service successfully and ensure a seamless experience with your SharePoint 2016 environment.

Adding Access Service through PowerShell

For those who prefer using PowerShell, adding the Access Service to SharePoint 2016 is possible by following these steps carefully:

1. Start the SharePoint Management Shell with the necessary permissions.

2. Retrieve the web application service account by running the command: $webApp = Get-SPWebApplication <http://WebApplication>, where <http://WebApplication> is the URL of the web application.

3. Create a new claims principal that contains the web application service account by running the command: $principal = New-SPClaimsPrincipal <ServiceAccount> -IdentityType WindowsSamAccountName, where <ServiceAccount> is the service account name.

4. Retrieve the security object of the service application by running the commands: $spapp = Get-SPServiceApplication -Name "<ServiceApplicationDisplayName>"; $spguid = $spapp.id; $security = Get-SPServiceApplicationSecurity $spguid, where <ServiceApplicationDisplayName> is the display name of the service application.

5. Add the web application service account to the security object of the service application by running the command: Grant-SPObjectSecurity $security $principal -Rights "<Rights>", where <Rights> is the permissions you want to grant.

6. Remove the local farm ID from the security object of the service application by running the command: $security.RemoveAccount((New-Object System.Security.Principal.SecurityIdentifier -ArgumentList "<LocalFarmID>"))

7. Assign the updated security object to the service application by running the command: Set-SPServiceApplicationSecurity $spguid $security.

These steps will allow you to add Access Service to SharePoint 2016 using PowerShell.