SlideShare uma empresa Scribd logo
1 de 38
S H A R E - T H E - P O I N T 
CONFERENCES 
2014 
Randy Williams 
Yammer.com/ 
stpevents
#seaspc 
Author Director of ACS
#seaspc 
Provision, Configure, Secure and Troubleshoot… 
Excel 
Services 
Power 
Pivot 
Power 
View
#seaspc 
 SharePoint Server 2013 Enterprise 
 SQL 2012 SP1 or SQL 2014 Enterprise 
 Used for PowerPivot & Power View 
 You can use older SQL versions for config, content, service app 
databases 
 Note: This session covers on-premises capabilities, not what 
you’ll find in Power BI in Office 365
#seaspc
#seaspc
#seaspc 
$server = "APP1" 
$identity = "contososp.excel" 
$appName = "Excel Services Application" 
$appPoolName = "Excel Services App Pool" 
$cred = Get-Credential $identity 
$appPoolAccount = New-SPManagedAccount -Credential $cred 
$url = "https://teams.contoso.com" 
$identity = "contososp.excel" 
$appName = "Excel Services Application" 
$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $identity 
New-SPExcelServiceApplication -name $appName –ApplicationPool $appPoolName -default 
Get-SPServiceInstance | where {$_.typename -eq "Excel Calculation Services" -and $_.Parent -like "*$server"} | ` 
Start-SPServiceInstance 
Get-SPExcelServiceApplication -identity $appName | New-SPExcelFileLocation -address "https://" -includeChildren 
$webApp = Get-SPWebApplication $url 
$webApp.GrantAccessToProcessIdentity($identity) 
New-SPWOPISuppressionSetting -Extension "XLSX" -Action "view" 
New-SPWOPISuppressionSetting -Extension "XLS" -Action "view"
#seaspc 
 If you use a unique app pool, make sure you run 
GrantAccessToProcessIdentity() on web app 
 If you use Office Web Apps, run New-SPWOPISuppressionSetting to 
have ECS render 
 Add/edit default file location when using SSL 
When troubleshooting, always double check your settings—if that fails, 
then review ULS logs!
#seaspc 
Understanding the data refresh problem
 Can ECS connect to the original data source to refresh worksheet data? 
#seaspc 
 Windows auth is the best 
choice, but when using NTLM 
you have delegation 
(double-hop) problems
#seaspc 
 Use Secure Store Service and store 
credentials to server within an SSS 
target application 
 Use one unattended service account 
or multiple target application IDs 
 Use Kerberos (KCD) 
 Use a standard (non-integrated) username 
& password 
 Store .ODC (office data connections) within trusted libraries and only 
allow trusted connected libraries
Try to delegate with 
logged on user’s 
credentials 
Use specific App ID from 
Secure Store Service 
Use unattended service 
account in Excel Services 
global settings 
#seaspc
#seaspc 
Configuring Excel Services Data Refresh
#seaspc
#seaspc 
PowerPivot is available in 
 Excel 2013 client application 
 PowerPivot is a preinstalled add in. Just enable it 
 Analysis Services in SharePoint mode 
 This is the server component provided by SQL Server 
 Excel Services calls into it when needed
#seaspc 
Excel Services 
is the hub for 
all PowerPivot 
features!
#seaspc 
 xVelocity engine used by Excel Services 
 Run on one or more SQL Servers (2012 SP1 or 2014) 
 Used when Excel workbooks with embedded data models are 
run in Excel Services 
 Embedded data model from Excel workbook is loaded and processed 
here 
 This can run alongside relational SQL instances, but for heavy 
analysis it should run on dedicated server(s)
 Install from SQL Server media 
 Installs as PowerPivot instance 
name 
 Grant Excel Services, 
PowerPivot, SSRS, and Farm 
accounts admin permissions 
#seaspc
#seaspc 
 PowerPivot instance runs on a dynamic TCP port by default 
 Edit C:Program FilesMicrosoft SQL Server 
MSAS11.POWERPIVOTOLAPConfigmsmdsrv.ini and change to a 
change to a fixed port 
 Add this fixed port and SQL Browser (TCP 2382, UDP 1434) to allowed 
firewall list 
 Test by using SQL Management Studio from a remote server
#seaspc 
 Add <servername>powerpivot to Excel Services Data Model 
settings 
 Name is not case sensitive
#seaspc 
 spPowerPivot.msi 
 Contains the latest drivers, plus 
 PowerPivot System Service handles scheduled data refresh 
 Management dashboard in Central Admin 
 PowerPivot Gallery (useful with Power View) 
 PowerPivot Configuration Tool simplifies the provisioning effort 
 Recommended to install on all SharePoint servers 
 Download from bit.ly/1upf49J (SQL 2012 SP1) or 
bit.ly/1qcamtj (SQL 2014)
#seaspc 
Provisions additional PowerPivot capabilities 
 Scheduled data refresh allows users to configure when 
their workbooks are refreshed automatically. See 
bit.ly/1iPVkZg 
 PowerPivot Management dashboard 
 PowerPivot Gallery (library template) 
Not required for basic PowerPivot features
#seaspc
#seaspc 
 Create a separate account for PowerPivot service and configure as 
default account (top page) 
 Modify “Create PowerPivot Service Application” to remove database 
GUID 
 Application pool assigned for PowerPivot service is not configurable 
 Doesn’t grant permissions properly for PowerPivot management 
dashboard
#seaspc 
#Reassign app pool 
$identity = "contososp.powerpivot" 
$appName = "PowerPivot Service Application" 
$appPoolName = "PowerPivot Service App Pool" 
$cred = Get-Credential $identity 
$appPoolAccount = New-SPManagedAccount -Credential $cred 
$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount 
$serviceApp = Get-SPServiceApplication | where {$_.DisplayName -eq $appName} 
$serviceApp.ApplicationPool = $appPool 
$serviceApp.Update() 
#Grant app pool permissions to web applications (add other web apps if needed) 
$webApp = Get-SPWebApplication https://teams.contoso.com 
$webApp.GrantAccessToProcessIdentity("contososp.powerpivot") 
#Grant Excel identity permissions to central admin content database 
$identity = "contososp.excel" 
$centralAdminUrl = "https://contoso-wfe:2013/" 
$webApp = Get-SPWebApplication –IncludeCentralAdministration | where {$_.Url –eq "$centralAdminUrl"} 
$webApp.GrantAccessToProcessIdentity($identity)
#seaspc 
Level Features Install or Configure 
Client only • Interactive PowerPivot 
capabilities within Excel 
• Create data models 
• Excel 2013 
• SharePoint is not required 
PowerPivot 
Server support 
• Interactive PowerPivot 
workbooks in the browser 
(slice, refresh) 
• Excel Services unattended service 
account 
• Analysis Services in SharePoint Mode 
• Register server in Excel Services 
All PowerPivot 
features 
• Access to workbooks as a data 
source from outside the farm 
• Schedule Data refresh 
• PowerPivot Gallery 
• Management Dashboard 
• Deploy PowerPivot for SharePoint 
2013 Add-in 
• Run Configuration Tool
#seaspc 
Configuring Analysis Services in SharePoint mode
#seaspc
#seaspc 
 You must have SQL 
Server Reporting 
Services (SSRS) 
installed into the 
SharePoint farm 
in integrated mode 
 Also requires Analysis 
Services in SharePoint 
mode
#seaspc
#seaspc 
 Install SQL Server Reporting Services in SharePoint mode (SQL 
2012 SP1 or SQL 2014) 
 Install SSRS in Integrated Mode on one or more SharePoint 
servers 
 Install rsSharePoint.msi on all WFE SharePoint servers (found 
on SQL disc)
#seaspc 
Install-SPRSService 
Install-SPRSServiceProxy 
$identity = "contososp.ssrs" 
$appName = "SQL Server Reporting Services Service Application" 
$appPoolName = "SSRS App Pool" 
$databaseName = "ReportingServices“ 
$cred = Get-Credential $identity 
$appPoolAccount = New-SPManagedAccount -Credential $cred 
$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount 
$app = New-SPRSServiceApplication -name $appName –ApplicationPool $appPoolName ` 
-DatabaseName $databaseName 
$proxy = New-SPRSServiceApplicationProxy $appName -ServiceApplication $app 
Get-SPServiceApplicationProxyGroup | where {$_.FriendlyName -eq "[default]"} | ` 
Add-SPServiceApplicationProxyGroupMember -Member $proxy 
$url = "https://teams.contoso.com" 
$webApp = Get-SPWebApplication $url 
$webApp.GrantAccessToProcessIdentity($identity)
#seaspc 
 Once SSRS is installed and provisioned as described, Power 
View functionality is ready to go! 
 Just enable these site collection features: 
 Power View Integration Feature 
 PowerPivot Feature Integration for Site Collections 
 Power View reports can be created from Excel workbooks 
stored in a PowerPivot Gallery
#seaspc 
Testing PowerView
#seaspc 
Provision, Configure, Secure and Troubleshoot… 
Excel 
Services 
Power 
Pivot 
Power 
View
#seaspc 
For more 
information, 
see chapter 17
#seaspc
#seaspc 
Valued Supporters

Mais conteúdo relacionado

Mais de Randy Williams

SQL Server 2012 and SharePoint 2010: Reporting Nirvana
SQL Server 2012 and SharePoint 2010: Reporting NirvanaSQL Server 2012 and SharePoint 2010: Reporting Nirvana
SQL Server 2012 and SharePoint 2010: Reporting NirvanaRandy Williams
 
How governance drives your information and security architecture
How governance drives your information and security architectureHow governance drives your information and security architecture
How governance drives your information and security architectureRandy Williams
 
Sizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the LimitsSizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the LimitsRandy Williams
 
SharePoint Online and the Cloud
SharePoint Online and the CloudSharePoint Online and the Cloud
SharePoint Online and the CloudRandy Williams
 
Enforcing SharePoint Governance
Enforcing SharePoint GovernanceEnforcing SharePoint Governance
Enforcing SharePoint GovernanceRandy Williams
 
Migrating to Office 365
Migrating to Office 365Migrating to Office 365
Migrating to Office 365Randy Williams
 
Governance - how does information & security drive your architecture
Governance - how does information & security drive your architectureGovernance - how does information & security drive your architecture
Governance - how does information & security drive your architectureRandy Williams
 
Understanding SharePoint Governance
Understanding SharePoint GovernanceUnderstanding SharePoint Governance
Understanding SharePoint GovernanceRandy Williams
 
Guiding a Successful SharePoint Implementation
Guiding a Successful SharePoint ImplementationGuiding a Successful SharePoint Implementation
Guiding a Successful SharePoint ImplementationRandy Williams
 
Plugging holes in your SharePoint 2010 disaster recovery strategy
Plugging holes in your SharePoint 2010 disaster recovery strategyPlugging holes in your SharePoint 2010 disaster recovery strategy
Plugging holes in your SharePoint 2010 disaster recovery strategyRandy Williams
 
Spicing up SharePoint web parts
Spicing up SharePoint web partsSpicing up SharePoint web parts
Spicing up SharePoint web partsRandy Williams
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsRandy Williams
 

Mais de Randy Williams (13)

SQL Server 2012 and SharePoint 2010: Reporting Nirvana
SQL Server 2012 and SharePoint 2010: Reporting NirvanaSQL Server 2012 and SharePoint 2010: Reporting Nirvana
SQL Server 2012 and SharePoint 2010: Reporting Nirvana
 
How governance drives your information and security architecture
How governance drives your information and security architectureHow governance drives your information and security architecture
How governance drives your information and security architecture
 
Sizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the LimitsSizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the Limits
 
SharePoint Online and the Cloud
SharePoint Online and the CloudSharePoint Online and the Cloud
SharePoint Online and the Cloud
 
Enforcing SharePoint Governance
Enforcing SharePoint GovernanceEnforcing SharePoint Governance
Enforcing SharePoint Governance
 
Migrating to Office 365
Migrating to Office 365Migrating to Office 365
Migrating to Office 365
 
Governance - how does information & security drive your architecture
Governance - how does information & security drive your architectureGovernance - how does information & security drive your architecture
Governance - how does information & security drive your architecture
 
Understanding SharePoint Governance
Understanding SharePoint GovernanceUnderstanding SharePoint Governance
Understanding SharePoint Governance
 
Why I Use SharePoint
Why I Use SharePointWhy I Use SharePoint
Why I Use SharePoint
 
Guiding a Successful SharePoint Implementation
Guiding a Successful SharePoint ImplementationGuiding a Successful SharePoint Implementation
Guiding a Successful SharePoint Implementation
 
Plugging holes in your SharePoint 2010 disaster recovery strategy
Plugging holes in your SharePoint 2010 disaster recovery strategyPlugging holes in your SharePoint 2010 disaster recovery strategy
Plugging holes in your SharePoint 2010 disaster recovery strategy
 
Spicing up SharePoint web parts
Spicing up SharePoint web partsSpicing up SharePoint web parts
Spicing up SharePoint web parts
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 Solutions
 

Último

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

An IT Pro Guide for Managing SharePoint’s BI Infrastructure

  • 1. S H A R E - T H E - P O I N T CONFERENCES 2014 Randy Williams Yammer.com/ stpevents
  • 3. #seaspc Provision, Configure, Secure and Troubleshoot… Excel Services Power Pivot Power View
  • 4. #seaspc  SharePoint Server 2013 Enterprise  SQL 2012 SP1 or SQL 2014 Enterprise  Used for PowerPivot & Power View  You can use older SQL versions for config, content, service app databases  Note: This session covers on-premises capabilities, not what you’ll find in Power BI in Office 365
  • 7. #seaspc $server = "APP1" $identity = "contososp.excel" $appName = "Excel Services Application" $appPoolName = "Excel Services App Pool" $cred = Get-Credential $identity $appPoolAccount = New-SPManagedAccount -Credential $cred $url = "https://teams.contoso.com" $identity = "contososp.excel" $appName = "Excel Services Application" $appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $identity New-SPExcelServiceApplication -name $appName –ApplicationPool $appPoolName -default Get-SPServiceInstance | where {$_.typename -eq "Excel Calculation Services" -and $_.Parent -like "*$server"} | ` Start-SPServiceInstance Get-SPExcelServiceApplication -identity $appName | New-SPExcelFileLocation -address "https://" -includeChildren $webApp = Get-SPWebApplication $url $webApp.GrantAccessToProcessIdentity($identity) New-SPWOPISuppressionSetting -Extension "XLSX" -Action "view" New-SPWOPISuppressionSetting -Extension "XLS" -Action "view"
  • 8. #seaspc  If you use a unique app pool, make sure you run GrantAccessToProcessIdentity() on web app  If you use Office Web Apps, run New-SPWOPISuppressionSetting to have ECS render  Add/edit default file location when using SSL When troubleshooting, always double check your settings—if that fails, then review ULS logs!
  • 9. #seaspc Understanding the data refresh problem
  • 10.  Can ECS connect to the original data source to refresh worksheet data? #seaspc  Windows auth is the best choice, but when using NTLM you have delegation (double-hop) problems
  • 11. #seaspc  Use Secure Store Service and store credentials to server within an SSS target application  Use one unattended service account or multiple target application IDs  Use Kerberos (KCD)  Use a standard (non-integrated) username & password  Store .ODC (office data connections) within trusted libraries and only allow trusted connected libraries
  • 12. Try to delegate with logged on user’s credentials Use specific App ID from Secure Store Service Use unattended service account in Excel Services global settings #seaspc
  • 13. #seaspc Configuring Excel Services Data Refresh
  • 15. #seaspc PowerPivot is available in  Excel 2013 client application  PowerPivot is a preinstalled add in. Just enable it  Analysis Services in SharePoint mode  This is the server component provided by SQL Server  Excel Services calls into it when needed
  • 16. #seaspc Excel Services is the hub for all PowerPivot features!
  • 17. #seaspc  xVelocity engine used by Excel Services  Run on one or more SQL Servers (2012 SP1 or 2014)  Used when Excel workbooks with embedded data models are run in Excel Services  Embedded data model from Excel workbook is loaded and processed here  This can run alongside relational SQL instances, but for heavy analysis it should run on dedicated server(s)
  • 18.  Install from SQL Server media  Installs as PowerPivot instance name  Grant Excel Services, PowerPivot, SSRS, and Farm accounts admin permissions #seaspc
  • 19. #seaspc  PowerPivot instance runs on a dynamic TCP port by default  Edit C:Program FilesMicrosoft SQL Server MSAS11.POWERPIVOTOLAPConfigmsmdsrv.ini and change to a change to a fixed port  Add this fixed port and SQL Browser (TCP 2382, UDP 1434) to allowed firewall list  Test by using SQL Management Studio from a remote server
  • 20. #seaspc  Add <servername>powerpivot to Excel Services Data Model settings  Name is not case sensitive
  • 21. #seaspc  spPowerPivot.msi  Contains the latest drivers, plus  PowerPivot System Service handles scheduled data refresh  Management dashboard in Central Admin  PowerPivot Gallery (useful with Power View)  PowerPivot Configuration Tool simplifies the provisioning effort  Recommended to install on all SharePoint servers  Download from bit.ly/1upf49J (SQL 2012 SP1) or bit.ly/1qcamtj (SQL 2014)
  • 22. #seaspc Provisions additional PowerPivot capabilities  Scheduled data refresh allows users to configure when their workbooks are refreshed automatically. See bit.ly/1iPVkZg  PowerPivot Management dashboard  PowerPivot Gallery (library template) Not required for basic PowerPivot features
  • 24. #seaspc  Create a separate account for PowerPivot service and configure as default account (top page)  Modify “Create PowerPivot Service Application” to remove database GUID  Application pool assigned for PowerPivot service is not configurable  Doesn’t grant permissions properly for PowerPivot management dashboard
  • 25. #seaspc #Reassign app pool $identity = "contososp.powerpivot" $appName = "PowerPivot Service Application" $appPoolName = "PowerPivot Service App Pool" $cred = Get-Credential $identity $appPoolAccount = New-SPManagedAccount -Credential $cred $appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount $serviceApp = Get-SPServiceApplication | where {$_.DisplayName -eq $appName} $serviceApp.ApplicationPool = $appPool $serviceApp.Update() #Grant app pool permissions to web applications (add other web apps if needed) $webApp = Get-SPWebApplication https://teams.contoso.com $webApp.GrantAccessToProcessIdentity("contososp.powerpivot") #Grant Excel identity permissions to central admin content database $identity = "contososp.excel" $centralAdminUrl = "https://contoso-wfe:2013/" $webApp = Get-SPWebApplication –IncludeCentralAdministration | where {$_.Url –eq "$centralAdminUrl"} $webApp.GrantAccessToProcessIdentity($identity)
  • 26. #seaspc Level Features Install or Configure Client only • Interactive PowerPivot capabilities within Excel • Create data models • Excel 2013 • SharePoint is not required PowerPivot Server support • Interactive PowerPivot workbooks in the browser (slice, refresh) • Excel Services unattended service account • Analysis Services in SharePoint Mode • Register server in Excel Services All PowerPivot features • Access to workbooks as a data source from outside the farm • Schedule Data refresh • PowerPivot Gallery • Management Dashboard • Deploy PowerPivot for SharePoint 2013 Add-in • Run Configuration Tool
  • 27. #seaspc Configuring Analysis Services in SharePoint mode
  • 29. #seaspc  You must have SQL Server Reporting Services (SSRS) installed into the SharePoint farm in integrated mode  Also requires Analysis Services in SharePoint mode
  • 31. #seaspc  Install SQL Server Reporting Services in SharePoint mode (SQL 2012 SP1 or SQL 2014)  Install SSRS in Integrated Mode on one or more SharePoint servers  Install rsSharePoint.msi on all WFE SharePoint servers (found on SQL disc)
  • 32. #seaspc Install-SPRSService Install-SPRSServiceProxy $identity = "contososp.ssrs" $appName = "SQL Server Reporting Services Service Application" $appPoolName = "SSRS App Pool" $databaseName = "ReportingServices“ $cred = Get-Credential $identity $appPoolAccount = New-SPManagedAccount -Credential $cred $appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount $app = New-SPRSServiceApplication -name $appName –ApplicationPool $appPoolName ` -DatabaseName $databaseName $proxy = New-SPRSServiceApplicationProxy $appName -ServiceApplication $app Get-SPServiceApplicationProxyGroup | where {$_.FriendlyName -eq "[default]"} | ` Add-SPServiceApplicationProxyGroupMember -Member $proxy $url = "https://teams.contoso.com" $webApp = Get-SPWebApplication $url $webApp.GrantAccessToProcessIdentity($identity)
  • 33. #seaspc  Once SSRS is installed and provisioned as described, Power View functionality is ready to go!  Just enable these site collection features:  Power View Integration Feature  PowerPivot Feature Integration for Site Collections  Power View reports can be created from Excel workbooks stored in a PowerPivot Gallery
  • 35. #seaspc Provision, Configure, Secure and Troubleshoot… Excel Services Power Pivot Power View
  • 36. #seaspc For more information, see chapter 17