[Step by Step] Installing and Configuring Office Online Server on Windows Server 2016 for Exchange 2016

Office Online Server (OOS) is successor of Office Web Apps Server (OWA), which allows organizations to deliver browser-based versions of Word, PowerPoint, Excel and OneNote, among other capabilities. Microsoft recognizes that many organizations still value running server products on-premises for a variety of reasons. Just want to update over here, Office Web Apps Server is not supportable for Windows Server 2016.

OOS scales well for your enterprise whether you have 100 employees or 100,000. The architecture enables one OOS farm to serve multiple SharePoint, Exchange and Skype for Business instances. OOS is designed to work with SharePoint Server 2016, Exchange Server 2016 and Skype for Business Server 2015. It is also backwards compatible with SharePoint Server 2013, Lync Server 2013 and, in some scenarios, with Exchange Server 2013. You can also integrate other products with OOS through our public API.

Today, we are releasing our first significant update to Office Online Server that includes:

  • Performance improvements to co-authoring in Word Online.
  • Support for embedded Power View sheets in Excel Online.
  • Improvements when working with tables in Word Online and PowerPoint Online, including better drag-and-drop support.
  • Support for showing spelling errors inline in the PowerPoint editor.
  • Improved picture resizing in Word Online.
  • Copy and paste improvements in PowerPoint Online.
  • Support for shapes in Excel Online viewer.
  • Significant improvements for users that rely on assistive technologies—HTML markup updated to more fully support W3C accessibility standards.

So, the question will be how can I get Office Online Server. The answer would be you need to get download it from your Volume License Service Center. Customers with a Volume Licensing account can download Office Online Server from the Volume License Servicing Center at no cost and will have view-only functionality, which includes PowerPoint sharing in Skype for Business.

Lab Environment:

Here is the architecture I am using for my Lab environment of OOS installation and configuration for Exchange 2016

Role HostName Server OS
Active Directory with Certificate Authority WS2K16DC Windows Server 2016
Exchange Server 2016 WS2K16EXG Windows Server 2016
Office Online Server WS2K16OWA Windows Server 2016
Skype For Business 2015 (Standalone) WS2K16SFB Windows Server 2016

Installing Prerequisites:

Before installing the OOS, we need to install the pre-requisites. Below is the Windows feature that are mandatory to install for the OOS in Windows Server 2016.

Install-WindowsFeature Web-Server, Web-Mgmt-Tools, Web-Mgmt-Console, Web-WebServer, Web-Common-Http, Web-Default-Doc, Web-Static-Content, Web-Performance, Web-Stat-Compression, Web-Dyn-Compression, Web-Security, Web-Filtering, Web-Windows-Auth, Web-App-Dev, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Includes, Windows-Identity-Foundation

 Installing OOS:

After the installation of Windows Features, now it’s time to install the OOS. To install OOS mount the download DVD from  Volume License Service Center, and execute it.

Once the DVD is executed, it will prepare the necessary files that are required for the installation.

Once the preparation of files is complete, Check on EULA and click on ‘Continue’.

On the ‘File Location’ provide the path where OOS is needed to be installed and click on ‘Install Now’.

It will take around 10-15 minutes depending upon the specs of hardware to get complete the installation.

Once the installation is complete, click on ‘Close’.

Configuring OOS:

Unlike other application, it was quite easy for us to install OOS. Now the time is to configure it. Configuring OOS only contains the management of the certificate. Hence if your machine is in the domain and you just want the feature of OOS within your private intranet, it’s okay to use Local Certificate Authority (CA). But if you want to use it on the External organization too, you need to have public SSL. For my demo lab, I just needed private certificate, hence created the one using Local CA.

To create the local certificate, Open IIS Manger-> Expand your hostname and open ‘Server Certificates’.

On the ‘Server Certificates’ right side at Action Panel, click on ‘Create Domain Certificate’.

A new window will get open, Provide the detail of Certificate on this window. The most important thing over here is, on the ‘Common Name’ you need to provide FQDN of your server. Else the certificate will not be valid and trusted. ( I have faced few problems year back with this issues, so sharing my experience on it).

On ‘Online Certificate Authority’, Select the Certificate Authority server and provide the ‘Friendly Name’ this could be anything and click on ‘Finish’.

Now you can see your newly certificate on you ‘Server Certificates’.

To Configure the OOS, we just need to assign the newly created certificate for the OOS Farm with below cmdlet.

PS C:\Users\Administrator>New-OfficeWebAppsFarm -InternalURL "https://WS2K16OWA.pdhewaju.com.np" -ExternalURL "https://WS2K16OWA.pdhewaju.com.np" -CertificateName "OOS Cert"

And now our OOS Server is installed and configured completely to integrate with other application like SharePoint, Exchange and Skype for Business.

Configuring OOS for Exchange 2016:

Configuring OOS itself is not worth unless we integrate it with any other application like SharePoint, Exchange and Skype for Business. Over here I will sharing my knowledge on how we can integrate OOS with Exchange 2016, also had share how we can troubleshoot few errors.

To configure OOS for Exchange 2016, open Exchange PowerShell and run below cmdlet to active WAC Discovery Endpoint. Basically, the link for the WAC Discovery Endpoint will be ‘https://<FQDN of OOS>/hosting/discovery’

[PS] C:\Windows\System32>Set-MailboxServer WS2K16EXG -WacDiscoveryEndpoint "https://WS2K16OWA.pdhewaju.com.np/hosting/discovery"
[PS] C:\Windows\System32>Restart-WebAppPool MsExchangeOwaAppPool

After configuration of WAC Discovery Endpoint for the Mailboxes, we need to configure it for the organization too. To configure WAC Discovery Endpoint for the Organization use below cmdlet.

[PS] C:\Windows\System32>Set-OrganizationConfig -WacDiscoveryEndpoint "https://WS2K16OWA.pdhewaju.com.np/hosting/discovery"
[PS] C:\Windows\System32>Restart-WebAppPool MsExchangeOwaAppPool

And it is all to bind the Office Online Server with Exchange Server 2016. Now let us move for the testing of the configuration.

Testing:

For the testing purpose, I have created two email address

demo@pdhewaju.com.np &

dm01@pdhewaju.com.np

Over here I have attached a Word Document on an email and send it to the DM01 to check it. When I clicked on the dropdown of the attachment document, I can see two options ‘View’ and ‘Download’. This means my configuration is working.

Once you click on ‘View’, you document will start to get open on Word Online which has been hosted by OOS Server.

But sometime you might get this kind of error ‘Sorry, there was a problem and we can’t open this document. If this happens again, try opening the document in Microsoft Word.’  To fix this error, get to this blog where I have posted the resolution for problem like this.

If everything goes right, you will be able to read and edit the document.

During the Edit of the document you might face this issue ‘Sorry, you don’t have a license to edit document with Word Online. Please get in touch with your helpdesk’. If this kind of error appears, please follow the instruction on this blog to resolve it.

Similarly, you can edit and view other office documents too like PowerPoint and Excel.

I hope this was the easy configuration for the integration of Office Online Server with Exchange Server 2016. Please keep commenting for any issue you do have on this scenario. 🙂

18 Comments

Add a Comment

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.