Cannot Access Exchange contorl Panel ‘ECP’ in Exchange Server 2013

Ok here we go,

I received a couple of messages on Twitter from Engineers saying they cannot access the ECP page after they finished configuring the Virtual Directories.

Problem:

When trying to access the ECP , it takes you to the OWA page and after providing your username and password it gives you a blank “HTTP 400 Error” page.

Cause:

You missed up your authentications methods my friend

Solution:

make sure that the authentication methods used by OWA and ECP are matching this is done by running the following

> Get-owavirtualdirectory | fl

make sure that you using “Form based Authentication” and “Basic Authentication”

3

do the same with ECP using the following command line

> Get-ECPVirtualDirectory | fl

4

If not then you just need to reconfigure the Authentications on both Virtual Directories, DONNOT use IIS use Exchange Management Shell.

For owa use the following

>Set-owavirtualdirectory -identity “owa <Default Web site>” -FormsAuthentication:$true

use the same also for ECP

>Set-ecpvirtualdirectory -identity “ecp <Default Web site>” -FormsAuthentication:$true

then restart your iis services using the following

>iisreset

once finished try to access your ECP page again and it should work now

if it didn’t make sure to run the same command lines but using “owa <Exchange Back End>” to make sure that both Default web site and Exchange back end website authentication methods are matching.

Cheers :)

About

Mostafa Tohamey is a Senior Microsoft Unified Communications Specialist working with Microsoft Exchange and Microsoft Lync Server, from Egypt, lives and works in Frankfurt - Germany. Worked Closely with Microsoft Dubai for 3 years designing , building and supporting Exchange and Lync Infrastructures. A Microsoft Certified ITP in Lync, Exchange and also attended Microsoft Partner Primer Filed Support Engineer T1 Training for Microsoft Lync 2010.

Tagged with: ,
Posted in Exchange 2013
12 comments on “Cannot Access Exchange contorl Panel ‘ECP’ in Exchange Server 2013
  1. SNMP says:

    Thank you saved me a huge amount of work after stuffing up my OWA setttings..

  2. normantech says:

    Hi Mostafa,
    I have serious Exchange issue, hope you can give an helping hand.
    Beisde the error HTTP 400 Bad Request for OWA and ECP, my Exchange Management Shell also not working.
    When I run Exchange Management Shell, I have error message:

    VERBOSE: Connecting to exchange.domain.local.
    New-PSSession : [exchange.domain.local] Connecting to remote server exchange.domain.local failed with the following error
    message :
    Bad Request

    Bad Request – Invalid Hostname
    HTTP Error 400. The request hostname is invalid.

    [Server=EXCH-SVR01,RequestId=4bde48ea-bb4e-4fc3-bafd-fa1b5ee5e862,TimeStamp=9/14/2013 12:09:04 AM] For more
    information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI “$connectionUri” -ConfigurationName Microsoft.Excha …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
    gTransportException
    + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.:

    Please help me. Thanks

    Normantech

    • Lyncdude says:

      Hi mate,

      Did you try to test connect to the owa or ecp from the IIS?

      Also regarding the EMS problem, try to check that in the IIS under the default website binding is configured correctly.
      If binding exist then delete the hostname from it, if there is no binding create one using HTTP and all unassigned for the IP-option.

      I think that there is a problem with your IIS.

  3. Ibrahim says:

    use the following URL to access the Exchange ECP

    https://servername/ecp/?ExchClientVer=15
    Regards
    Ibrahim Mahmoud
    ebrahim_mahmoud@yahoo.com

  4. Andy says:

    Issued the Set-owavirtualdirectory -identity “owa ” -FormAuthentication:$true, and received error: The operation couldn’t be performed because object ‘mailserver.com\owa ‘ couldn’t be found on
    ‘domaincontrollerserver.com’.

    What am I doing wrong? Your suggestions will be appreciated.

    Thank you,
    Andy

  5. John says:

    typo should be formsAuthentication:$true

  6. Ahmed says:

    Issued the Set-owavirtualdirectory -identity “owa ” -FormAuthentication:$true, and received error: The operation couldn’t be performed because object ‘mailserver.com\owa ‘ couldn’t be found on
    ‘domaincontrollerserver.com’.

    What am I doing wrong? Your suggestions will be appreciated.

  7. Selim Unsal says:

    Hello, I had same issue when I have change auth. settings in ECP and now I am not able sign in eco anymore.

    I have issued above commands but i got error as below

    P.S. My DC and exchange are on different servers

    The operation couldn’t be performed because object ‘EXCH.karavan.local\owa ‘ couldn’t be found on
    ‘DC1.karavan.local’.
    + CategoryInfo : NotSpecified: (:) [Set-OwaVirtualDirectory], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=EXCH,RequestId=eafb6718-0596-4bb0-9599-df59b1f8af42,TimeStamp=3/2/2015 10:59:04
    AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 6C4EEA59,Microsoft.Exchange.Management.SystemConfig
    urationTasks.SetOwaVirtualDirectory
    + PSComputerName : exch.karavan.local

    Thank you.

  8. Bris_SBS says:

    Hi, we are migrating from Exchange 2007 on SBS 2008 to Exchange 2013 on WS2012R2 and after installing CAS amd MBS on same server we have lost access to ECP.

    We get redirected to https://localhost/owa/auth.owa.

    When I checked the permissions above it is:
    BasicAuthentication : False
    WindowsAuthentication : True
    DigestAuthentication : False
    FormsAuthentication : False
    but when I try to reset the permissions via Exchange PS on the new server it redirects to SBS server and fails.

    How do I force Exchange PS to make the changes to local server?

    Regards,
    PS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Follow me on Twitter
Contact me
contact@lyncdude.net
UComs Today

UComs Today - A blog exploring all things Microsoft Unified Communications

UC Sorted

Skype for Business Blog

UCRyan

Notes to Myself Shared For Everyone

NorthernUC

The World of Lync 2010 & Lync 2013

Julian Frank's Blog

Some Random Thoughts You May Like

TechOnTip Weblog

Run book for Technocrats

JC's Blog-O-Gibberish

Microsoft Lync and Exchange info, and things I can't remember

Just a Lync Guy

Guy Bachar's IT blog

dmunified

UC and beyond

Mastering Lync

Yet another Lync blog but this one by Masters & MVP's

UC Ninjas

By the UC Community, for the UC Community!

ariprotheroe

Random collection of thoughts that are more than 140 characters

EighTwOne (821)

If you can't explain it simply, you don't understand it well enough.

All About Skype for Business, Lync and Unified Communication

Hany George's Blog

All About Skype for Business, Lync and Unified Communication

VoIPNorm's Unified Communications Blog

All About Skype for Business, Lync and Unified Communication

All About Skype for Business, Lync and Unified Communication

Follow

Get every new post delivered to your Inbox.

Join 41 other followers

%d bloggers like this: