Install ADFS on Azure VM step by step

Installing Office Online Server

Office Online Server system requirements

Office Online Server requires the following to install:    
Office Online Server can't be installed on an Exchange server, SharePoint server, Active Directory domain controller, or any other computer with existing applications installed.

Install Office Online Server prerequisites

To install Office Online Server prerequisites, do the following:
  1. Install .NET Framework 4.5.2.
  2. Install the required operating system features by running the following command:
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, InkandHandwritingServices

Install Office Online Server

To install Office Online Server, do the following on the computer where you want to install it:
Follow the Office Online Server setup wizard, select an installation location and then click Install Now.

 Obtain and import an SSL certificate with the fully qualified domain name(s) (FQDN) of the Office Online Server server. If your organization is configured for split DNS, you only need to configure one FQDN on the certificate. For example, oos.xyz.com. If you have different internal and external FQDNs, you'll need to configure both FQDNs on the certificate.

For example, oos.internal.xyz.com and oos.xyz.com.

Configure DNS records to point the FQDN(s) on the certificate to your Office Online Server server. If you have different DNS servers for internal and external users, you'll need to configure the appropriate FQDN on each server.

Open Windows PowerShell and run the following commands. When you run the commands, replace the example FQDNs and certificate friendly name with your own.

Same internal and external FQDN

New-OfficeWebAppsFarm -InternalURL "https://oos.xyz.com" -ExternalURL "https://oos.xyz.com" -CertificateName "Office Online Server Preview Certificate"

Different internal and external FQDNs

New-OfficeWebAppsFarm -InternalURL "https://oos.internal.xyz.com" -ExternalURL "https://oos.xyz.com" -CertificateName "Office Online Server Preview Certificate"

Configure the Office Online Server endpoint at the Mailbox server level

Open the Exchange Management Shell and run the following command.

Set-MailboxServer MBX -WacDiscoveryEndpoint "https://oos.internal.xyz.com/hosting/discovery"

Restart the MsExchangeOwaAppPool by running the following command.

Restart-WebAppPool MsExchangeOwaAppPool

Configure the Office Online Server endpoint at the organization level

Open the Exchange Management Shell and run the following command:

Set-OrganizationConfig -WacDiscoveryEndpoint "https://oos.internal.xyz.com/hosting/discovery"

Restart the MsExchangeOwaAppPool by running the following command.

Restart-WebAppPool MsExchangeOwaAppPool

Ref: "https://technet.microsoft.com/en-us/library/mt170644(v=exchg.160).aspx"


Comments