With Exchange Server 2013, there are certain scenarios wherein we might face issues to access Outlook Web Apps and Exchange Admin Center. This might be due to lack of permission or invalid configuration of Exchange Server 2013.
And for these kind of errors, there are certain remedies that can be followed to resolve.
We faced such issues after re-installing Exchange Sever 2013 on a server. After spending few hours, we've taken various steps from different sources to resolve the errors, And here in this article, the possible solutions are specified that can be applied to resolve it.
Service account that is being used for administrating Exchange Server, should be member of "Organization Management", "Records Management" and "Recipient Management" groups. To check this, run below command in Exchange Management Shell.
If, Exchange Admin user account is not in results, then, just add Exchange Admin account in above mentioned groups in Active Directory.
Open your ECP/OWA URL in browser to verify whether issue is resolved or not. If not, then, proceed further with below steps.
Check that OWA and ECP Application Pools are running on .NET Framework v4.0. It may be incomplete installation of framework that causes the error.
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i and then restart IIS.
Error should get resoled now, if not then follow solution -3 as below.
Login to your Exchange 2013 CAS server.
Start the Exchange Management Shell.
Navigate to Exchange 2013 binaries location, for example:"C:\Program Files\Microsoft\Exchange Server\V15\Bin".
Execute the UpdateCas.ps1 PowerShell script to rebuild OWA interface.
Now, execute UpdateConfigFiles.ps1 PowerShell script. [It is recommended to execute this PowerShell script after installing latest cumulative update of Microsoft Exchange 2013].
Ok, now, it's time to check whether the error is resolved or not. If you are still facing the error then follow the below steps.
For detailed information on canary data and for guidelines to delete canary data, kindly refer Microsoft Article.
Now, if you are still struggling with the errors, then, you can proceed with next step, re-creating AD schema and system mailbox attributes.
This is a good Microsoft Article with detailed explanation and steps to re-create AD schema and system mailbox attribute.
Next step is to proceed with creating new virtual directories, if you are still struggling with the errors.
Now, it's time to create new virtual directories for ECP and for OWA. So, as first step, we will remove ECP virtual directories with below command in Exchange Management Shell.
Remove-EcpVirtualDirectory -Identity "BRExchange1\ecp (Default Web Site)"
Remove-EcpVirtualDirectory -Identity "BRExchange2\ecp (exchange back end)"
Now, we will create new virtual directories with below command. Here we have to specify internal and external URL for ECP.
New-EcpVirtualDirectory -Server BRExchange1 -InternalUrl "https://BRExchange1.mydomain.com/ecp" -ExternalUrl "https://ecp.mydomain.com" -WebSiteName "Default Web Site"
New-EcpVirtualDirectory -Server BRExchange2 -InternalUrl "https://BRExchange2.mydomain.com/ecp" -ExternalUrl "https://ecp.mydomain.com" -WebSiteName "Exchange Back End"
In second step, we will remove OWA virtual directories as below. Below steps is only required if your facing above error while opening mailbox.
Remove-OwaVirtualDirectory -Identity "BRExchange1\owa (Default Web Site)"
Remove-OwaVirtualDirectory -Identity "BREXchange2\owa (exchange back end)"
Now, we will create new virtual directories with below command. Here we have to specify internal and external URL for OWA.
New-OwaVirtualDirectory -Server BRExchange1 -InternalUrl "https://BRExchange1.mydomain.com/owa" -ExternalUrl "https://mail.mydomain.com/owa" -WebSiteName "Default Web Site"
New-OwaVirtualDirectory -Server BRExchange2 -InternalUrl "https://BRExchange2.mydomain.com/owa" -ExternalUrl "https://mail.mydomain.com/owa" -WebSiteName "Default Web Site"
Hope the possible solutions listed here help you out to resolve the Exchange 2013 - EAC/OWA errors.
How to Clear cache in SharePoint Designer?