Symptoms

Office 365 Application Endpoint upgrade script setup.cmd fails:

Finished installing ASP.NET (4.0.30319.34209) without changing existing web applications to use this version of ASP.Net.
Get-Website : External component has thrown an exception.
At C:\Users\parallels\Desktop\Office365-17.1.3-6.app\O365-Web\PS\utils.ps1:961 char:8
+     if (!(Get-Website | Where-Object { $_.Name -ieq $SiteName }))
+           ~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Get-Website], SEHException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.SEHException,Microsoft.IIs.PowerShell.Provider.GetWebsiteCommand

I.e. upgrade script cannot locate the required website.

Cause

The same website bindings are specified for different IIS websites on the host. It cloud be the same certificate or ip address assigned to different websites.

Resolution

Check the website bindings of all websites and make sure they do not share a certificate or ip address.

Internal content