Deploying SQL Server 2016 PowerPivot and Power View in SharePoint 2016
Deploying SQL Server 2016 PowerPivot and Power View in SharePoint 2016
Deploying SQL Server 2016 PowerPivot and Power View in SharePoint 2016
Summary: This white paper provides SharePoint administrators and architects detailed step-bystep instructions for deploying and configuring a Microsoft BI demo environment based on the
Preview releases of SharePoint Server 2016, Office Online Server, and the SQL Server 2016 BI
stack for SharePoint 2016. Following a brief introduction of important architecture changes and
corresponding system dependencies, it outlines software and configuration requirements and a
recommended deployment path to enable and verify BI capabilities in three main stages. This
white paper also addresses known issues that exist in the SharePoint Server 2016 Beta 2,
Office Online Server Preview and SQL Server 2016 CTP 3.1 releases and suggests appropriate
workarounds. These workarounds will no longer be necessary in the final versions of the
products. Check for an updated version of this white paper when deploying RTM releases.
Copyright
This document is provided as-is. Information and views expressed in this
document, including URL and other Internet Web site references, may change
without notice. You bear the risk of using it.
Some examples depicted herein are provided for illustration only and are fictitious.
No real association or connection is intended or should be inferred.
This document does not provide you with any legal rights to any intellectual
property in any Microsoft product. You may copy and use this document for your
internal, reference purposes.
2015 Microsoft. All rights reserved.
Table of Contents
Introduction................................................................................................................... 5
Understanding the SQL BI Architecture for SharePoint 2016................................................6
Important Excel Online Dependencies and Restrictions..........................................6
BI System Architecture for SharePoint 2016............................................................7
Setting up a Demo Infrastructure.................................................................................... 10
Step 1: Defining the VMs and their Roles..............................................................10
Step 2: Deploying the AD DS and DNS Environment and Joining the VMs.............11
Deploy an AD DS Forest and DNS Zone..............................................................11
Create System, Administrator, and User Accounts.............................................11
Step 3: Defining the Overall BI Deployment Sequence.........................................12
Deploying a minimal Self-Service BI Environment.............................................................13
Step 1: Installing SQL Server Database Engine and Analysis Services in PowerPivot
Mode..................................................................................................................... 14
Install .NET Framework 3.5 as a SQL Server Setup Prerequisite:........................14
Install SQL Server Database Engine Services and Analysis Services:.................14
Configure Windows Firewall for Database Engine Services:...............................17
Configure Windows Firewall for Analysis Services:.............................................20
Step 2: Installing SharePoint Server 2016 Beta 2..................................................21
Install SharePoint Server 2016 Beta 2 Prerequisites:..........................................22
Install a SharePoint Server 2016 Single Server Farm:........................................22
Configure the Single-Server Farm:.....................................................................24
Add SharePoint Users to the BI Root Site:..........................................................25
Import user profiles into the SharePoint farm:...................................................26
Step 3: Deploying Office Online Server Preview....................................................28
Install Office Online Server Prerequisites...........................................................28
Install Office Online Server Preview...................................................................29
Create an Office Online Server Farm..................................................................30
Step 4: Configuring Excel Online for BI..................................................................31
Test Office Online Server to SSAS connectivity..................................................31
Grant the Office Online Server Network Service Account Administrator Rights in
Analysis Services................................................................................................ 32
Connect Office Online Server to Analysis Services in PowerPivot Mode.............33
Configure and enable Claims to Windows Token Service for Office Online Server
........................................................................................................................... 34
3
Introduction
There are many good reasons to upgrade BI-enabled SharePoint farms to Microsoft
SharePoint Server 2016. New infrastructure advancements, specifically MinRole,
help to facilitate performance and capacity planning, server deployment, and scale
out in large environments. Other enhancements, such as advanced compliance
capabilities and support for encrypted email communication, help to increase data
protection and security in SharePoint farms, and there are numerous performance
and reliability improvements stemming from the fact that SharePoint Server 2016
has its roots deep in the SharePoint Online codebase. For more information, see the
SharePoint Server 2016 Beta 2 online documentation at
https://technet.microsoft.com/en-us/library/cc303422(v=office.16).aspx.
More specifically for BI, Excel Services, now called Excel Online, features an
improved architecture, unifying the Excel Services deployment for both workbook
editing and BI scenarios. Previous releases required customers to exclude
workbooks with PowerPivot data models from online editing experiences because
the PowerPivot add-ins for SharePoint 2010 and SharePoint 2013 did not support
Office Web Apps Server. The add-ins required Excel Services instances deployed
directly in the SharePoint farms, which did not support online editing of workbooks.
Furthermore, in SharePoint 2016, users soon can configure Scheduled Data Refresh
for Excel workbooks that utilize Power Query connections to import data into a data
model. This capability is not yet available in the Preview releases, but is going to
ship with the final release of Office Online Server. Moreover, numerous popular
Excel client features have found their way into Excel Online, such as search in
filters, value field settings, freeze panes, print a selection, and support for
comments.
The SQL Server 2016 BI stack for SharePoint 2016 also adds important
enhancements. Thanks to the performance optimizations in SQL Server Analysis
Services (SSAS), PowerPivot data models load faster and client queries also return
quicker than with previous SSAS releases, contributing to an overall more
responsive BI experience. SharePoint-integrated Reporting Services (SSRS) also
offers noteworthy improvements with SQL Server 2016, such as new chart types,
HTML5 rendering of reports, cross-browser printing, export to Microsoft PowerPoint,
and an updated version of Report Builder.
Upgrading a BI-enabled SharePoint farm to SharePoint 2016 requires careful
preparation, as many considerations have changed, due to the new architecture.
Excel Services no longer ships with SharePoint 2016, making it a key requirement to
deploy an Office Online Server environment along with the SharePoint 2016 farm. In
BI-enabled SharePoint 2016 farms, Office Online Server must be able to act on
behalf of the user when opening a workbook in the browser that uses another
workbook as its data source. This PowerPivot functionality therefore requires
Kerberos Constrained Delegation (KCD) between the Office Online servers that host
Excel Online and the SharePoint front-end Web applications that host the site
collections of the farm. KCD is not a requirement for SharePoint 2016 farms without
the PowerPivot add-in.
This white paper provides you with detailed step-by-step instructions to deploy and
configure a small BI demo environment to help you get familiar with the new
architecture and its key components as quickly as possible. It also guides you past
commonly encountered known issues in the Preview releases of SharePoint 2016,
Office Online Server, and the SQL Server 2016 BI stack for SharePoint 2016. Due to
these issues, it is recommended that you follow the deployment instructions in the
sequence that this white paper outlines.
PowerPivot Web Service. Also note that multi-forest topologies with single
trust relationships are not supported because the Claims to Windows Token
Service (C2WTS) cannot resolve accounts from remote forests if the required
trust relationship is missing. If the domain controllers run Windows 2012 R2
and full trust relationships exist, then KCD can cross a single forest boundary.
Multi-forest topologies are beyond the scope of this white paper. The demo
environment relies on a single forest only.
Power View Reports embedded in Excel workbooks require
SharePoint-integrated SSRS While Excel Online can render workbooks in
the browser, Power View reports embedded in these workbooks cannot be
displayed unless the workbooks reside in a SharePoint farm with SharePointintegrated Reporting Services installed. Excel Online relies on Reporting
Services to render the Power View reports. Note also that Power View still has
Silverlight dependencies.
Scheduled Data Refresh for workbook data models requires the
PowerPivot add-in Maintaining refresh schedules and triggering scheduled
refreshes for workbook data models is the task of the PowerPivot System
Services, which is part of the PowerPivot add-in for SharePoint 2016. If the
add-in is not installed, workbooks cannot be scheduled for automatic refresh.
Figure 2 System architecture for SQL Server BI based on SharePoint 2016 and Office Online Server
The SQL Server BI architecture for SharePoint 2016 includes the following key
components and technologies:
update of the workbook data, such as when a user interacts with PivotTables
or PivotCharts via slicers.
PowerPivot Gallery Implements custom content types and Microsoft
Silverlight-enabled application pages for document libraries to visualize
shared workbooks and SSRS/Power View reports interactively.
PowerPivot Management Dashboard Facilitates centralized BI
monitoring and management in a SharePoint environment.
PowerPivot Service Application Database Stores schedule information
for data refresh operations and usage data for the Management Dashboard
workbooks.
PowerPivot System Service Manages the application database, collects
usage data, and performs automatic data refreshing for workbook data
models.
PowerPivot Usage Processing Service Enables Excel Online to submit
usage data for a workbook and server statistics concerning the load and
utilization of registered Analysis Services instances to the SharePoint 2016
usage logs. A SharePoint Timer job then moves the usage information into the
PowerPivot Service Application Database.
PowerPivot Web Service Exposes workbook data models via XML for
Analysis (XML/A) as data sources to external applications, such as Excel or
Report Builder. Client applications can access workbook data models in the
same way as Tabular data models hosted on a dedicated Analysis Services
instance in Tabular mode.
SharePoint Content Databases Store the data, documents, workbook,
and reports associated with SharePoint lists, libraries, and sites. Excel Online
can retrieve the workbooks by using the Web Application Open Platform
Interface (WOPI) protocol.
SharePoint Web Applications Provide IIS sites and application pools,
security identities, and isolation for front-end processes on a SharePoint
server. A single web application can host multiple site collections and each
site collection can have the PowerPivot feature activated or deactivated
individually.
SSRS/Power View Service Application Enables SSRS and Power View
report creation and viewing in document libraries, subscription delivery of
reports through email, and data alerting. Power View is a browser-based
Silverlight application for interactive data exploration, visualization, and
presentation.
Figure 3 A VM-based Demo Deployment SQL Server BI, SharePoint Server 2016, and Office Online
Server
Note that you can also use Microsoft Azure virtual machines to deploy the demo
environment. For details how to deploy AD DS, see Guidelines for Deploying
Windows Server Active Directory on Azure Virtual Machines at
https://msdn.microsoft.com/en-us/library/azure/jj156090.aspx.
11
Step 2: Deploying the AD DS and DNS Environment and Joining the VMs
In the demo environment for this white paper, all virtual machines run Windows
Server 2012 R2 (even WKSTA2016). There are no special installation requirements.
If you need installation instructions, refer to the Microsoft test lab guide for setting
up a base configuration using Windows Server 2012 R2, available for download at
https://www.microsoft.com/en-us/download/details.aspx?id=39638.
ContosoLab\SPU
ser
ContosoLab\SPA
dmin
ContosoLab\SPU
Purpose
The system account for the SharePoint farm and all its shared
services. Given that there are no special security requirements,
the demo environment does not use separate service
accounts.
A domain account for a regular SharePoint user. This user does
not have any administrative permissions in the SharePoint
farm.
A domain admin account for SharePoint farm administration
purposes. This account has full control over the SharePoint
farm and its site collections.
A domain account for the User Profile Service Application to
12
psSvc
ContosoLab\SQL
Admin
Table 1 System, administrator, and user accounts for deploying a SharePoint 2016-based demo
environment for BI
13
The remaining deployment steps for the PowerPivot add-in and SharePointintegrated Reporting Services are interchangeable. However, it is strongly
recommended to deploy the PowerPivot components before Reporting Services to
avoid difficulties with the Preview releases. As outlined later in this white paper,
Reporting Services requires the SharePoint server to be assigned the Custom server
role, yet the PowerPivot Configuration Tool cannot deploy its SharePoint solution
packages with this role due to a known issue in SharePoint 2016. Deploying the
PowerPivot components first avoids having to switch server roles back and forth.
14
5. On the Select server roles page, select Application Server, and then click
Next.
6. On the Select features page, select .NET Framework 3.5 Features in
addition to the default selection, and then click Next.
7. Click Next twice and then click Install.
8. Following the feature installation, click Close and then restart the computer
to complete any pending update operations.
16
9. The Feature Rules window will automatically advance if all rules pass. On
the Instance Configuration page, make sure you select Named instance.
The instance name is required. In prior releases installing Analysis Services in
PowerPivot mode would automatically choose the instance name
POWERPIVOT. This is no longer required. However, due to a known issue with
CTP3.1, default instances are not yet supported. You can specify any valid
instance name. This document suggests using SHAREPOINT as the instance
name and ID. Click Next to continue.
17
10.On the Server Configuration page accept the default accounts for SQL
Server services, and click Next.
11.On the Database Engine Configuration page, accept the default settings,
and click on Add Current User to add SQLAdmin to the list of SQL Server
administrators. Then click on Add to add the SPAdmin account as well. Click
Next to continue.
12.On the Analysis Services Configuration page, under Server Mode, make
sure you select PowerPivot Mode. Click on Add Current User to add
SQLAdmin to the list of Analysis Services Server administrators, and then
click Next to continue. The SPAdmin account does not require admin rights in
Analysis Services.
18
19
20
11.In Action, click Allow the connection and then click Next.
12.In Profile, clear any network locations that do not apply or accept the
defaults and then click Next.
13.In Name, type a descriptive name for this rule (for example, SQL Server
Database Engine for SharePoint (dynamic port-in)), and then click
Finish.
14.On SP2016B2, logged on as SPAdmin, open Windows PowerShell and from the
Windows PowerShell command prompt, run the following script to verify that
the Database Engine is accessible:
# Open a connection to the SQL Server Database Engine
$sqlConnection = New-Object System.Data.SqlClient.SqlConnection
$sqlConnection.ConnectionString =
"Server=SQLDB2016\SHAREPOINT;Database=master;Integrated Security=True"
$sqlConnection.Open()
# Query the master database
$sqlCommand = New-Object System.Data.SqlClient.SqlCommand
$sqlCommand.CommandText = "SELECT name FROM [master].[sys].[databases]"
$sqlCommand.Connection = $sqlConnection
$sqlDataAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$sqlDataAdapter.SelectCommand = $sqlCommand
$dataSet = New-Object System.Data.DataSet
$sqlDataAdapter.Fill($dataSet)
21
22
of the SharePoint farm. This includes installing prerequisites and SharePoint binaries
as well as the provisioning of configuration and content databases and the
assignment of the Single Server role to the SharePoint server. Having deployed the
initial farm, you must also provision and configure a minimum set of SharePoint
shared services that the BI scenarios depend on.
SharePoint Server 2016 Beta 2 is available for download in the Microsoft Download
Center at http://www.microsoft.com/en-us/download/details.aspx?id=49961.
24
25
12.On the Specify Farm Security Settings page, enter and confirm a farm
passphrase, such as P@ssphr0se, and then click Next.
13.On the Specify Server Role page, make sure you select Single-Server
Farm, and then click Next.
26
27
28
Value
Contoso Lab
Active Directory Import
lab.contoso.com
Windows Authentication
N/A
ContosoLab\SPUpsSvc
P@ssw0rd
P@ssw0rd
389
Note that the account you specify for the user profile import must have the
Replicating Directory Changes permission in Active Directory.
30
make sure the Include management tools (if applicable) check box is
selected, click Add Features, and then click Next.
6. On the Select features page, in addition to the default selections, select Ink
and Handwriting Services and Windows Identity Foundation 3.5, and
then click Next.
7. On the Application Server page, note that the installation of Web Server
(IIS) Support is recommended, and then click Next.
8. On the Select role services page, select Web Server (IIS) Support, and
then in the Add Roles and Features Wizard dialog box, make sure the
Include management tools (if applicable) check box is selected, click
Add Features, and then click Next.
9. On the Web Server Role (IIS) page, click Next.
10.On the Select role services page, click Next, and then on the Confirm
installation selections page, click Install.
11.Following the feature installation, click Close and then restart the computer
to complete any pending update operations.
12.Log on to WAC2016 as SPAdmin, and then in Server Manager, click on Add
roles and features again.
13.Click Next three times to reach the Select server roles page.
14.Expand Web Server (IIS), expand Web Server, expand Application
Development, and then select the Server Side Includes check box. Click
Next.
15.On the Select features page, click Next.
16.On the Confirm installation selections page, click Install.
17.Following the feature installation, click Close.
18.Download and then run the installation package for Microsoft Identity
Extensions at http://download.microsoft.com/download/0/1/D/01D06854CA0C-46F1-ADBA-EBF86010DCC6/MicrosoftIdentityExtensions-64.msi.
19.On the Please read the Microsoft Identity Extensions License Terms
page, review the license agreement and, if you agree, select the I accept
the terms of the License Agreement check box, and then click Install. If
a User Account Control window is displayed, click Yes.
20.On the Completed the Microsoft Identity Extensions Setup Wizard
page, click Finish.
21.Download the Update for Universal C Runtime in Windows for your
operating system, such as All supported x64-based versions of
Windows Server 2012 R2, and then run the installer package.
22.In the Windows Update Standalone Installer dialog box, asking you if you
want to install the updated, click Yes.
23.In the Installation complete dialog box, click Close.
3. On the Choose a file location page, accept the default paths or specify
alternative file locations, and then click Install Now.
4. On the final Office Online Server page, informing that the installation was
successful, click Close.
32
Note that if New-OfficeWebAppsFarm is unavailable, you must run the ImportModule OfficeWebApps command to load the Office Online Server cmdlets.
3. Confirm the message that you should only set EditingEnabled to TRUE if
licenses permit online editing with Y for Yes.
4. It is recommended that you copy & paste the output into a document to keep
a reference of the Office Online Server configuration.
5. Note also that the New-OfficeWebAppsFarm cmdlet creates a new firewall
rule called Microsoft Office Web Apps to open TCP ports 80, 443, and 809
for inbound traffic.
33
Grant the Office Online Server Network Service Account Administrator Rights
in Analysis Services
1. Log on to SQLDB2016 as SQLAdmin and start SQL Server Management
Studio.
2. Connect to the SQLDB2016\SHAREPOINT instance of Analysis Services, and
then right-click the instance name in Object Explorer and then click
Properties.
3. Click Security in the Select a Page pane, and then click Add.
34
4. In the Select Users or Groups dialog, click Locations, and then select
Entire directory and click OK.
5. Click Object Types, select the Computers check box, and then click OK.
6. In the Enter the object names to select textbox, type the name of the
computer, such as WAC2016, and then click Check Names to verify the
computer account is found.
7. Click OK twice to apply the changes and close the Analysis Server
Properties dialog box.
35
Configure and enable Claims to Windows Token Service for Office Online
Server
1. From the Windows PowerShell command prompt, run the following command
to open the configuration file of the Claims to Windows Token Service
(C2WTS) in Notepad.exe:
Notepad "C:\Program Files\Windows Identity Foundation\v3.5\c2wtshost.exe.config"
2. Remove the comment tags (<!-- and -->) from the NT AUTHORITY\Network
Service line and save the changes.
36
3. From the Windows PowerShell command prompt, run the following commands
to configure the Claims to Windows Token Service for automatic startup and
start the service:
Set-Service -Name C2WTS -startuptype "automatic"
Start-Service -Name C2WTS
37
communication, but it implies that Excel Online must be able to communicate with
Analysis Service for any application to consume a workbook data model. Having
loaded a requested data model, Excel Online returns the chosen SSAS server and
data model name to the caller so that the client library can establish a direct SSAS
connection to this model. In PowerPivot mode, establishing a direct connection
requires SSAS server admin rights, so the service accounts of the SharePoint service
applications must be added to the SSAS administrator list.
Value
contosolab\SPFarm
P@ssw0rd
SQLDB2016\SHAREPOINT
P@ssphr0se
P@ssphr0se
4. Click Validate, and then in the Test Validation dialog box informing you
that the validation succeeded for all actions, click OK.
39
5. Click run to start the PowerPivot deployment and farm configuration steps,
and confirm the actions by clicking Yes in the Warning dialog box.
6. In the Task Configuration dialog box, informing you that the selected tasks
completed successfully, click OK.
7. In the PowerPivot Configuration Tool, click Exit.
40
5. Log on to SP2016B2 as SPUser, and then in the browser, visit the BI Root Site
at http://sp2016b2.
6. Click on Site Contents and then click on add an app.
41
11.Click on the Refresh Schedule button, which looks like a calendar, at the top
right corner of your PowerPivot Gallery page.
12.On the Manage Data Refresh page, under Data Refresh, select the
Enable check box.
13. Specify the desired Schedule Details and then select the Also refresh as
soon as possible check box.
42
15.After a minute, click on the Refresh Schedule button again. Note that the
Data Refresh History page is displayed with the status of the recent refresh
operation. Verify that the initial data refresh completed successfully.
43
44
29.On the workstation with Excel 2016, WKSTA2016, log on as SPUser, and then
in the browser, visit the BI Root Site at http://sp2016b2.
30.Open the Data Connection Library and then click on the ellipsis for the
Olympics Workbook Connection file, click on the ellipsis in the context
menu again to display more options, and then click on Launch Excel.
31.When you are asked to open or save an odc file, click Open.
32.Note that Excel is launched. In the Microsoft Excel Security Notice, click
Enable.
33.In the Data Link Properties dialog box, accept the defaults, and click OK.
34.Verify that Excel automatically adds an empty PivotTable to the worksheet
and displays the PivotTable Fields with the fields from the data model. You
now can query the Data Model that was created and uploaded with the first
Excel workbook. The new workbook does not contain a data model; it is linked
to the first workbook that already exists in SharePoint.
35.Build a new report by selecting appropriate measures and fields. For example,
you could try to recreate a PivotTable from the original workbook.
36.Make sure you also add a slicer for easy interaction with the data. On the
Analyze tab, click on Insert Slicer. In the Insert Slicer dialog box, select
and appropriate field and then click OK.
37.Click on a value in the slicer and notice that data in the PivotTable changes
according to your selection.
45
client libraries that ship with Excel Online Preview, the following section also shows
you how to update the client libraries so that the server uses the latest version of
the Analysis Services OLE DB Provider. The Analysis Services OLE DB Provider
(ENU\x64\SQL_AS_OLEDB.msi) is available for download in the SQL Server 2016 CTP
3.1 Feature Pack at http://go.microsoft.com/fwlink/?LinkID=398150.
47
12.In Task Manager, click on More Details, and then switch to the Details
tab.
13.In the Name column, select a row for the w3wp.exe, which is the IIS
Worker Process. Note the service identity under User name, such as
SPFarm, which is the service account that the application pool for SharePoint
Web Services uses. Alternatively, you can use SharePoint Central
Administration to determine the service account for the Web Applications that
host your site collections.
14.Open a new Windows PowerShell window and run the following script (replace
computer and service account names if necessary):
# Get the Office Online server account in Active Directory.
$allowedPrincipals = @()
$allowedPrincipals += Get-ADComputer -Identity WAC2016
# Set the delegation property on the application pool identity.
Set-ADUser SPFarm -PrincipalsAllowedToDelegateToAccount $allowedPrincipals
# Set the Service Principal Names for the application pool identity.
SetSPN -S HTTP/SP2016B2 ContosoLab\SPFarm
SetSPN -S HTTP/SP2016B2.lab.contoso.com ContosoLab\SPFarm
# List the principals allowed to delegate
Get-ADUser SPFarm -Properties PrincipalsAllowedToDelegateToAccount
# List the Service Principal Names.
SetSPN -l WAC2016
SetSPN -l ContosoLab\SPFarm
48
15.In the script output, make sure that the WAC2016 computer account is listed
under PrincipalsAllowedToDelegateToAccount and that the following
Service Principal Names have been configured:
Account Name
WAC2016
ContosoLab\SPFarm
SPNs
HOST/WAC2016
HOST/WAC2016.lab.contoso.com
HTTP/SP2016B2.lab.contoso.com
HTTP/SP2016B2
Update the Analysis Services OLE DB Provider for Office Online Server
Preview Only
1. Log on to WAC2016 as SPAdmin, and download the latest version of the
Analysis Services OLE DB Provider from the SQL Server 2016 CTP3.1 Feature
Pack (ENU\X64\SQL_AS_OLEDB.msi) and run the installer package. Note that
the provider version must be CTP3.1 or higher.
49
50
grant regular SharePoint users access to these workbooks, yet these considerations
to not apply to this white papers demo environment.
21.Log on to SP2016 as SPAdmin, and then right-click the Windows icon in the
taskbar, click Run, and type certlm.msc and click OK to open the Manage
Computer Certificates tool. If a User Account Control window is displayed,
click Yes.
22.Expand the Trusted Root Certification Authorities node and then select
Certificates.
23.Right-click on Certificates, select All Tasks, and click on Import.
24.On the Welcome to the Certificate Import Wizard page, click Next.
25.On the File to Import page, click on Browse and select the previously
exported certificate, such as C:\Office S2S Authentication
Certificate.cer, and click Next.
26.On the Certificate Store page, under Place all certificates in the
following store, make sure Trusted Root Certification Authorities is
selected, and then click Next.
27.On the Completing the Certificate Import Wizard page, click Finish.
28.In the Certificate Import Wizard dialog box informing you that the import
was successful, click OK and then close the Manage Computer Certificates
tool.
29.On the Desktop, right-click the SharePoint 2016 Management Shell and
click Run as administrator. If a User Account Control window is
displayed, click Yes.
30.From a Windows PowerShell command prompt, run the following commands
to register the certificate for all the sites under http://sp2016b2 (change the
$SP_SITE_URL and $CERT_PATH parameters as necessary):
$SP_SITE_URL = "http://sp2016b2"
$CERT_PATH = Get-PfxCertificate "C:\Office S2S Authentication Certificate.cer"
52
# Register the Excel Online components that authenticate using S2S as trusted token issuers
$wac = New-SPTrustedSecurityTokenIssuer -Name OOS_ECS -Certificate $CERT_PATH
-RegisteredIssuerName 67e3df25-268a-4324-a550-0de1c7f97287@bd2372e4-0a11-495c9541-8377c6def195
$sspm = New-SPTrustedSecurityTokenIssuer -Name OOS_SSPM -Certificate $CERT_PATH
-RegisteredIssuerName 67e3df25-268a-4324-a550-0de1c7f97287@ffab2d74-c6ae-4375-819a8555d49b699a
# Grant full control to the corresponding application identities.
$app_wac = Get-SPAppPrincipal -Site $SP_SITE_URL -NameIdentifier $wac.NameId
$app_sspm = Get-SPAppPrincipal -Site $SP_SITE_URL -NameIdentifier $sspm.NameId
$site=Get-SPSite $SP_SITE_URL
Set-SPAppPrincipalPermission AppPrincipal $app_wac -Site $site.RootWeb -Scope
sitesubscription -Right fullcontrol EnableAppOnlyPolicy
Set-SPAppPrincipalPermission AppPrincipal $app_sspm -Site $site.RootWeb -Scope
sitesubscription -Right fullcontrol EnableAppOnlyPolicy
# Restart IIS, and then wait for SharePoint to come back online.
IISReset
53
33.On WKSTA2016, log on as SPUser, and then in the browser, visit the BI Root
Site at http://sp2016b2.
34.Open a document library, such as http://sp2016b2/PowerPivot
%20Gallery, and then open a workbook in the browser.
35.Interact with the data by clicking on a slicer. If a Query and Refresh Data
dialog box is displayed asking you if you want to refresh the workbook, click
Yes. Explore the data some more to generate activity.
36.Back on SP2016B2, logged on as SPAdmin, open the SharePoint Logs folder in
Windows Explorer (by default C:\Program Files\Common Files\Microsoft
Shared\Web Server Extensions\16\LOGS\). Check that there are subfolders
such as AnalysisServicesConnections and AnalysisServicesLoads, and that
these folders contain one or multiple .usage files.
37.On the Desktop, open SharePoint 2016 Central Administration. If a User
Account Control window is displayed, click Yes.
38.In the left pane, click on Monitoring, and then under Timer Jobs, click on
Review job definitions.
39.Scroll through the pages until you find the PowerPivot Health Statistics
Collector Timer Job. Click on this timer job to display the corresponding
Edit Timer Job page. Click Run Now.
40.Log on to SQLDB2016 as SQLAdmin and start SQL Server Management
Studio.
41.Connect to the SQLDB2016\SHAREPOINT instance of the Database Engine,
expand Databases, expand the database of the PowerPivot service
application, which typically starts with
DefaultPowerPivotServiceApplicationDB, expand Tables, and then
right-click on the Usage.Documents table, and click Select Top 1000
Rows.
42.In the Results, verify that you have at least 1 entry corresponding to the
workbook you just interacted with on WKSTA2016.
54
55
10.In the Edit Connection dialog box, under Server name, type the name of
the database instance, such as SQLDB2016\SHAREPOINT.
11.Under Database name, select the database of the PowerPivot service
application, which typically starts with
DefaultPowerPivotServiceApplicationDB
12.Click Save and then Close.
13.Switch to the Date table, and then on the Design ribbon, click on Table
Properties.
14.In the top right corner, under Switch to, select Query Editor, and then
replace the entire Sql statement with the following query: SELECT * FROM
[Usage].[vDate]
15.Click Save, and then on the Home tab, click on the triangle under Refresh,
and then click on Refresh All.
56
57
58
3. Wait until the server role conversion timer job has successfully applied the
changes. Use the following command to verify the servers assigned role:
Get-SPServer SP2016B2
61
62
13.Open the workbook in the browser. Note that the Power View report is
displayed within the Excel Online rendering context.
Conclusion
Deploying the full SQL Server BI stack for SharePoint 2016 is a significant
undertaking, best tackled in multiple stages using a structured approach. Following
the installation of the necessary Windows and AD DS infrastructure, the first stage
revolves around establishing a basic BI environment without advanced PowerPivot
or SSRS/Power View capabilities. It is imperative to configure SharePoint Server,
Office Online Server, and Analysis Services correctly so that users can open
workbooks in the browser and Excel Online can load and query data models as
users interact with the workbook data.
Having established that the basic BI environment works reliably, additional BI
capabilities can be added. A good next step is to deploy the PowerPivot add-in for
SharePoint 2016. PowerPivot adds important features, such as the PowerPivot
Gallery, Scheduled Data Refresh, and Workbooks as a Data Source. The add-in also
adds support for BISM connection files to the SharePoint farm and gives SharePoint
administrators the option to deploy the PowerPivot Management Dashboard
solution.
64
See Also
65
Did this paper help you? Please give us your feedback. Tell us on a scale of 1 (poor)
to 5 (excellent), how would you rate this paper and why have you given it this
rating? For example:
Are you rating it high due to having good examples, excellent screen shots,
clear writing, or another reason?
Are you rating it low due to poor examples, fuzzy screen shots, or unclear
writing?
This feedback will help us improve the quality of white papers we release.
Send feedback.
66