Techieshelp.com

Cannot Login To Exchange 2013 ECP After New Install

If you have just installed Exchange 2013 on Server 2012, one of the first things you will do is try and log-in into the now ECP to start configuring Exchange 2013. I cam across an iss that when you try to log into the ECP you get the error below.

 

Server Error in ‘/owa’ Application.
——————————————————————————–
The Active Directory user wasn’t found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The Active Directory user wasn’t found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ObjectNotFoundException: The Active Directory user wasn’t found.]
Microsoft.Exchange.Clients.Owa2.Server.Core.OwaIdentity.CreateExchangePrincipal() +1118
Microsoft.Exchange.Clients.Owa2.Server.Core.UserContext.Load(OwaIdentity logonIdentity, OwaIdentity mailboxIdentity) +590
Microsoft.Exchange.Clients.Owa2.Server.Core.UserContextManager.CreateUserContext(HttpContext httpContext, UserContextKey userContextKey, ClientSecurityContext overrideClientSecurityContext, UserContext& userContext) +776
Microsoft.Exchange.Clients.Owa2.Server.Core.UserContextManager.AquireUserContext(HttpContext httpContext, ClientSecurityContext overrideClientSecurityContext) +229
Microsoft.Exchange.Clients.Owa2.Server.Core.UserContextManager.GetUserContext(HttpContext httpContext, Boolean create) +118
Microsoft.Exchange.Clients.Owa2.Server.Core.RequestDispatcher.InternalDispatchRequest(RequestContext requestContext) +587
Microsoft.Exchange.Clients.Owa2.Server.Core.RequestDispatcher.DispatchRequest(RequestContext requestContext) +297
Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e) +352
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165——————————————————————————–
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

After some digging around I worked out that this issue is because the administrator account that you are logging in as did not have a mailbox created and attached to it as it should during the Exchange 2013 installation. To fix this issue we run the commands below to create a mailbox for the administrator.

enable-mailbox -identity administrator

OR the account you were trying to log into the ECP/EAC as.

Then confirm in Active Directory that the account that yuo have attached the mailbox to is a member of the Exchange Organization Managment group.
You may need to reboot the server for these changes to take place, this wil resolve the issueo of not being able to log into the Exchange 2013 EAC.