Configuring Office Web Apps server for SharePoint 2013

This is the last step in setting up SharePoint 2013 server: Configuring Office Web Apps server for SharePoint 2013

1. Download Office Web Apps

2. Install prerequisites 
Windows Server 2008 R2 Service Pack1 (But always refer to the MS KB, depends on the office web apps server, you may require to update your server to the latest service pack)
.Net Framework 4.5
Install powershell 3.0
Platform update for Windows Server 2008 R2

3. Open windows Powershell (Before running make sure that execute Powershell scripts are set to unrestricted) if it isn’t. Please follow below PS commands:

From the PS window run   get-executionpolicy
If the output is    Restricted

Again type set-executionpolicy unrestricted

4.  Import-Module ServerManager

5.  Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support

After running above PS scripts go to server roles and features make sure that all prerequisites are installed correctly.

6. On Office WebApps Server run below commands

Step 1 Create the Office Web Apps Server farm
New-OfficeWebAppsFarm -InternalURL [OWAServerName] -AllowHttp [-EditingEnabled]

Step 2 Verify that the Office Web Apps Server farm was created successfully
http:// [OWAServerName] /hosting/discovery

7.  On SharePoint Server run below commands

Step 1 Open SharePoint 2013 Management Shell as Administrator
New-SPWOPIBinding -ServerName [OWAServerName] –AllowHTTP [Web Application Open Plateform Interface]

Step 2 Get Zone

Step 3 Change the Zone to use http
Set-SPWOPIZone -zone internal-http

Step 4 Check the Zone again

Step 5 Change the AllowOAuthOverHttp setting in SharePoint 2013 to True

If this command returns False, run the following commands to set this to True.
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
Run the following command again to verify that the AllowOAuthOverHttp setting is now set to True.


One thought on “Configuring Office Web Apps server for SharePoint 2013

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.