[Migrated from MSDN Exchange Dev] Cant access ecp with FormsAuthentication

Joyce Shen - MSFT 16,661 Reputation points
2020-11-17T05:30:50.27+00:00

[Note] This thread was originally posted on MSDN. As the MSDN Exchange Dev forum mainly focuses on developing issues and the TechNet Exchange forums for general questions have been locked down, we manually migrated this one to Microsoft Q&A platform to continue the troubleshooting.

[MSDN thread link] Cant access ecp with FormsAuthentication

i have a Exchange 2016 Server only for administration because all my Mailboxes are in Exchange Online.

The Exchange 2016 exist for like 6 Months.
Today i got the problem that i cannnot access the ecp of my Exchange 2016.

I search already a lot in internet but i can not find a solution for me.

If i try to access the ecp i get first the Login page. After i put my username and password in, i get Error 500.
If i use WindowsAuthentication instead of FormsAuthentication it works.

I already recreate the OWA and ECP VirtualDirectory:
https://theitbros.com/recreate-owa-ecp-virtual-directories-exchange-server-2016/

Have anyone an idea?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,599 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,661 Reputation points
    2020-11-17T05:32:51.447+00:00

    Hi,

    What's the CU version of your Exchange 2016 server? If you are not in the latest CU version, you could try uptating it then access OWA and ECP again.

    Please provide the complete error information or the screenshot of your issue here.

    Use the command below to check if Authentication Settings for both Virtual Directories ECP and OWA are identical

    Get-EcpVirtualDirectory | fl identity, *url*, *auth*  
    Get-OwaVirtualDirectory | fl identity, *url*, *auth*  
    

    We could also check the application log to get any related error information when we failed login OWA or ECP.

    The thread below discusses about the similar issue as yours:

    Exchange 2016 - Cannot Access OWA or ECP using Forms Authentication?

    And I also found a KB here, which introduces the configuration like yours.

    Cannot access Outlook on the Web or the EAC after you re-create the "owa" or "ECP" virtual directory on an Exchange Server Mailbox server


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
     

    0 comments No comments

  2. Max R 1 Reputation point
    2020-11-17T08:32:29.28+00:00

    Hi,

    thank you for repy.
    I can not see any error in the application log after the login in ecp.
    Both links i already found and try the solitions but it dident work.

    Here are the Configs:
    40371-2.jpg

    40364-1.jpg


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.