the CU20 update fails in Exchange 2013

i am having problems installing the cu20 update on Echange Server 2013. it gives me the following error.
Error:
The following error was generated when "$error.Clear();
          $FEOWAVdirIdentity = $RoleNetBIOSName + "\OWA (Default Web Site)";
          $FEOWAVdir = get-OwaVirtualDirectory -Identity $FEOWAVdirIdentity -DomainController $RoleDomainController;

          if ($FEOWAVdir -ne $null)
          {
            Set-OwaVirtualDirectory -Identity $FEOWAVdir.Identity -ExternalUrl $FEOWAVdir.ExternalUrl -InternalUrl $FEOWAVdir.InternalUrl -ExternalAuthenticationMethods $FEOWAVdir.ExternalAuthenticationMethods -BasicAuthentication ([Convert]::ToBoolean($FEOWAVdir.BasicAuthentication)) -WindowsAuthentication ([Convert]::ToBoolean($FEOWAVdir.WindowsAuthentication)) -DigestAuthentication ([Convert]::ToBoolean($FEOWAVdir.DigestAuthentication)) -FormsAuthentication ([Convert]::ToBoolean($FEOWAVdir.FormsAuthentication)) -LiveIdAuthentication ([Convert]::ToBoolean($FEOWAVdir.LiveIdAuthentication)) -OAuthAuthentication ([Convert]::ToBoolean($FEOWAVdir.OAuthAuthentication)) -AdfsAuthentication ([Convert]::ToBoolean($FEOWAVdir.AdfsAuthentication));
          }
        " was run: "Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: The operation couldn't be performed because object 'MAIL17\OWA (Default Web Site)' couldn't be found on 'Server17.lampandlight.net'.
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.GetObjectWithIdentityTaskBase`2.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
Austin WitmerAsked:
Who is Participating?
 
timgreen7077Connect With a Mentor Exchange EngineerCommented:
the text shows the following on the error:

"The operation couldn't be performed because object 'MAIL17\OWA (Default Web Site) couldn't be found..."

seems the OWA virtual directory don't exist. confirm it exist or recreate it and see if that fixes your issue.
0
 
Valentina PerezConnect With a Mentor Exchange ServersCommented:
HI Austin,

You need to create the OWA virtual directory, run the following command:

New-OwaVirtualDirectory -InternalUrl 'https://Server17.domain.com/owa' -WebSiteName 'Default Web Site'

Run again the setup.

Regards
Valentina
0
 
Valentina PerezExchange ServersCommented:
No more replies from the author, enough information to confirm that the issue is solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.