CU 8 update error

Hi,

I am doing the installation of CU 8 and I face the following 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 'Server\OWA (Default Web Site)' couldn't be found on 'DOMAINController.myCompany.corp'.
   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)".

how can I f

July 24th, 2015 5:39pm

Hi

Can you please provide more info?

Did you update the schema and prepare AD? Are you running any other version of Exchange in your organization?

Does the OWA directory Exist?

Free Windows Admin Tool Kit Click here and download it now
July 25th, 2015 11:59am

Hi,

Please post the answers as Edward asked, and run Get-OwaVirtualDirectory | FL Identity to ensure 'Server\OWA (Default Web Site)" already exists.

If it missing, double check in IIS manager on problematic server. Please run below command to recreate:
New-OwaVirtualDirectory -InternalUrl https://mail.contoso.com/owa -WebSiteName Default Web Site

If this issue persists, try open ADSI Edit, and navigate to "CN=owa (Default Web Site), CN=HTTP, CN=Protocols, CN=ex, CN=Servers, CN=Exchange Administrative Group (FYDIBOHF23SPDLT), CN=Administrative Groups, CN=First Organization, CN=Microsoft Exchange, CN=Services, CN=Configuration, DC=domain, DC=local", check whether there exist an object relevant to OWA. If it missed, please renew it with class "msExchOwaVirtualDirectory", also add relevant attributes to it.
Note: Do not use ADSIedit when you dont know what you are doing. Improper use can damage your Active Directory or other services beyond repair! Also recommend open an case with Microsoft to further troubleshooting.

Thanks

July 26th, 2015 10:53pm

It was totally my bad. I had to fix my OWA and ECP Virtual directories again correctly
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2015 5:39am

Thanks for sharing the feedback. Glad all is working now.
July 27th, 2015 6:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics